Hi all;

I am trying to compile svn trunk on Gentoo with gcc 4.3.2, but the
compilation fails with the following error:

/bin/sh ./libtool --tag=CC --mode=link
/root/cegcc/build-cegcc/gcc/./gcc/xgcc
-B/root/cegcc/build-cegcc/gcc/./gcc/ -B/opt/cegcc/arm-cegcc/bin/
-B/opt/cegcc/arm-cegcc/lib/ -isystem /opt/cegcc/arm-cegcc/include
-isystem /opt/cegcc/arm-cegcc/sys-include -Wall -g -O2     -o
libssp.la -rpath /opt/cegcc/arm-cegcc/lib -version-info `grep -v '^#'
/root/cegcc/gcc-4.4.0/libssp/libtool-version`  -no-undefined ssp.lo
gets-chk.lo memcpy-chk.lo memmove-chk.lo mempcpy-chk.lo memset-chk.lo
snprintf-chk.lo sprintf-chk.lo stpcpy-chk.lo strcat-chk.lo
strcpy-chk.lo strncat-chk.lo strncpy-chk.lo vsnprintf-chk.lo
vsprintf-chk.lo
libtool: link: /root/cegcc/build-cegcc/gcc/./gcc/xgcc
-B/root/cegcc/build-cegcc/gcc/./gcc/ -B/opt/cegcc/arm-cegcc/bin/
-B/opt/cegcc/arm-cegcc/lib/ -isystem /opt/cegcc/arm-cegcc/include
-isystem /opt/cegcc/arm-cegcc/sys-include -shared  .libs/ssp.o
.libs/gets-chk.o .libs/memcpy-chk.o .libs/memmove-chk.o
.libs/mempcpy-chk.o .libs/memset-chk.o .libs/snprintf-chk.o
.libs/sprintf-chk.o .libs/stpcpy-chk.o .libs/strcat-chk.o
.libs/strcpy-chk.o .libs/strncat-chk.o .libs/strncpy-chk.o
.libs/vsnprintf-chk.o .libs/vsprintf-chk.o      -o .libs/libssp-0.dll
-Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
.libs/libssp.dll.a
Creating library file: .libs/libssp.dll.a
.libs/ssp.o: In function `fail':
/root/cegcc/gcc-4.4.0/libssp/ssp.c:109: undefined reference to `open'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:109: relocation truncated to fit:
ARM_26 against undefined symbol `open'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:128: undefined reference to `write'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:128: relocation truncated to fit:
ARM_26 against undefined symbol `write'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:134: undefined reference to `close'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:134: relocation truncated to fit:
ARM_26 against undefined symbol `close'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:160: undefined reference to `_exit'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:160: relocation truncated to fit:
ARM_26 against undefined symbol `_exit'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:140: undefined reference to `syslog'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:140: relocation truncated to fit:
ARM_26 against undefined symbol `syslog'
.libs/ssp.o: In function `__guard_setup':
/root/cegcc/gcc-4.4.0/libssp/ssp.c:79: undefined reference to `open'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:79: relocation truncated to fit:
ARM_26 against undefined symbol `open'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:82: undefined reference to `read'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:82: relocation truncated to fit:
ARM_26 against undefined symbol `read'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:84: undefined reference to `close'
/root/cegcc/gcc-4.4.0/libssp/ssp.c:84: relocation truncated to fit:
ARM_26 against undefined symbol `close'
.libs/gets-chk.o: In function `__gets_chk':
/root/cegcc/gcc-4.4.0/libssp/gets-chk.c:71: undefined reference to `__getreent'
/root/cegcc/gcc-4.4.0/libssp/gets-chk.c:71: relocation truncated to
fit: ARM_26 against undefined symbol `__getreent'
/opt/cegcc/arm-cegcc/lib/dllcrt1.o:/root/cegcc/newlib/newlib/libc/sys/wince/dllcrt1.S:24:
undefined reference to `_DllMainCRTStartup'
collect2: ld returned 1 exit status
make[3]: *** [libssp.la] Error 1
make[3]: Leaving directory `/root/cegcc/build-cegcc/gcc/arm-cegcc/libssp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/cegcc/build-cegcc/gcc/arm-cegcc/libssp'
make[1]: *** [all-target-libssp] Error 2
make[1]: Leaving directory `/root/cegcc/build-cegcc/gcc'
make: *** [all] Error 2


A quick Google search shows that others experienced similar problems
with no solutions. Any help is appreciated.

Regards.

-- 
İsmail DÖNMEZ

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to