This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

3.0.2 fails to compile on OSR 5.0.5



Under SCO Unix OSR 5.0.5 gcc 3.0.2 fails to compile.  The problems seems
to be something to do with DIR ... at stage 2

	[large snip]

rm -f f771
stage1/xgcc -Bstage1/ -B/usr/local/i386-pc-sco3.2v5.0.5/bin/  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o f771 f/bad.o f/bit.o f/bld.o f/com.o f/data.o f/equiv.o f/expr.o f/global.o f/implic.o f/info.o f/intrin.o f/lab.o f/lex.o f/malloc.o f/name.o f/parse.o f/proj.o f/src.o f/st.o f/sta.o f/stb.o f/stc.o f/std.o f/ste.o f/storag.o f/stp.o f/str.o f/sts.o f/stt.o f/stu.o f/stv.o f/stw.o f/symbol.o f/target.o f/top.o f/type.o f/version.o f/where.o toplev.o libbackend.a obstack.o alloca.o  ./intl/libintl.a      ../libiberty/libiberty.a
stage1/xgcc -Bstage1/ -B/usr/local/i386-pc-sco3.2v5.0.5/bin/ -c  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -Ijava -I. -I./java -I./config -I./../include java/parse.c -o java/parse.o
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y: In function `read_import_dir':
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6549: `DIR' undeclared (first use in this function)
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6549: (Each undeclared identifier is reported only once
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6549: for each function it appears in.)
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6549: `dirp' undeclared (first use in this function)
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6549: invalid lvalue in assignment
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6616: warning: implicit declaration of function `opendir'
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6624: warning: implicit declaration of function `readdir'
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6624: warning: initialization makes pointer from integer without a cast
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6627: dereferencing pointer to incomplete type
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6628: dereferencing pointer to incomplete type
/nfs/gandalf/u2/mitchell/gcc-3.0.2/gcc-3.0.2/gcc/java/parse.y:6635: warning: implicit declaration of function `closedir'
make[2]: *** [java/parse.o] Error 1
make[2]: Leaving directory `/usr1/faculty/bw/downloads/ftp.gnu.org/gcc-3.0.2/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr1/faculty/bw/downloads/ftp.gnu.org/gcc-3.0.2/gcc'
make: *** [bootstrap] Error 2

-- 
Bill Walker Ph.D.
Chairman, Dept. of Computer Science
East Central University
Ada, Oklahoma 74820-6899

e-mail:  bw@cs.ecok.edu 
phone:   580 332 8000 ext. 594
direct:  580 310 5594
FAX:     580 310 5606



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]