This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Hello


I follow the direction to rebuild the toolchain.

    1.run
     
    PATH=/gnutools/bin:$PATH ; export PATH
    mkdir -p /tmp/build/gcc
    cd /tmp/build/gcc
    /src/gcc-3.2.1/configure --target=i386-elf \
      --prefix=/gnutools --enable-languages=c,c++ \
      --with-gnu-as --with-gnu-ld --with-newlib \
      --with-gxx-include-dir=/gnutools/i386-elf/include \
      -v 2>&1 | tee configure.out 
     2. run
    make -w all install 2>&1 | tee make.out
  then it displays these information:
    
....
gcc -DIN_GCC -DHAVE_CONFIG_H -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long
-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-protot
ypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -I. -I.. -I/src
/gcc-3.2.1/gcc/fixinc -I/src/gcc-3.2.1/gcc/fixinc/.. -I/src/gcc-3.2.1/gcc/fixinc
/../config -I/src/gcc-3.2.1/gcc/fixinc/../../include  -o fixincl.exe fixincl.o f
ixtests.o fixfixes.o server.o procopen.o gnu-regex.o fixlib.o ../../libiberty/li
biberty.a
gnu-regex.o(.text+0x6556): In function `regerror':
/src/gcc-3.2.1/gcc/fixinc/gnu-regex.c:5723: undefined reference to `___mempcpy'
collect2: ld returned 1 exit status
make[2]: *** [full-stamp] Error 1
make[2]: Leaving directory `/tmp/build/gcc/gcc/fixinc'
make[1]: *** [fixinc.sh] Error 2
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2

what error  it is? how to deal with it?

Thanks


MARK

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]