Undefined symbol "alloca" problem in compiling gcc 2.9.5 on unixware 7.1.1

TaoFengmei taofengmei@huawei.com
Tue Feb 26 00:32:00 GMT 2002


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



More information about the Gcc-help mailing list