From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Perry To: egcs@egcs.cygnus.com Subject: egcs1.1.2 lnx cross ppc newuser followup Date: Fri, 30 Apr 1999 23:15:00 -0000 Message-ID: <9904021924.AA25430@dogbert> X-SW-Source: 1999-04n/msg00048.html Message-ID: <19990430231500.z0xU3XmTti6T1hQnnWflrOZ9ZUyr6vU64IvfU1RXK3A@z> I tried some advice I got earlier. I recompiled binutils without --with-newlib I added --with-headers instead. I then rebuilt from scratch egcs. I am still getting the following undefined symbols in the following directory during configure: /home/jperry/cross-compile-linux-egcs112-objdir/ppc-rtems-eabi/libiberty Here is config.log from that directory. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:581: checking host system type configure:604: checking build system type configure:630: checking for ppc-rtems-eabi-ar configure:661: checking for ppc-rtems-eabi-ranlib configure:736: checking for gcc configure:813: checking whether we are using GNU C configure:822: /home/jperry/cross-compile-linux-egcs112-objdir/gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gcc/ -E conftest.c configure:837: checking whether /home/jperry/cross-compile-linux-egcs112-objdir /gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gcc/ accepts -g configure:866: checking for POSIXized ISC configure:904: checking for a BSD compatible install configure:963: checking how to run the C preprocessor configure:984: /home/jperry/cross-compile-linux-egcs112-objdir/gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gcc/ -E conftest.c > /dev/null 2>conftest.out configure:1027: checking for sys/file.h configure:1037: /home/jperry/cross-compile-linux-egcs112-objdir/gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gcc/ -E conftest.c > /dev/null 2>conftest.out configure:1027: checking for sys/param.h configure:1037: /home/jperry/cross-compile-linux-egcs112-objdir/gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gcc/ -E conftest.c > /dev/null 2>conftest.out configure:1027: checking for stdlib.h configure:1037: /home/jperry/cross-compile-linux-egcs112-objdir/gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gcc/ -E conftest.c > /dev/null 2>conftest.out configure:1027: checking for string.h configure:1037: /home/jperry/cross-compile-linux-egcs112-objdir/gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gcc/ -E conftest.c > /dev/null 2>conftest.out configure:1027: checking for unistd.h configure:1037: /home/jperry/cross-compile-linux-egcs112-objdir/gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gcc/ -E conftest.c > /dev/null 2>conftest.out configure:1584: checking whether the C compiler (/home/jperry/cross-compile-lin ux-egcs112-objdir/gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gc c/ -g -O2 ) works configure:1598: /home/jperry/cross-compile-linux-egcs112-objdir/gcc/xgcc -B/home/jperry/cross-compile-linux-egcs112-objdir/gcc/ -o conftest -g -O2 conftest.c 1>&5 /usr/local/ppc-rtems-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074 /home/jperry/cross-compile-linux-egcs112-objdir/gcc/libgcc.a(eabi.o)(.got2+0x8) : undefined reference to `__SDATA_START__' /home/jperry/cross-compile-linux-egcs112-objdir/gcc/libgcc.a(eabi.o)(.got2+0xc) : undefined reference to `__SBSS_END__' /home/jperry/cross-compile-linux-egcs112-objdir/gcc/libgcc.a(eabi.o)(.got2+0x14 ): undefined reference to `__SDATA2_START__' /home/jperry/cross-compile-linux-egcs112-objdir/gcc/libgcc.a(eabi.o)(.got2+0x18 ): undefined reference to `__SBSS2_END__' collect2: ld returned 1 exit status configure: failed program was: #line 1594 "configure" #include "confdefs.h" main(){return(0);}