nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: cross-compile for mips
From: Greg Haerr
Date: Wed, 13 Sep 2000 22:21:52 -0600

: problem. But using LINUX-MIPS, many error messages
: occured.
: the ERROR message is like below:
: 
: /root/microwin/src/lib/libmwdrivers.a(memplan4.o): In
: function `vga_to_vga_blit':
: memplan4.c(.text+0xdd0): undefined reference to
: `mips_io_port_base'


This problem is related to the outb() macro defined in
src/drivers/vgaplan4.h.  The outb macro is being
expanded to a definition that isn't available in glibc,
it seems.  You might want to check the #include
<sys/io.h> or <asm/io.h> in vgaplan4.h, and then
make sure that you have your kernel headers
and particularly the sys or asm /usr/include symlink
setup properly.

Another solution would be to set FBVGA=N
in the config file, which removes the VGA fb driver,
which isn't probably used on your MIPS device anyway.

Regards,

Greg


nanogui@linuxhacker.org