[uClibc] first try of gcc 4.0.0 compiling for ppc

Wojciech Kromer wojciech.kromer at dgt.com.pl
Fri Jun 10 13:01:54 UTC 2005


>IIRC this was clearified in the ISO C99 standard to which such a new GCC
>should default to. Maybe that warning/error goes away with -std=c90 or
>something like that. Though, instead of working around you may just fix
>the issue to comply with current standards :)
>
>  
>
OK


next problem with gcc 4.0.0 is :

/opt/uclibc/ppc_4_0_0/build_powerpc_nofpu/staging_dir/bin/powerpc-linux-uclibc-gcc  
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing   
-msoft-float  -fno-builtin -nostdinc -D_LIBC -I../../../../include -I.  
-Os -funit-at-a-time   -isystem 
/opt/uclibc/ppc_4_0_0/build_powerpc_nofpu/staging_dir/lib/gcc/powerpc-linux-uclibc/4.0.0/include 
-DNDEBUG -fpic -c adjtimex.c -o adjtimex.o
adjtimex.c:14: error: '__adjtimex' aliased to undefined symbol 'adjtimex'
adjtimex.c:15: error: 'ntp_adjtime' aliased to undefined symbol 'adjtimex'
make[5]: *** [adjtimex.o] Error 1
make[5]: Leaving directory 
`/opt/uclibc/ppc_4_0_0/toolchain_build_powerpc_nofpu/uClibc/libc/sysdeps/linux/common'
make[4]: *** [common] Error 2
make[4]: Leaving directory 
`/opt/uclibc/ppc_4_0_0/toolchain_build_powerpc_nofpu/uClibc/libc/sysdeps/linux'
make[3]: *** [_dir_linux] Error 2
make[3]: Leaving directory 
`/opt/uclibc/ppc_4_0_0/toolchain_build_powerpc_nofpu/uClibc/libc/sysdeps'
make[2]: *** [_dir_sysdeps] Error 2
make[2]: Leaving directory 
`/opt/uclibc/ppc_4_0_0/toolchain_build_powerpc_nofpu/uClibc/libc'
make[1]: *** [_dir_libc] Błąd 2
make[1]: Leaving directory 
`/opt/uclibc/ppc_4_0_0/toolchain_build_powerpc_nofpu/uClibc'
make: *** 
[/opt/uclibc/ppc_4_0_0/toolchain_build_powerpc_nofpu/uClibc/lib/libc.a] 
Błąd 2



i'm using 2.4.25 kernel headers






More information about the uClibc mailing list