Hi,
I use solaris 5.8. Today they changed the default compiler from (I believe) CC version 6.2 to 8.0a. Afterwards I could no longer link to the root libraries (using 6.2) .
When trying to use 8.0 I get:
gmake sub_anal5
CC -O -KPIC -I/bld/kwd1/root/3.10/root/include -c -o sub_anal5.o sub_anal5.C
CC -O sub_anal5.o -L/bld/kwd1/root/3.10/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -lnsl -lsocket -L/bld/kwd1/root/3.10/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -lm -ldl -lnsl -lsocket
-o sub_anal5
ld: fatal: option -z has illegal argument ld32=-S/aopt/sc8.0a/SUNWspro/prod/lib/libldstab_ws.so' ld: fatal: option -z has illegal argument
ld64=-S/aopt/sc8.0a/SUNWspro/prod/lib/v9/libldstab_ws.so’
ld: fatal: option -z has illegal argument ld32=-S/aopt/sc8.0a/SUNWspro/prod/lib/libCCexcept.so.1' ld: fatal: option -z has illegal argument
ld64=-S/aopt/sc8.0a/SUNWspro/prod/lib/v9/libCCexcept.so.1’
ld: fatal: Flags processing errors
make: *** [sub_anal5] Error 1
The Makefile is attached.
Anyway, I just wanted to make sure, it looks like there is no 8.0 version of
a downloadable binary.
I tried compiling the source and ran into the same ld error:
.
.
.
Makefile:366: main/src/ssh2rpd.d: No such file or directory
Makefile:368: build/dummy.d: No such file or directory
ld: fatal: option -z has illegal argument ld32=-S/aopt/sc8.0a/SUNWspro/prod/lib/libldstab_ws.so' ld: fatal: option -z has illegal argument
ld64=-S/aopt/sc8.0a/SUNWspro/prod/lib/v9/libldstab_ws.so’
ld: fatal: option -z has illegal argument ld32=-S/aopt/sc8.0a/SUNWspro/prod/lib/libCCexcept.so.1' ld: fatal: option -z has illegal argument
ld64=-S/aopt/sc8.0a/SUNWspro/prod/lib/v9/libCCexcept.so.1’
ld: fatal: Flags processing errors
make: *** [bin/rmkdepend] Error 1
thanks
Ken