nanogui: Trouble building Microwindows for MIPS target


Previous by date: 9 Feb 2001 14:49:19 -0000 Re: tcl/tk for nano-X, Alex Holden
Next by date: 9 Feb 2001 14:49:19 -0000 Re: tcl/tk for nano-X, Jordan Crouse
Previous in thread:
Next in thread: 9 Feb 2001 14:49:19 -0000 Re: Trouble building Microwindows for MIPS target, Greg Haerr

Subject: Trouble building Microwindows for MIPS target
From: Scott A McConnell ####@####.####
Date: 9 Feb 2001 14:49:19 -0000
Message-Id: <3A8420E0.77298D54@cotw.com>

I have something messed up in my install of the MIPS compiler tools or
with  microwindows.
Or the build scripts are making an assumption that I am not aware of...

I have an ARM build working fine, I have tried to compare the two but I
can not see any issues.

I get the following type of errors:

In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
                 from scr_fb.c:13:
/usr/include/bits/local_lim.h:27: warning: No include path in which to
find linux/limits.h
scr_fb.c:14: warning: No include path in which to find linux/fb.h
scr_fb.c:15: warning: No include path in which to find linux/kd.h
scr_fb.c:16: warning: No include path in which to find linux/vt.h

..... many others also .....

I am not sure I should even be trying to include those files. Because
when I add:

    INCLUDEDIRS += -I /opt/hardhat/devkit/lsp/mymips/linux/include

to Arch.rules I then get:

In file included from /usr/include/errno.h:36,
                 from winmain.c:12:
/usr/include/bits/errno.h:32: warning: `ECANCELED' redefined
/opt/hardhat/devkit/lsp/mymips/linux/include/asm/errno.h:139: warning:
this is the location of the previous definition

..... many others also .....


Info from make -p

TOP = /opt/hardhat/devkit/mips/5000_le/target/microwin/src
ARCH = LINUX-MIPS
CONFIG = /opt/hardhat/devkit/mips/5000_le/target/microwin/src/config
INCLUDEDIRS =  -I. -I$(TOP)/include

PATH /usr/kerberos/bin:/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin:
/opt/hardhat/devkit/mips/5000_le/bin:
/opt/hardhat/devkit/lsp/mymips/linux

Any thoughts?

Thanks,

Scott


Previous by date: 9 Feb 2001 14:49:19 -0000 Re: tcl/tk for nano-X, Alex Holden
Next by date: 9 Feb 2001 14:49:19 -0000 Re: tcl/tk for nano-X, Jordan Crouse
Previous in thread:
Next in thread: 9 Feb 2001 14:49:19 -0000 Re: Trouble building Microwindows for MIPS target, Greg Haerr


Powered by ezmlm-browse 0.20.