This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Undefined symbol "alloca" problem in compiling gcc 2.9.5 on unixware 7.1.1
- From: TaoFengmei <taofengmei at huawei dot com>
- To: help-gcc at gnu dot org <help-gcc at gnu dot org>
- Cc: karuottu at freenet dot hut dot fi <karuottu at freenet dot hut dot fi>
- Date: Tue, 26 Feb 2002 13:36:6 +0800
- Subject: Undefined symbol "alloca" problem in compiling gcc 2.9.5 on unixware 7.1.1
hi,
i want to install gcc in unixware 7.1.1,compiling succed.But when i install it to system,meet such problem:
# make install
/bin/sh ../mkinstalldirs /usr/local /usr/local
(cd intl && make all)
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/
config -I../../gcc/../include ../../gcc/genattr.c
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/
config -I../../gcc/../include ../../gcc/rtl.c
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/
config -I../../gcc/../include ../../gcc/bitmap.c
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/
config -I../../gcc/../include ../../gcc/print-rtl.c
cc -DIN_GCC -g -DHAVE_CONFIG_H -o genattr \
genattr.o rtl.o bitmap.o print-rtl.o ` case "obstack.o" in ?*) echo obs
tack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?
*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;;
esac `
Undefined first referenced
symbol in file
alloca genattr.o
UX:ld: ERROR: genattr: fatal error: Symbol referencing errors. No output written
to genattr
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
thanks,
tao