bmc@mayo.edu (Bruce Cameron) (10/17/88)
During the installation of libg++-1.25, I come across two errors in G++. The first is that during the compilation of the library routines, the compiler consistently returns the error that the symbol "-DYNAMIC" is undefined. The second is that the compiler returns a fatal error (signal 6 for version 1.25 and signal 10 for version 1.27) when compiling the builtin.cc routine of the library. Running the compiler under gdb+ yeilds yeilds the error: "crt0 /usr/lib/ld.so mapping failure" I am running the compiler on a Sun 3/280 with a Sun 3/50 as my console under SunOS 4.0. I have installed GCC-1.28, G++-1.27 using the -msoft-float option. Do you have any bug fixes for these problems? Error Listings: g++ -c -g -O -fchar-charconst -msoft-float test.hello.cc -o test.hello.o At top level: /usr/include/sys/fcntlcom.h:62: warning: type declaration of flock shadows previous declaration /usr/include/sys/fcntlcom.h:62: warning: `flock' was declared `extern' and later `static' test.hello.cc:114: warning: initialization between incompatible pointer types test.hello.cc:123: warning: assignment between incompatible pointer types g++ -c -g -O -fchar-charconst -msoft-float dummylibg++.cc ar r dummylibg++.a dummylibg++.o ar: creating dummylibg++.a install -c dummylibg++.a /usr/local/lib/libg++.a ranlib /usr/local/lib/libg++.a g++ test.hello.o -o test0 Undefined symbols: __DYNAMIC please run test0 and follow instructions g++ -g -O -fchar-charconst -msoft-float -c builtin.cc g++: Program c++ got fatal signal 6. *** Error code 1 make: Fatal error: Command failed for target `builtin.o' --Thank you Bruce Cameron internet: bmc@bru.mayo.edu Mayo Foundation uucp: sun!tundra!bru!bmc Rochester, MN 55905 talk: (507) 284-3288
bmc@mayo.edu (Bruce Cameron) (10/18/88)
During the installation of libg++-1.25, I come across two errors in G++. The first is that during the compilation of the library routines, the compiler consistently returns the error that the symbol "-DYNAMIC" is undefined. The second is that the compiler returns a fatal error (signal 6 for version 1.25 and signal 10 for version 1.27) when compiling the builtin.cc routine of the library. Running the compiler under gdb+ yeilds yeilds the error: "crt0 /usr/lib/ld.so mapping failure" I am running the compiler on a Sun 3/280 with a Sun 3/50 as my console under SunOS 4.0. I have installed GCC-1.28, G++-1.27 using the -msoft-float option. Do you have any bug fixes for these problems? Error Listings: g++ -c -g -O -fchar-charconst -msoft-float test.hello.cc -o test.hello.o At top level: /usr/include/sys/fcntlcom.h:62: warning: type declaration of flock shadows previous declaration /usr/include/sys/fcntlcom.h:62: warning: `flock' was declared `extern' and later `static' test.hello.cc:114: warning: initialization between incompatible pointer types test.hello.cc:123: warning: assignment between incompatible pointer types g++ -c -g -O -fchar-charconst -msoft-float dummylibg++.cc ar r dummylibg++.a dummylibg++.o ar: creating dummylibg++.a install -c dummylibg++.a /usr/local/lib/libg++.a ranlib /usr/local/lib/libg++.a g++ test.hello.o -o test0 Undefined symbols: __DYNAMIC please run test0 and follow instructions g++ -g -O -fchar-charconst -msoft-float -c builtin.cc g++: Program c++ got fatal signal 6. *** Error code 1 make: Fatal error: Command failed for target `builtin.o' Addendum to the above: 1) Thank you for the warning about mixing and matching across major version numbers. 2) I get the same errors when using g++-1.27 and gcc-1.27. 3) Thank you for the word on the upcoming new releases. --Thank you Bruce Cameron internet: bmc@bru.mayo.edu Mayo Foundation uucp: sun!tundra!bru!bmc Rochester, MN 55905 talk: (507) 284-3288