[uClibc]Compile Failure

tom at ceisystems.com tom at ceisystems.com
Mon Jun 2 03:21:59 UTC 2003


Hello all,
	I may be _very_ wrong about this, because I have not used LFS
for quite some time, but I believe there is an entire section dedicated
to making the LFS system working with uClibc.  You'd really have to dig
around the LFS site(s).  It could be a BLFS, or something like
that...again...I haven't used it for a long time.

Thomas Cameron
CEI Systems, Inc.


> -----Original Message-----
> From: torsten [mailto:torsten at howard.cc] 
> Sent: Saturday, May 31, 2003 2:26 AM
> To: uclibc at uclibc.org
> Subject: [uClibc]Compile Failure
> 
> 
> Hello All,
> 
> I'm a newbie, and new to this list.  I have a compile failure with
> uClibc.  I'm currently using a "LFS v4.0" Linux From Scratch
> distribution.  http://www.linuxfromscratch.org
> 
> Kernel 2.4.18-wolk3.7
> glibc 2.2.5
> 
> My intention is to try and build a workstation, using LFS, but
> replacing glibc with uClibc (just for fun).
> 
> The closest I can  come up with a similarity is
> http://216.239.51.100/search?q=cache:b10aon7WvpAJ:https://list
> man.redhat.com/pipermail/redhat-list/2003-February/167692.html
> +parse+error+before+%22ATTRIB_NORET%22&hl=en&ie=UTF-8
> 
> Thanks,
> Torsten
> ===============================================================
> kernel.h:230
> 
> extern void __out_of_line_bug(int line) ATTRIB_NORET;
> 
> ===============================================================
> strip -x -R .note -R .comment _newselect.o
> gcc  -Wall -Wstrict-prototypes -Wno-trigraphs 
> -fno-strict-aliasing  -mpreferred-stack-boundary=2 
> -falign-jumps=0 -falign-loops=0 -Os    -march=pentium3 
> -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. 
> -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -DNDEBUG 
> -fPIC -DL_flock syscalls.c -c -o flock.o
> strip -x -R .note -R .comment flock.o
> gcc  -Wall -Wstrict-prototypes -Wno-trigraphs 
> -fno-strict-aliasing  -mpreferred-stack-boundary=2 
> -falign-jumps=0 -falign-loops=0 -Os    -march=pentium3 
> -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. 
> -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -DNDEBUG 
> -fPIC -DL___libc_msync syscalls.c -c -o __libc_msync.o
> strip -x -R .note -R .comment __libc_msync.o
> gcc  -Wall -Wstrict-prototypes -Wno-trigraphs 
> -fno-strict-aliasing  -mpreferred-stack-boundary=2 
> -falign-jumps=0 -falign-loops=0 -Os    -march=pentium3 
> -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. 
> -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -DNDEBUG 
> -fPIC -DL_readv syscalls.c -c -o readv.o
> strip -x -R .note -R .comment readv.o
> gcc  -Wall -Wstrict-prototypes -Wno-trigraphs 
> -fno-strict-aliasing  -mpreferred-stack-boundary=2 
> -falign-jumps=0 -falign-loops=0 -Os    -march=pentium3 
> -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. 
> -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -DNDEBUG 
> -fPIC -DL_writev syscalls.c -c -o writev.o
> strip -x -R .note -R .comment writev.o
> gcc  -Wall -Wstrict-prototypes -Wno-trigraphs 
> -fno-strict-aliasing  -mpreferred-stack-boundary=2 
> -falign-jumps=0 -falign-loops=0 -Os    -march=pentium3 
> -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. 
> -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -DNDEBUG 
> -fPIC -DL___syscall_getsid syscalls.c -c -o __syscall_getsid.o
> strip -x -R .note -R .comment __syscall_getsid.o
> gcc  -Wall -Wstrict-prototypes -Wno-trigraphs 
> -fno-strict-aliasing  -mpreferred-stack-boundary=2 
> -falign-jumps=0 -falign-loops=0 -Os    -march=pentium3 
> -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. 
> -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -DNDEBUG 
> -fPIC -DL_fdatasync syscalls.c -c -o fdatasync.o
> strip -x -R .note -R .comment fdatasync.o
> gcc  -Wall -Wstrict-prototypes -Wno-trigraphs 
> -fno-strict-aliasing  -mpreferred-stack-boundary=2 
> -falign-jumps=0 -falign-loops=0 -Os    -march=pentium3 
> -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. 
> -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -DNDEBUG 
> -fPIC -DL__sysctl syscalls.c -c -o _sysctl.o
> In file included from ../../../../include/linux/sysctl.h:27,
>                  from syscalls.c:1445:
> ./../../../include/linux/kernel.h:230: parse error before 
> "ATTRIB_NORET"
> ./../../../include/linux/kernel.h:230: warning: type defaults 
> to `int' in declaration of `ATTRIB_NORET'
> ./../../../include/linux/kernel.h:230: warning: data 
> definition has no type or storage class
> make[4]: *** [_sysctl.o] Error 1
> make[4]: Leaving directory 
> `/home/torsten/lfs/uClibc-0.9.19/libc/sysdeps/linux/common'
> make[3]: *** [_dir_common] Error 2
> make[3]: Leaving directory 
> `/home/torsten/lfs/uClibc-0.9.19/libc/sysdeps/linux'
> make[2]: *** [_dir_linux] Error 2
> make[2]: Leaving directory 
> `/home/torsten/lfs/uClibc-0.9.19/libc/sysdeps'
> make[1]: *** [_dir_sysdeps] Error 2
> make[1]: Leaving directory `/home/torsten/lfs/uClibc-0.9.19/libc'
> make: *** [_dir_libc] Error 2
> toshy:root:/home/torsten/lfs/uClibc-0.9.19# 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
> 


More information about the uClibc mailing list