Issue related to C++ building

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am quite new to gcc building.while building g++(cross compiler)for our target following error occurred.

gcc -O -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o Tcollect2 \ collect2.o tlink.o intl.o version.o ../libiberty/libiberty.a
../libiberty/libiberty.a(cp-demangle.o): In function `demangle_identifier':
cp-demangle.c:(.text+0xdc3): undefined reference to `_ctype_'
../libiberty/libiberty.a(cp-demangle.o): In function `cplus_demangle_v3':
cp-demangle.c:(.text+0x3758): undefined reference to `__getreent'
../libiberty/libiberty.a(cp-demangle.o): In function `java_demangle_v3':
cp-demangle.c:(.text+0x3817): undefined reference to `__getreent'
../libiberty/libiberty.a(cp-demangle.o): In function `demangle_v3_with_details':
cp-demangle.c:(.text+0x3995): undefined reference to `__getreent'
cp-demangle.c:(.text+0x39d5): undefined reference to `__getreent'
collect2: ld returned 1 exit status
make[1]: *** [collect2] Error 1
make[1]: Leaving directory `/work/ToolChain/sankhyagcc/quater4/final_c++/scripts/build-gcc/gcc'
make: *** [all-gcc] Error 2

I have configured the gcc as below.

$SRC/gcc-3.3/configure --prefix=$RELDIR --target=$TARGET --enable-languages=c++ --with-gnu-as --with-gnu-ld --without-headers --with-newlib --host=i686-pc-linux-gnu --with-dwarf2 --enable-sjlj-exceptions > $LOG 2>&1

I tried but i am unable to find out definition of those symbols.please help me in this regard.

--P.V.Siva Prasad




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux