[uCsimm] nope I really am having trouble (uC-src-0.9.2)

From: Andrew Kohlsmith (akohlsmith@benshaw.com)
Date: Sun Sep 24 2000 - 11:19:53 EDT


I'm trying to compile uC-src-0.9.2 (from the distro CD). my build
environment is in /opt/uClinux. I've got /opt/uClinux/include linked ot
/the libC/include directory and altered the makefile to include
/opt/uClinux/include in the include path.

When I type make I get this:
$ make
for i in libns ; do make -C $i; done
make[1]: Entering directory `/opt/uClinux/src/libns'
m68k-pic-coff-gcc -O2 -fomit-frame-pointer -I/opt/uClinux/include
-I../include -DL_writeall serial.c -c -o writeall.o
In file included from /opt/uClinux/include/sys/types.h:4,
                 from /opt/uClinux/include/stdio.h:6,
                 from serial.c:12:
/opt/uClinux/include/gnu/types.h:133: warning: `__FD_SETSIZE' redefined
/opt/uClinux/include/linux/posix_types.h:33: warning: this is the location
of the previous definition
/opt/uClinux/include/gnu/types.h:136: warning: `__NFDBITS' redefined
/opt/uClinux/include/linux/posix_types.h:30: warning: this is the location
of the previous definition
/opt/uClinux/include/gnu/types.h:138: warning: `__FDMASK' redefined
/opt/uClinux/include/linux/posix_types.h:47: warning: this is the location
of the previous definition
/opt/uClinux/include/gnu/types.h:147: warning: `__FD_ZERO' redefined
/opt/uClinux/include/asm/posix_types.h:48: warning: this is the location of
the previous definition
/opt/uClinux/include/gnu/types.h:148: warning: `__FD_SET' redefined
/opt/uClinux/include/asm/posix_types.h:39: warning: this is the location of
the previous definition
/opt/uClinux/include/gnu/types.h:149: warning: `__FD_CLR' redefined
/opt/uClinux/include/asm/posix_types.h:42: warning: this is the location of
the previous definition
/opt/uClinux/include/gnu/types.h:150: warning: `__FD_ISSET' redefined
/opt/uClinux/include/asm/posix_types.h:45: warning: this is the location of
the previous definition
In file included from /opt/uClinux/include/linux/fs.h:12,
                 from serial.c:26:
/opt/uClinux/include/linux/wait.h:4: warning: `WNOHANG' redefined
/opt/uClinux/include/waitflags.h:29: warning: this is the location of the
previous definition
/opt/uClinux/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/opt/uClinux/include/waitflags.h:30: warning: this is the location of the
previous definition
serial.c: In function `writeall':
serial.c:555: structure has no member named `__bits'
make[1]: *** [libns.a(writeall.o)] Error 1
make[1]: Leaving directory `/opt/uClinux/src/libns'
make: *** [all] Error 2

At first I thought the linux-specific links in /opt/uClinux/include were
linking to my build machine's linux directory instead of the uClinux linux
directory, so I redid the links there. Same problem.

Anyone? I feel like an idiot for the triple post to the list but I really
did think I had it figured out. :-)

Regards,
Andrew
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:38 EST