Home » Developer & Programmer » Precompilers, OCI & OCCI » unable to generate pro*c .exe file on solaris11 (solaris11)
unable to generate pro*c .exe file on solaris11 [message #659568] Sun, 22 January 2017 23:56
dvsuresh2010
Messages: 1
Registered: January 2017
Junior Member
Dear Mentor,

Unable to generate pro*c .exe file on Solaris11. I am getting the below error. Please help.

oracle@dcn2ddbx005:/var/opt/dev/atlas10g/hpwunx/proc$ make -f c_probe.mk build EXE=check_postcode OBJS=check_postcode.o

proc sqlcheck=semantics userid=postcode/pcodepwd2@dev3 iname=check_postcode.pc

Pro*C/C++: Release 12.1.0.2.0 - Production on Thu Jan 19 12:13:56 2017

Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.

System default option values taken from: /u01/app/oracle/product/12.1.0/dbhome_1/precomp/admin/pcscfg.cfg

PCC-W-02105, Unable to open list file
echodo /usr/bin/gcc -c -s -O -DNONANSI -m64 -xO3 -xalias_level=any -Xa -xstrconst -dalign -xildoff -errtags=yes -v -m64 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -xbuiltin=%none -xcode=abs44 -xcode=pic32 -DPRECOMP -I. /u01/app/oracle/product/12.1.0/dbhome_1/precomp/public/ -DSLMXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT /u01/app/oracle/product/12.1.0/dbhome_1/precomp/public/ check_postcode.c
/usr/bin/gcc -c -s -O -DNONANSI -m64 -xO3 -xalias_level=any -Xa -xstrconst -dalign -xildoff -errtags=yes -v -m64 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -xbuiltin=%none -xcode=abs44 -xcode=pic32 -DPRECOMP -I. /u01/app/oracle/product/12.1.0/dbhome_1/precomp/public/ -DSLMXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT /u01/app/oracle/product/12.1.0/dbhome_1/precomp/public/ check_postcode.c
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.5/lib/gcc/sparc-sun-solaris2.11/4.5.2/lto-wrapper
gcc: unrecognized option '-Xa'
Target: sparc-sun-solaris2.11
Configured with: /export/home/hudson/workspace/nightly-update/build/sparc/components/gcc45/gcc-4.5.2/configure CC=/ws/on11update-tools/SUNWspro/sunstudio12.1/bin/cc CXX=/ws/on11update-tools/SUNWspro/sunstudio12.1/bin/CC --prefix=/usr/gcc/4.5 --mandir=/usr/gcc/4.5/share/man --bindir=/usr/gcc/4.5/bin --libdir=/usr/gcc/4.5/lib --sbindir=/usr/gcc/4.5/sbin --infodir=/usr/gcc/4.5/share/info --libexecdir=/usr/gcc/4.5/lib --enable-languages=c,c++,fortran,objc --enable-shared --with-gmp-include=/usr/include/gmp --with-mpfr-include=/usr/include/mpfr --without-gnu-ld --with-ld=/usr/bin/ld --without-gnu-as --with-as=/usr/bin/as CFLAGS='-g -O2 '
Thread model: posix
gcc version 4.5.2 (GCC)
gcc: language code=pic32 not recognized
gcc: language code=pic32 not recognized
gcc: language code=pic32 not recognized
gcc: language code=pic32 not recognized
gcc: language code=pic32 not recognized
gcc: language code=pic32 not recognized
COMPILER_PATH=/usr/gcc/4.5/lib/gcc/sparc-sun-solaris2.11/4.5.2/:/usr/gcc/4.5/lib/gcc/sparc-sun-solaris2.11/4.5.2/:/usr/gcc/4.5/lib/gc c/sparc-sun-solaris2.11/:/usr/gcc/4.5/lib/gcc/sparc-sun-solaris2.11/4.5.2/:/usr/gcc/4.5/lib/gcc/sparc-sun-solaris2.11/:/usr/ccs/bin/
LIBRARY_PATH=/usr/gcc/4.5/lib/gcc/sparc-sun-solaris2.11/4.5.2/sparcv9/:/usr/gcc/4.5/lib/gcc/sparc-sun-solaris2.11/4.5.2/../../../spar cv9/:/lib/sparcv9/:/usr/lib/sparcv9/:/usr/gcc/4.5/lib/gcc/sparc-sun-solaris2.11/4.5.2/:/usr/ccs/lib/:/usr/gcc/4.5/lib/gcc/sparc-sun-s olaris2.11/4.5.2/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-c' '-s' '-O' '-DNONANSI' '-m64' '-Xa' '-dalign' '-errtags=yes' '-v' '-m64' '-W2,-AKNR_S' '-Wd,-xsafe=unboundsym' '-Wc,-Qiselect-funcalign=32' '-Wc,-Qgsched-trace_late=1' '-Wc,-Qgsched-T5' '-D_REENTRANT' '-DSS_64BIT_SERVER' '-DBIT64' '-DMACHINE64' '-DPRECOMP' '-I.' '-DSLMXMX_ENABLE' '-DSLTS_ENABLE' '-D_REENTRANT'
gcc: /u01/app/oracle/product/12.1.0/dbhome_1/precomp/public/: linker input file unused because linking not done
gcc: /u01/app/oracle/product/12.1.0/dbhome_1/precomp/public/: linker input file unused because linking not done
gcc: check_postcode.c: linker input file unused because linking not done
gcc: check_postcode: No such file or directory
gcc: cat /u01/app/oracle/product/12.1.0/dbhome_1/lib/sysliblist : No such file or directory
*** Error code 1
The following command caused the error:
if [ "shared" = "shared" ]; then \
/usr/bin/gcc -Wl,-Bimmediate -o -s -O -DNONANSI -m64 check_postcode check_postcode.o /u01/app/oracle/product/12.1.0/dbhome_1/lib/libclntsh.sl 'cat /u01/app/oracle/product/12.1.0/dbhome_1/lib/sysliblist '; \
else \
/usr/bin/gcc -s -O -DNONANSI -m64 -o check_postcode check_postcode.o -L/u01/app/oracle/product/12.1.0/dbhome_1/lib/ libatlas-full.so -lclntsh -lclntshcore `cat /u01/app/oracle/product/12.1.0/dbhome_1/lib/ldflags` `cat /u01/app/oracle/product/12.1.0/dbhome_1/lib/sysliblist` -lm -lthread; \
fi
make: Fatal error: Command failed for target `build'

Previous Topic: OCI Error: LNK1113: invalid machine type
Next Topic: database connection with oracle using c++ /OCCI
Goto Forum:
  


Current Time: Tue Dec 12 09:32:42 CST 2017

Total time taken to generate the page: 0.01630 seconds