nanogui: cross-compile for mips
Subject:
Re: cross-compile for mips
From:
yi yang ####@####.####
Date:
15 Sep 2000 02:45:18 -0000
Message-Id: <20000915024657.19896.qmail@web509.mail.yahoo.com>
Greg -
Sorry, I still cannot compile it successfully.
I've set FBVGA=N, then added <asm/io.h> in vgaplan4.h,
I also linked
linux-vr/include/asm-mips to /usr/include/asm
The mips_io_port_base error disappeared.
but there are some other errors. The microwindows demo
compiled successfully, but nano-X demo cannot.
the error messages are:
make[2]: *** No rule to make target
`/home/yy/microwin/src/lib/libnano-X.a', needed by
`/home/yy/microwin/src/bin/nanowm'. Stop.
make[1]: *** [subdirs] Error 2
Compiling client.c ...
client.c: In function `GrOpen':
client.c:256: `SOCK_STREAM' undeclared (first use this
function)
client.c:256: (Each undeclared identifier is reported
only once
client.c:256: for each function it appears in.)
make[1]: *** [client.o] Error 1
make[2]: *** No rule to make target
`/home/yy/microwin/src/lib/libnano-X.a', needed by
`/home/yy/microwin/src/bin/demo'. Stop.
make[2]: *** No rule to make target
`/home/yy/microwin/src/lib/libnano-X.a', needed by
`/home/yy/microwin/src/bin/ntest'. Stop.
Compiling sockets.c ...
sockets.c: In function `ConnectToTcpAddr':
sockets.c:110: `SOCK_STREAM' undeclared (first use
this function)
sockets.c:110: (Each undeclared identifier is reported
only once
sockets.c:110: for each function it appears in.)
sockets.c: In function `ListenAtTcpPort':
sockets.c:152: `SOCK_STREAM' undeclared (first use
this function)
make[3]: *** [sockets.o] Error 1
make[2]: *** [subdirs] Error 2
--- Greg Haerr ####@####.#### wrote:
> : Your MIPS kernel port need to supply that
> variable. It is the base
> : address for IO access.
>
> Jun -
> Actually, I don't understand that. This is a
> user mode program,
> not a kernel module. So that symbol won't be
> defined. I think
> the problem is that Yi is trying to compile in the
> FBVGA
> framebuffer driver that requires outb() macros that
> compile
> down (incorrectly, for user mode) into
> mips_io_port_base
> references.
>
> Greg
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/