Home » Developer & Programmer » Precompilers, OCI & OCCI » pb pro*c demo_proc.mk
pb pro*c demo_proc.mk [message #489986] Thu, 20 January 2011 08:57
sacan
Messages: 3
Registered: October 2010
Location: paris
Junior Member
In fedora core 13 with Oracle Middleware fusion 11gR2

my pcscfg.cfg:

Quote:
sys_include=(/usr/include,/usr/include/sys,/usr/include/linux,/apps/oracle/Middleware/as_1/precomp/include,/apps/oracle/Middleware/as _1/precomp/public,/usr/src/kernels/2.6.34.7-61.fc13.i686.PAE/include)
include=/usr/src/kernels/2.6.34.7-61.fc13.i686.PAE/include
include=/usr/include
include=/apps/rms9000/rms9000_src/oracle/lib/src
include=/apps/oracle/Middleware/as_1/precomp/public
include=/apps/oracle/Middleware/as_1/rdbms/demo
include=/apps/oracle/Middleware/as_1/network/public
include=/apps/oracle/Middleware/as_1/plsql/public
ltype=short
TYPE_CODE=ORACLE
DEF_SQLCODE=YES
VARCHAR=YES
LTYPE=short
define=__x86_64__


my command:

make -f demo_proc.mk --debug


and the result:

Quote:
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-redhat-linux-gnu
Reading makefiles...
Updating goal targets....
File `all' does not exist.
File `clean' does not exist.
File `cleancache' does not exist.
Must remake target `cleancache'.
rm -rf SunWS_cachea
rm -rf ../../libclntsh.so
Successfully remade target file `cleancache'.
Must remake target `clean'.
rm -rf procdemo procdemo.o procdemo.c procdemo.lis
Successfully remade target file `clean'.
File `procdemo' does not exist.
Must remake target `procdemo'.
make -f demo_proc.mk build OBJS=procdemo.o EXE=procdemo
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-redhat-linux-gnu
Reading makefiles...
Updating goal targets....
File `build' does not exist.
File `cleancache' does not exist.
Must remake target `cleancache'.
make[1]: Entering directory `/apps/oracle/Middleware/as_1/precomp/demo'
rm -rf SunWS_cachea
rm -rf ../../libclntsh.so
Successfully remade target file `cleancache'.
File `procdemo.o' does not exist.
Must remake target `procdemo.o'.
make -f demo_proc.mk PROCFLAGS="" PCCSRC=procdemo I_SYM=include= pc1
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-redhat-linux-gnu
Reading makefiles...
Updating goal targets....
File `pc1' does not exist.
Must remake target `pc1'.
make[2]: Entering directory `/apps/oracle/Middleware/as_1/precomp/demo'
/apps/oracle/Middleware/as_1/bin/proc iname=procdemo include=../include include=. 'sys_include=(/apps/oracle/Middleware/as_1/precomp/include,/usr/include,/usr/include/sys,/usr/include/linux,/usr/src/kernels/2.6.34.7 -61.fc13.i686.PAE/include)'
/apps/oracle/Middleware/as_1/bin/proc: Symbol `kpccapCTarr' has different size in shared object, consider re-linking

Pro*C/C++: Release 11.2.0.1.0 - Production on Thu Jan 20 15:50:34 2011

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

System default option values taken from: /apps/oracle/Middleware/as_1/precomp/admin/pcscfg.cfg

make[2]: *** [pc1] Segmentation fault (core dumped)
make[2]: Leaving directory `/apps/oracle/Middleware/as_1/precomp/demo'
make[1]: *** [procdemo.o] Error 2
make[1]: Leaving directory `/apps/oracle/Middleware/as_1/precomp/demo'
make: *** [procdemo] Error 2


thank for your help
Previous Topic: Pro*Cobol get ORA-01458: invalid length inside variable character string
Next Topic: help pro*c variable declarations
Goto Forum:
  


Current Time: Thu Apr 18 17:28:14 CDT 2024