------- Comment #2 from abhinav dot dubey at hcl dot in 2009-04-07 10:39 ------- (In reply to comment #0) > tring to compile batch libraries with make commang but geeting an error > $ make -f retek.mk retek rms resa 2>&1 | tee libretek.log > cc -DNDEBUG -I. -I/data/rmsdb/rms/oracle/lib/src > -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public > -I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/public > -I/data/u01/app/oracle/product/10.2.0/db_1/plsql/public > -I/data/u01/app/oracle/product/10.2.0/db_1/sqllib/public > -I/data/u01/app/oracle/product/10.2.0/db_1/network/public > -I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/demo -g -Xa -xstrconst > -dalign -xF -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S > -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44 > -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -D_REENTRANT -DSS_64BIT_SERVER > -DBIT64 -DMACHINE64 -K PIC -DPRECOMP > -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/hdrs > -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public > -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/include > -I/data/u01/app/oracle/product/10.2.0/db_1/oracore/include > -I/data/u01/app/oracle/product/10.2.0/db_1/oracore/public > -I/data/u01/app/oracle/product/10.2.0/db_1/oracore/port/include > -I/data/u01/app/oracle/product/10.2.0/db_1/xdk/include > -I/data/u01/app/oracle/product/10.2.0/db_1/xdk/public > -I/data/u01/app/oracle/product/10.2.0/db_1/nlsrtl/include > -I/data/u01/app/oracle/product/10.2.0/db_1/slax/include -I. -DSLMXMX_ENABLE > -DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT -c saoranumadd.c -o `basename > /data/rmsdb/rms/oracle/lib/src/saoranumadd.o` > cc: PIC: No such file or directory > Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs > cc: unrecognized option `-Xa' > cc: unrecognized option `-K' > Configured with: > /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure > --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as > --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ > --enable-shared > Thread model: posix > gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) > cc: language code=abs44 not recognized > cc: saoranumadd.c: linker input file unused because linking not done > *** Error code 1 > make: Fatal error: Command failed for target `saoranumadd.o' > ... > also try to compile by gcc comman ... the famous hello word program.. > $ gcc -c -Wall -D_GNU_SOURCE abhi.c -o abhi.o > $ gcc -c abhi.o abhi.c > gcc: abhi.o: linker input file unused because linking not done > .. > have tried all possible fixes > urgently need to up system .. any help will be highly appreciated. > Thanks,
(In reply to comment #1) > > also try to compile by gcc comman ... the famous hello word program.. > > $ gcc -c -Wall -D_GNU_SOURCE abhi.c -o abhi.o > > $ gcc -c abhi.o abhi.c > > gcc: abhi.o: linker input file unused because linking not done > > .. > > have tried all possible fixes > gcc -o abhi abhi.o Thanks.. it getting compiled in this manner and showed that my gcc compiler working fine but for batch libraries using make command ,I am still getting the same error as $ make -f retek.mk retek rms resa 2>&1 | tee libretek.log cc -DNDEBUG -I. -I/data/rmsdb/rms/oracle/lib/src -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public -I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/public -I/data/u01/app/oracle/product/10.2.0/db_1/plsql/public -I/data/u01/app/oracle/product/10.2.0/db_1/sqllib/public -I/data/u01/app/oracle/product/10.2.0/db_1/network/public -I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/demo -g -Xa -xstrconst -dalign -xF -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -K PIC -DPRECOMP -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/hdrs -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/include -I/data/u01/app/oracle/product/10.2.0/db_1/oracore/include -I/data/u01/app/oracle/product/10.2.0/db_1/oracore/public -I/data/u01/app/oracle/product/10.2.0/db_1/oracore/port/include -I/data/u01/app/oracle/product/10.2.0/db_1/xdk/include -I/data/u01/app/oracle/product/10.2.0/db_1/xdk/public -I/data/u01/app/oracle/product/10.2.0/db_1/nlsrtl/include -I/data/u01/app/oracle/product/10.2.0/db_1/slax/include -I. -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT -c saoranumadd.c -o `basename /data/rmsdb/rms/oracle/lib/src/saoranumadd.o` cc: PIC: No such file or directory Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs cc: unrecognized option `-Xa' cc: unrecognized option `-K' Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) cc: language code=abs44 not recognized cc: saoranumadd.c: linker input file unused because linking not done *** Error code 1 make: Fatal error: Command failed for target `saoranumadd.o' .. Please help me in solving this issue also... Thanks, -- abhinav dot dubey at hcl dot in changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671