[uClibc]compiling problem

Yunus Yucel Altunbicak yunus.altunbicak at eliar.com.tr
Wed Nov 7 15:39:10 UTC 2001


hi all,
i sent a mail for a month ago like this, but i didn't any response, i hope 
anybody response this mail :)
although i have looked for any document about compiling instruction but i 
have not been able to find anything besides README file of uclibc. 
and my problem :(
i want to compile last cvs version of uclibc but get below error message.
could you say me what cause of error and how solve it?

thank you,
yunus
/*****************************************************************************/
m68k-elf-gcc -m68000 -Wall -fno-builtin -nostdinc  -I../../../include 
-I/usr/local/lib/gcc-lib/m68k-elf/2.95.3/include -I. -D_LIBC  
-I/hdd3/Document/uClinux-distribution/linux-2.4.x/include  -DNDEBUG  -c 
__assert.c -o __assert.o
In file included from __assert.c:13:
../../../include/unistd.h:247: parse error before `socklen_t'
../../../include/unistd.h:247: warning: type defaults to `int' in declaration 
of `socklen_t'
../../../include/unistd.h:247: warning: data definition has no type or 
storage class
../../../include/unistd.h:379: parse error before `ualarm'
../../../include/unistd.h:379: parse error before `__value'
../../../include/unistd.h:380: warning: type defaults to `int' in declaration 
of `ualarm'
../../../include/unistd.h:380: warning: data definition has no type or 
storage class
../../../include/unistd.h:384: parse error before `__useconds'
In file included from ../../../include/sys/types.h:132,
                 from ../../../include/stdlib.h:391,
                 from __assert.c:15:
../../../include/time.h:82: parse error before `clockid_t'
../../../include/time.h:82: warning: type defaults to `int' in declaration of 
`clockid_t'
../../../include/time.h:82: warning: data definition has no type or storage 
class
../../../include/time.h:94: parse error before `timer_t'
../../../include/time.h:94: warning: type defaults to `int' in declaration of 
`timer_t'
../../../include/time.h:94: warning: data definition has no type or storage 
class
In file included from ../../../include/sys/types.h:215,
                 from ../../../include/stdlib.h:391,
                 from __assert.c:15:
../../../include/sys/select.h:49: conflicting types for `__fd_mask'
../../../include/bits/types.h:89: previous declaration of `__fd_mask'
make[3]: *** [__assert.o] Error 1
make[3]: Leaving directory `/hdd3/uClibc/libc/misc/assert'
make[2]: *** [_dir_assert] Error 2
make[2]: Leaving directory `/hdd3/uClibc/libc/misc'
make[1]: *** [_dir_misc] Error 2
make[1]: Leaving directory `/hdd3/uClibc/libc'
make: *** [_dir_libc] Error 2





More information about the uClibc mailing list