Hi, I'm having troubles compiling gcc (gcc-4.2-20070905) on Tru64 4.0f, I think ld cannot find the required includes - sounds very simple but I already made links to /usr/local/include so that it points to the right headers - it looks like -rw-r--r-- 1 root system 5749 Jul 13 2001 FlexLexer.h drwxr-xr-x 6 root system 8192 Aug 16 2002 g++-v3/ -rw-r--r-- 1 root system 82613 Oct 5 09:50 gmp.h -rw-r--r-- 1 root system 4289 Dec 27 2002 iconv.h -rw-r--r-- 1 root system 1385 Dec 27 2002 libcharset.h -rw-r--r-- 1 root system 10477 Dec 27 2002 libintl.h -rw-r--r-- 1 root system 6113 Oct 5 10:18 mpf2mpfr.h -rw-r--r-- 1 root system 37375 Oct 5 10:18 mpfr.h drwxr-xr-x 2 root system 8192 Aug 16 2002 net/ -r--r--r-- 1 root system 3161 Jul 13 2001 pcap-namedb.h -r--r--r-- 1 root system 4912 Jul 13 2001 pcap.h drwxr-xr-x 7 root system 8192 Aug 16 2002 php/ lrwxrwxrwx 1 root system 20 Oct 8 09:39 sys@ -> /usr/sys/include/sys/ -rw-r--r-- 1 root system 7810 May 15 2002 zconf.h -rw-r--r-- 1 root system 40900 May 15 2002 zlib.h -> it's the sys link which contains the required headers gcc -Wa,-oldas -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o \ main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a /usr/local/lib/libintl.so -L/usr/local/lib /usr/local/lib/libiconv.so -lc -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a /usr/bin/ld: Unresolved: getrusage sbrk environ calloc realloc fopen fdopen freopen strncat sscanf getcwd vsprintf sys_siglist getsysinfo table collect2: ld returned 1 exit status make[3]: *** [cc1-dummy] Error 1 make[3]: Leaving directory `/vol1/src/tmp/gcc-build/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/vol1/src/tmp/gcc-build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/vol1/src/tmp/gcc-build' make: *** [bootstrap-lean] Error 2 I also tried to set the environment variables LD_LIBRARY_PATH=/usr/sys/include and CFLAGS=/usr/sys/include Thanks in advance Michael