Unresolved tree_code_type and tree_code_length

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

 



Hello all,

Having trouble compiling gcc 4.3.0 on tru64 unix v5.1b
Getting unresolved tree_code_type and tree_code_length:

(SHLIB_LINK='/srv/build/obj/./gcc/xgcc -B/srv/build/obj/./gcc/
-B/usr/local/gcc/alphaev56-dec-osf5.1b/bin/
-B/usr/local/gcc/alphaev56-dec-osf5.1b/lib/ -isystem
/usr/local/gcc/alphaev56-dec-osf5.1b/include -isystem
/usr/local/gcc/alphaev56-dec-osf5.1b/sys-include -O2  -O2 -g -O4 -g3
-pthread -oldas -I/usr/local/zlib/include   -mieee -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wno-error -isystem ./include  -pthread -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared
-nodefaultlibs -Wl,-hidden_symbol,pthread\* -Wl,-hidden_symbol,__pthread\*
-Wl,-hidden_symbol,sched_get_\* -Wl,-hidden_symbol,sched_yield -Wl,-msym
-Wl,-set_version,gcc.1 -Wl,-soname,@shlib_base_name@.so.1 -o
@shlib_base_name@.so.tmp @multilib_flags@ @shlib_objs@ -lc && rm -f
@shlib_base_name@.so.1 && if [ -f @shlib_base_name@.so ]; then mv -f
@shlib_base_name@.so @shlib_base_name@.so.backup; else true; fi && mv
@shlib_base_name@.so.tmp @shlib_base_name@.so && ln -s @shlib_base_name@.so
@shlib_base_name@.so.1'; \
cc -I/usr/local/zlib/include -c   -g -DIN_GCC     -DHAVE_CONFIG_H -I. -I.
-I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include
-I../../src/gcc/../libcpp/include -I/usr/local/gmp/include
-I/usr/local/mpfr/include -I../../src/gcc/../libdecnumber
-I../../src/gcc/../libdecnumber/dpd -I../libdecnumber
-I/usr/local/iconv/include   -DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/usr/local/gcc/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/usr/local/gcc/libexec/gcc/\"
-DDEFAULT_TARGET_VERSION=\"4.3.0\"
-DDEFAULT_TARGET_MACHINE=\"alphaev56-dec-osf5.1b\"
-DSTANDARD_BINDIR_PREFIX=\"/usr/local/gcc/bin/\"
-DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test
"yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` \
    -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include
-I../../src/gcc/../libcpp/include -I/usr/local/gmp/include
-I/usr/local/mpfr/include -I../../src/gcc/../libdecnumber
-I../../src/gcc/../libdecnumber/dpd -I../libdecnumber
../../src/gcc/java/jvspec.c -o jvspec.o)
cc -I/usr/local/zlib/include   -g -DIN_GCC     -DHAVE_CONFIG_H  -o gcj gcc.o
opts-common.o gcc-options.o jvspec.o \
  java/jcf-path.o prefix.o intl.o \
  version.o  ../libcpp/libcpp.a  /usr/local/iconv/lib/libiconv.so -rpath
/usr/local/iconv/lib ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
cc -I/usr/local/zlib/include -c   -g -DIN_GCC     -DHAVE_CONFIG_H -I. -Ijava
-I../../src/gcc -I../../src/gcc/java -I../../src/gcc/../include
-I../../src/gcc/../libcpp/include -I/usr/local/gmp/include
-I/usr/local/mpfr/include -I../../src/gcc/../libdecnumber
-I../../src/gcc/../libdecnumber/dpd -I../libdecnumber
-I/usr/local/iconv/include   ../../src/gcc/java/jvgenmain.c -o
java/jvgenmain.o
rm -f jvgenmain
cc -I/usr/local/zlib/include   -g -DIN_GCC     -DHAVE_CONFIG_H  -o jvgenmain
java/jvgenmain.o java/mangle_name.o errors.o intl.o ../libcpp/libcpp.a
/usr/local/iconv/lib/libiconv.so -rpath /usr/local/iconv/lib
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
ld:
Unresolved:
tree_code_type
tree_code_length
gmake[3]: *** [jvgenmain] Error 1
gmake[3]: Leaving directory `/srv/build/obj/gcc'
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory `/srv/build/obj'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/srv/build/obj'
gmake: *** [bootstrap] Error 2


I also find that the cflags from configure are no longer being passed at
some point (see above).
I was forced to put the -I/usr/local/zlib/include in the cc variable because
both the cflags and cppflags are not being passed and I was getting an error
from zlib.h not being found (I have zlib in its own directory) and the
--with-system-zlib=/usr/local/zlib doesn't help it.

Can I get some help with this?

-- 
Didier Godefroy
mailto:dg@xxxxxxxxxxx
Support anti-Spam legislation.
Join the fight http://www.cauce.org/



[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