hi ng,
im trying to cross - compile uclinux against uclibc.
but it seems, that the i'm missing uclibc-includes in
-I... i'm not sure what is wrong and what should i
modify to be able to include sys/socket.h...
could someone give me any hint?
thanx
greetings
magda
the error is:
make[3]: Entering directory
`/ext3/p/uClinux-dist/linux-2.4.x/arch/h8300/lib'
h8300-elf-gcc -fno-builtin -DNO_CACHE -D__KERNEL__
-I/ext3/p/uClinux-dist/linux-2.4.x/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O1 -g
-fno-strict-aliasing -fno-common -pipe -DNO_MM
-DNO_FPU -DNO_CACHE -ms -mint32 -D__ELF__ -DNO_FORGET
-DUTS_SYSNAME="uClinux" -D__linux__ -DTARGET=edosk2674
-nostdinc -iwithprefix include
-DKBUILD_BASENAME=checksum -c -o checksum.o
checksum.c
In file included from
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/big_endian.h:11,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/asm/byteorder.h:11,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/checksum.h:30,
from checksum.c:34:
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:
In function `__fswab64':
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:202:
warning: right shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:203:
warning: left shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:204:
warning: left shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:
In function `__swab64p':
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:211:
warning: left shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:211:
warning: left shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:211:
warning: right shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:211:
warning: right shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:
In function `__swab64s':
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:215:
warning: left shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:215:
warning: left shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:215:
warning: right shift count >= width of type
/ext3/p/uClinux-dist/linux-2.4.x/include/linux/byteorder/swab.h:215:
warning: right shift count >= width of type
In file included from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/constants.h:53,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/tsnmap.h:45,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/structs.h:93,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sock.h:53,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/ip.h:39,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/checksum.h:31,
from checksum.c:34:
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/user.h:57:24:
sys/socket.h: No such file or directory
In file included from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/constants.h:53,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/tsnmap.h:45,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/structs.h:93,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sock.h:53,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/ip.h:39,
from
/ext3/p/uClinux-dist/linux-2.4.x/include/net/checksum.h:31,
from checksum.c:34:
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/user.h:
At top level:
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/user.h:234:
field `spc_aaddr' has incomplete type
/ext3/p/uClinux-dist/linux-2.4.x/include/net/sctp/user.h:238:
confused by earlier errors, bailing out
make[3]: *** [checksum.o] Error 1
make[3]: Leaving directory
`/ext3/p/uClinux-dist/linux-2.4.x/arch/h8300/lib'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory
`/ext3/p/uClinux-dist/linux-2.4.x/arch/h8300/lib'
make[1]: *** [_dir_arch/h8300/lib] Error 2
make[1]: Leaving directory
`/ext3/p/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1
--
With your feet on the air and your head on the ground
Try this trick and spin it, yeah
Your head will collapse if there's nothing in it
And you'll ask yourself
Where is my mind?
Where is my mind?
Where is my mind?
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev