nanogui: cross-compile for mips
Subject:
Re: cross-compile for mips
From:
"Greg Haerr" ####@####.####
Date:
14 Sep 2000 04:20:35 -0000
Message-Id: <09cc01c01e03$5441afa0$15320cd0@gregh>
: 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