This is the mail archive of the gcc-help@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]
Other format: [Raw text]

help on SunOS4.1.3_U1


Hi,

I got a problem compiling gcc 2.95.3 on SunOS 4.1.3_U1, system

is a SS20.

First pass uses Sun Workshop compiler v3.0.1 and gnu make, but system bumped out

after stage1 of compilation of the following:

stage1/xgcc -Bstage1/ -B/usr/local/sparc-sun-sunos4.1.3_U1/bin/ -c  -DIN_GCC -DHAIFA    -O2 -g  -DHAVE_CONFIG_H    -I. -I/export/tool/build/UTKgcc/gcc-2.95.3/gcc -I/export/tool/build/UTKgcc/gcc-2.95.3/gcc/config -I/export/tool/build/UTKgcc/gcc-2.95.3/gcc/../include \
          -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include\" \
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/g++\" \
  -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/../../../../sparc-sun-sunos4.1.3_U1/sys-include\" \
  -DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/../../../../sparc-sun-sunos4.1.3_U1/include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
  -DSTD_PROTO_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3\" \
  /export/tool/build/UTKgcc/gcc-2.95.3/gcc/protoize.c
/export/tool/build/UTKgcc/gcc-2.95.3/gcc/protoize.c: In function `xstrerror':
/export/tool/build/UTKgcc/gcc-2.95.3/gcc/protoize.c:599: warning: return makes pointer from integer without a cast
stage1/xgcc -Bstage1/ -B/usr/local/sparc-sun-sunos4.1.3_U1/bin/  -DIN_GCC -DHAIFA    -O2 -g  -DHAVE_CONFIG_H  -o protoize protoize.o getpwd.o intl.o version.o  obstack.o        ../libiberty/libiberty.a
ld: Undefined symbol
   _strerror
collect2: ld returned 2 exit status
gmake[2]: *** [protoize] Error 1
gmake[2]: Leaving directory `/export/tool/build/UTKgcc/gcc-2.95.3-SunOS4.1.3_U1.objdir/gcc'
gmake[1]: *** [bootstrap-lean] Error 2
gmake[1]: Leaving directory `/export/tool/build/UTKgcc/gcc-2.95.3-SunOS4.1.3_U1.objdir/gcc'
gmake: *** [bootstrap-lean] Error 2

Any ideas how to fix it?  I've been struggled with it for a while, appreciate any pointers.

Regards,

-May


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