Hi All,

I am migrating hardware. My old system has redhat 7.3 on it. The new one is rh8. I am getting compile errors when I try to make DBD::Oracle. I did copy my oracle client from my old box. I'm wondering if that might be the problem. Any help is very welcome.

Thanks,

Ian


Using DBI 1.30 installed in 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Duplicate specification "S=s" for option "s"

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!
        Especially if you have any problems.

Using Oracle in /opt/oracle
Installed products not located.
Exiting /opt/oracle/orainst/inspdver procedure.

Found rdbms/public/ocidef.h
Found rdbms/public/ocidfn.h
Found rdbms/public/ocidem.h
Found rdbms/public/ociapr.h
Found rdbms/public/ocikpr.h
Found rdbms/public/oratypes.h
Found header files in rdbms/public.
Found /opt/oracle/rdbms/demo/demo_rdbms.mk
Found /opt/oracle/otrace/demo/atmoci.mk
Found /opt/oracle/precomp/demo/proc/demo_proc.mk
Using /opt/oracle/rdbms/demo/demo_rdbms.mk
Reading /opt/oracle/rdbms/demo/demo_rdbms.mk.
Reading /opt/oracle/rdbms/lib/env_rdbms.mk.
Read a total of 726 lines from /opt/oracle/rdbms/lib/env_rdbms.mk (including 
inclusions)
Read a total of 898 lines from /opt/oracle/rdbms/demo/demo_rdbms.mk (including 
inclusions)
Deleted SHELL definition: SHELL=/bin/sh
Deleted LIB_EXT definition: LIB_EXT=a
Deleted OBJ_EXT definition: OBJ_EXT=o
Deleted AR definition: AR=ar
Deleted AS definition: AS=as
Deleted CC definition: CC=cc
Deleted CHMOD definition: CHMOD=chmod
Deleted CPP definition: CPP=cpp
Deleted ECHO definition: ECHO=echo
Deleted LD definition: LD=ld
Deleted PERL definition: PERL=perl
Deleted CFLAGS definition: CFLAGS=$(GFLAG) $(OPTIMIZE) $(CCFLAGS) $(QACCFLAGS) 
$(PFLAGS)\
        $(SHARED_CFLAG) $(USRFLAGS)
Deleted LDFLAGS definition: LDFLAGS=-o $@ -L$(PRODLIBHOME) -L$(LIBHOME) -L/usr/lib
LMAKE macro redefined by Oracle
 from make
   to /usr/bin/gmake
FIND macro redefined by Oracle
 from find
   to /usr/bin/find # gnu find!
Deleting $(COMPOBJ)/crti.o from COMPOBJS because /opt/oracle/lib/GCC2.7.2.3/crti.o 
doesn't exist.
Deleting $(COMPOBJ)/crt1.o from COMPOBJS because /opt/oracle/lib/GCC2.7.2.3/crt1.o 
doesn't exist.
Deleting $(COMPOBJ)/crtn.o from COMPOBJS because /opt/oracle/lib/GCC2.7.2.3/crtn.o 
doesn't exist.
Edited COMPOBJS definition
 from: COMPOBJS=$(COMPOBJ)/crti.o $(COMPOBJ)/crt1.o $(COMPOBJ)/crtn.o
   to: COMPOBJS=  
DEVTTLIBS macro redefined by Oracle
 from $(TTLIBS)
   to $(NAUTAB) $(NAETAB) $(NAEDHS) $(NALDFLAGSLIST) \
        $(NETLIBS) $(LLIBRDBMS_CLT) $(LLIBMM) $(CORELIBS)\
        $(NETLIBS) $(LLIBRDBMS_CLT) $(LIBPLS_CLT)\
        $(LLIBEPC) $(CORELIBS) $(LLIBRDBMS_CLT) $(CORELIBS)
Deleted OPTIMIZE definition: OPTIMIZE=$(OPTIMIZE2)
AR macro redefined by Oracle
 from ar
   to /usr/ccs/bin/ar
Deleted AR definition: AR=/usr/ccs/bin/ar
AS macro redefined by Oracle
 from as
   to /usr/ccs/bin/as
Deleted AS definition: AS=/usr/ccs/bin/as
CPP macro redefined by Oracle
 from cpp
   to $(CC) -E $(ANSI)
Deleted CPP definition: CPP=$(CC) -E $(ANSI)
CHMOD macro redefined by Oracle
 from chmod
   to /bin/chmod
Deleted CHMOD definition: CHMOD=/bin/chmod
Deleted ASFLAGS definition: ASFLAGS=
Deleted CCFLAGS definition: CCFLAGS= -DLINUX -DUNIFIED_INTEL  $(NOKPIC_CCFLAGS) -K PIC
PLATFORM macro redefined by Oracle
 from unified_intel
   to 
MOTIFHOME macro redefined by Oracle
 from /usr/X11R6/
   to 
GUILIBHOME macro redefined by Oracle
 from $(OPENWINHOME)lib/
   to 
GMAKE macro redefined by Oracle
 from /usr/bin/gmake
   to gmake
MAKE macro redefined by Oracle
 from $(LMAKE)
   to gmake
LMAKE macro redefined by Oracle
 from /usr/bin/gmake
   to make
FIND macro redefined by Oracle
 from /usr/bin/find 
   to /bin/find # gnu find!
PS macro redefined by Oracle
 from ps -aux
   to ps -feda
ARCHIVE macro redefined by Oracle
 from `if echo ${LIB} | grep lib > /dev/null 2>&1;then $(ARCREATE) $(LIB) $?; 
$(RANLIB) $(LIB); else echo ""; fi`
   to `if echo ${LIB} | grep lib > /dev/null 2>&1;then $(ARCREATE) $(LIB) $? 
$(RANLIB); else echo ""; fi`
LINK macro redefined by Oracle
 from gcc
   to gcc $(COMPOBJS)
MOTIFLIBS macro redefined by Oracle
 from -L$(MOTIFHOME)lib -lXm -lgen -L$(GUILIBHOME) \
        -lXt -lX11 -lw -lm
   to -lXm -lXt -lX11 -lgen -lm
XLIBS macro redefined by Oracle
 from -L$(GUILIBHOME) $(GUILIBHHOME)libXaw.so.4 -lXt -lXmu\
        -lXext -lX11 -lm
   to 
CCVER macro redefined by Oracle
 from GCC2.7.2.3
   to SC4.2
COMPOBJS macro redefined by Oracle
 from $(COMPOBJ)/crti.o $(COMPOBJ)/crt1.o $(COMPOBJ)/crtn.o
   to 
EXSYSLIBS macro redefined by Oracle
 from -ldl 
   to -ldl
DEVTTLIBS macro redefined by Oracle
 from $(NAUTAB) $(NAETAB) $(NAEDHS) $(NALDFLAGSLIST) \
        $(NETLIBS) $(LLIBRDBMS_CLT) $(LLIBMM) $(CORELIBS)\
        $(NETLIBS) $(LLIBRDBMS_CLT) $(LIBPLS_CLT)\
        $(LLIBEPC) $(CORELIBS) $(LLIBRDBMS_CLT) $(CORELIBS)
   to $(NAUTAB) $(NAETAB) $(NAEDHS) $(NALDFLAGSLIST) \
       $(NETLIBS) $(LLIBRDBMS_CLT) $(LLIBMM) $(CORELIBS)\
       $(NETLIBS) $(LLIBRDBMS_CLT) $(LIBPLS_CLT)\
       $(LLIBEPC) $(CORELIBS) $(LLIBRDBMS_CLT) $(CORELIBS) \
       $(EXPDLIBS) $(EXOSLIBS) $(SYSLIBS) -lc -laio $(MATHLIB) $(USRLIBS)
OPTIMIZE macro redefined by Oracle
 from $(OPTIMIZE2)
   to $(OPTIMIZE3)
Deleted OPTIMIZE definition: OPTIMIZE=$(OPTIMIZE3)
SPFLAGS macro redefined by Oracle
 from -D_SVID_GETTOD
   to `$(ORACLE_HOME)/unified_bin/spflags`
AR macro redefined by Oracle
 from /usr/ccs/bin/ar
   to ar
Deleted AR definition: AR=ar
AS macro redefined by Oracle
 from /usr/ccs/bin/as
   to as
Deleted AS definition: AS=as
CPP macro redefined by Oracle
 from $(CC) -E $(ANSI)
   to /lib/cpp
Deleted CPP definition: CPP=/lib/cpp
Deleted CHMOD definition: CHMOD=/bin/chmod
Deleted ASFLAGS definition: ASFLAGS=
NOKPIC_CCFLAGS macro redefined by Oracle
 from -Xa $(PROFILE) -xstrconst -xF -I$(ORACLE_HOME)/shdrs $(XS) -mr \
        -xarch=v8 -xcache=16/32/1:1024/64/1 -xchip=ultra -D_REENTRANT
   to `$(ORACLE_HOME)/unified_bin/ccflags`
CCFLAGS macro redefined by Oracle
 from -DLINUX -DUNIFIED_INTEL  $(NOKPIC_CCFLAGS) -K PIC
   to $(NOKPIC_CCFLAGS)
Deleted CCFLAGS definition: CCFLAGS= $(NOKPIC_CCFLAGS)
SHARED_LDFLAG macro redefined by Oracle
 from -shared -L$(ORACLE_HOME)/lib -R$(ORACLE_HOME)/lib -o
   to -shared -L$(ORACLE_HOME)/lib -o
Deleting ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
  because it is not already set in the environment
  and it can cause ORA-01019 errors.
Deleted ORA_NLS definition: ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
Deleting ORA_NLS33 = $(ORACLE_HOME)/ocommon/nls/admin/data/
  because it is not already set in the environment
  and it can cause ORA-01019 errors.
Deleted ORA_NLS33 definition: ORA_NLS33 = $(ORACLE_HOME)/ocommon/nls/admin/data/
Deleted AR definition: AR=ar
SSORED macro redefined by Oracle
 from $(RDBMSLIB)ssoraed.$(OBJ_EXT)                     
   to $(RDBMSLIB)ssoraed.$(OBJ_EXT)                     # oracle prog. mgr. data
MTS_NCR macro redefined by Oracle
 from $(LIBHOME)ncrstab.$(OBJ_EXT)
   to ncrstab.$(OBJ_EXT)
NETLIBS macro redefined by Oracle
 from $(LLIBSQLNET) $(LLIBRPC) $(LLIBSQLNET)
   to -lnetv2 -lnttcp -lnetwork -lncr 
Appending '-ldl -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr 
-lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp 
-lnetwork -lncr -lsql -lsql' to LDLIBS
LIBNM macro redefined by Oracle
 from $(LIBDLM)
   to $(CLUSTERDIR)/lib/libudlm.so
LLIBNM macro redefined by Oracle
 from $(LLIBDLM)
   to $(SKGXN) -ludlm
Deleted CC definition: CC=cc
CCFLAGS macro redefined by Oracle
 from $(NOKPIC_CCFLAGS)
   to 
Deleted CCFLAGS definition: CCFLAGS=
SPFLAGS macro redefined by Oracle
 from `$(ORACLE_HOME)/unified_bin/spflags`
   to 
OPTIMIZE macro redefined by Oracle
 from $(OPTIMIZE3)
   to 
Deleted OPTIMIZE definition: OPTIMIZE=
LINK macro redefined by Oracle
 from gcc $(COMPOBJS)
   to cc
MAKE macro redefined by Oracle
 from gmake
   to make
Deleted AR definition: AR=ar
LLIBOBK macro redefined by Oracle
 from -lobk
   to 
LIBDLM macro redefined by Oracle
 from $(SKGXN) $(LIBHOME)libudlm.$(LIB_EXT)
   to `echo "$(SKGXN) /usr/lib/libdlm.so"`
LLIBDLM macro redefined by Oracle
 from $(SKGXN) -L /var/opt/ncrdlm/lib -ludlm
   to `echo "$(SKGXN) -ldlm`
LIBNM macro redefined by Oracle
 from $(CLUSTERDIR)/lib/libudlm.so
   to $(LIBDLM)
LLIBNM macro redefined by Oracle
 from $(SKGXN) -ludlm
   to $(LLIBDLM)
RDBMSLIB macro redefined by Oracle
 from $(RDBMSHOME)lib/
   to $(ORACLE_HOME)/rdbms/lib/
LDFLAGS macro redefined by Oracle
 from -o $@ -L$(PRODLIBHOME) -L$(LIBHOME) -L/usr/lib
   to -L$(LIBHOME) -L$(ORACLE_HOME)/rdbms/lib
Deleted LDFLAGS definition: LDFLAGS=-L$(LIBHOME) -L$(ORACLE_HOME)/rdbms/lib
CONFIG macro redefined by Oracle
 from $(RDBMSLIB)config.$(OBJ_EXT)
   to $(ORACLE_HOME)/rdbms/lib/config.o
Evaluating `cat $(LIBHOME)naldflgs`
  expanded `cat /opt/oracle/lib/naldflgs`
cat: /opt/oracle/lib/naldflgs: No such file or directory
  returned ''
Evaluating `cat $(LIBHOME)sysliblist`
  expanded `cat /opt/oracle/lib/sysliblist`
cat: /opt/oracle/lib/sysliblist: No such file or directory
  returned ''

Attempting to discover Oracle OCI build rules...
gcc    -c -o DBD_ORA_OBJ.o DBD_ORA_OBJ.c
by executing:
make -f /opt/oracle/rdbms/demo/demo_rdbms.mk build ECHODO=true ECHO=echo 
GENCLNTSH='echo genclntsh' CC=echo OPTIMIZE= CCFLAGS= EXE=DBD_ORA_EXE 
OBJS=DBD_ORA_OBJ.o
Oracle oci build prolog:
        Building client shared library libclntsh.so ...
        Call script /opt/oracle/bin/genclntsh ...
        echo genclntsh
        Built /opt/oracle/lib/libclntsh.so ... DONE
Oracle oci build command:
        true echo -L/opt/oracle/lib/ -L/opt/oracle/rdbms/lib -o DBD_ORA_EXE 
DBD_ORA_OBJ.o /opt/oracle/rdbms/lib/defopt.o /opt/oracle/lib/sscoreed.o 
/opt/oracle/lib/libclntsh.so /opt/oracle/lib/nautab.o /opt/oracle/lib/naeet.o 
/opt/oracle/lib/naect.o /opt/oracle/lib/naedhs.o `cat /opt/oracle/lib/naldflgs` 
-lnetv2 -lnttcp -lnetwork -lncr  -lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3  
-lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr  -lclient -lvsn 
-lcommon -lgeneric  -lepc -lnlsrtl3  -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient 
-lvsn -lcommon -lgeneric -lnlsrtl3  -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3   `cat 
/opt/oracle/lib/sysliblist` -ldl -lm  -ldl -lnetv2 -lnttcp -lnetwork -lncr  -lnetv2 
-lnttcp -lnetwork -lncr  -lnetv2 -lnttcp -lnetwork -lncr  -lnetv2 -lnttcp -lnetwork 
-lncr  -lnetv2 -lnttcp -lnetwork -lncr  -lsql -lsql 
        cat: /opt/oracle/lib/naldflgs: No such file or directory
        cat: /opt/oracle/lib/sysliblist: No such file or directory
Unable to interpret Oracle oci build commands. Using fallback approach.


System: perl5.008 linux daffy.perf.redhat.com 2.4.18-11smp #1 smp thu aug 15 06:41:59 
edt 2002 i686 i686 i386 gnulinux 
Compiler:   gcc -O2 -march=i386 -mcpu=i686 -D_REENTRANT -D_GNU_SOURCE 
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
Linker:     /usr/bin/ld
Sysliblist: 
Oracle makefiles would have used these definitions but we override them:
  CC:       cc

  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS)\
        $(SHARED_CFLAG) $(USRFLAGS)
           [$(GFLAG) $(QACCFLAGS) -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public 
-I/opt/oracle/plsql/public -I/opt/oracle/network/public $(LPFLAGS) $(USRFLAGS)]

  build:    
        $(ECHODO) $(CC) $(LDFLAGS) -o $(EXE) $(OBJS) $(DEF_OPT) $(SSCOREED) 
$(OCISHAREDLIBS)
Evaluating `cat $(LIBHOME)naldflgs`
  expanded `cat /opt/oracle/lib/naldflgs`
cat: /opt/oracle/lib/naldflgs: No such file or directory
  returned ''
Evaluating `cat $(LIBHOME)sysliblist`
  expanded `cat /opt/oracle/lib/sysliblist`
cat: /opt/oracle/lib/sysliblist: No such file or directory
  returned ''
           [ /opt/oracle/bin/echodo cc -L$(LIBHOME) -L/opt/oracle/rdbms/lib -o $(EXE) 
$(OBJS) /opt/oracle/rdbms/lib/defopt.o $(LIBHOME)sscoreed.o $(LIBHOME)libclntsh.so 
$(LIBHOME)nautab.o $(LIBHOME)naeet.o $(LIBHOME)naect.o $(LIBHOME)naedhs.o -lnetv2 
-lnttcp -lnetwork -lncr -lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3 $(LLIBCV6) 
-lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr -lclient -lvsn 
-lcommon -lgeneric $(LIBPLS_CLT) -lepc -lnlsrtl3 $(LLIBCV6) -lcore4 -lnlsrtl3 -lcore4 
-lnlsrtl3 -lclient -lvsn -lcommon -lgeneric -lnlsrtl3 $(LLIBCV6) -lcore4 -lnlsrtl3 
-lcore4 -lnlsrtl3 $(EXPDLIBS) $(EXOSLIBS) -ldl -lm $(USRLIBS) -ldl -lnetv2 -lnttcp 
-lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr 
-lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lsql -lsql ]

  LDFLAGS:  -L$(LIBHOME) -L$(ORACLE_HOME)/rdbms/lib
           [-L$(LIBHOME) -L/opt/oracle/rdbms/lib]


Linking with /opt/oracle/rdbms/lib/ssdbaed.o /opt/oracle/rdbms/lib/defopt.o 
/opt/oracle/lib/nautab.o /opt/oracle/lib/naeet.o /opt/oracle/lib/naect.o 
/opt/oracle/lib/naedhs.o   -L/opt/oracle/lib -lclntsh     -lnetv2 -lnttcp -lnetwork 
-lncr -lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 
-lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr -lclient -lvsn -lcommon -lgeneric -lepc 
-lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon -lgeneric 
-lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -ldl -lm -ldl -lnetv2 -lnttcp -lnetwork 
-lncr -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp 
-lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lsql -lsql  [from $(SSDBED) 
$(DEF_OPT) $(OCISHAREDLIBS)]


MakeMaker (v6.03)
Checking if your kit is complete...
Looks good
  ABSTRACT_FROM => q[Oracle.pm]
  AUTHOR => q[Tim Bunce ([EMAIL PROTECTED])]
  DEFINE => q[]
  DIR => []
  EXE_FILES => [q[ora_explain]]
  INC => q[-I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public 
-I/opt/oracle/plsql/public -I/opt/oracle/network/public -I/opt/oracle/rdbms/demo 
-I/opt/oracle/rdbms/public 
-I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI]
  LIBS => [q[-L/opt/oracle/lib/   -L/opt/oracle/lib -lclntsh     -lnetv2 -lnttcp 
-lnetwork -lncr -lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4 -lnlsrtl3 
-lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr -lclient -lvsn -lcommon -lgeneric 
-lepc -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon -lgeneric 
-lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -ldl -lm -ldl -lnetv2 -lnttcp -lnetwork 
-lncr -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp 
-lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lsql -lsql ]]
  NAME => q[DBD::Oracle]
  OBJECT => q[$(O_FILES)]
  PREREQ_PM => { DBI=>q[0] }
  VERSION_FROM => q[Oracle.pm]
  clean => { FILES=>q[Oracle.xsi dll.base dll.exp sqlnet.log libOracle.def ora_explain 
mk.pm] }
  dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], COMPRESS=>q[gzip 
-v9], PREOP=>q[$(MAKE) -f Makefile.old distdir], SUFFIX=>q[gz] }
  dynamic_lib => { OTHERLDFLAGS=>q[ /opt/oracle/rdbms/lib/ssdbaed.o 
/opt/oracle/rdbms/lib/defopt.o /opt/oracle/lib/nautab.o /opt/oracle/lib/naeet.o 
/opt/oracle/lib/naect.o /opt/oracle/lib/naedhs.o $(COMPOBJS)] }
Using PERL=/usr/bin/perl
Potential libraries are '-L/opt/oracle/lib/   -L/opt/oracle/lib -lclntsh     -lnetv2 
-lnttcp -lnetwork -lncr -lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4 
-lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr -lclient -lvsn -lcommon 
-lgeneric -lepc -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon 
-lgeneric -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -ldl -lm -ldl -lnetv2 -lnttcp 
-lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr 
-lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr -lsql -lsql':
'-lclntsh' found at /opt/oracle/lib//libclntsh.so.1.0
'-lnetv2' found at /opt/oracle/lib//libnetv2.a
'-lnttcp' found at /opt/oracle/lib//libnttcp.a
'-lnetwork' found at /opt/oracle/lib//libnetwork.a
'-lncr' found at /opt/oracle/lib//libncr.a
'-lclient' found at /opt/oracle/lib//libclient.a
'-lvsn' found at /opt/oracle/lib//libvsn.a
'-lcommon' found at /opt/oracle/lib//libcommon.a
'-lgeneric' found at /opt/oracle/lib//libgeneric.a
'-lmm' found at /opt/oracle/lib//libmm.a
'-lnlsrtl3' found at /opt/oracle/lib//libnlsrtl3.a
'-lcore4' found at /opt/oracle/lib//libcore4.a
'-lnlsrtl3' found at /opt/oracle/lib//libnlsrtl3.a
'-lcore4' found at /opt/oracle/lib//libcore4.a
'-lnlsrtl3' found at /opt/oracle/lib//libnlsrtl3.a
'-lnetv2' found at /opt/oracle/lib//libnetv2.a
'-lnttcp' found at /opt/oracle/lib//libnttcp.a
'-lnetwork' found at /opt/oracle/lib//libnetwork.a
'-lncr' found at /opt/oracle/lib//libncr.a
'-lclient' found at /opt/oracle/lib//libclient.a
'-lvsn' found at /opt/oracle/lib//libvsn.a
'-lcommon' found at /opt/oracle/lib//libcommon.a
'-lgeneric' found at /opt/oracle/lib//libgeneric.a
'-lepc' found at /opt/oracle/lib//libepc.a
'-lnlsrtl3' found at /opt/oracle/lib//libnlsrtl3.a
'-lcore4' found at /opt/oracle/lib//libcore4.a
'-lnlsrtl3' found at /opt/oracle/lib//libnlsrtl3.a
'-lcore4' found at /opt/oracle/lib//libcore4.a
'-lnlsrtl3' found at /opt/oracle/lib//libnlsrtl3.a
'-lclient' found at /opt/oracle/lib//libclient.a
'-lvsn' found at /opt/oracle/lib//libvsn.a
'-lcommon' found at /opt/oracle/lib//libcommon.a
'-lgeneric' found at /opt/oracle/lib//libgeneric.a
'-lnlsrtl3' found at /opt/oracle/lib//libnlsrtl3.a
'-lcore4' found at /opt/oracle/lib//libcore4.a
'-lnlsrtl3' found at /opt/oracle/lib//libnlsrtl3.a
'-lcore4' found at /opt/oracle/lib//libcore4.a
'-lnlsrtl3' found at /opt/oracle/lib//libnlsrtl3.a
dl not found in /opt/oracle/lib/
dl not found in /opt/oracle/lib
dl not found in /usr/local/lib
'-ldl' found at /lib/libdl.so.2
m not found in /opt/oracle/lib/
m not found in /opt/oracle/lib
m not found in /usr/local/lib
'-lm' found at /lib/libm.so.6
dl not found in /opt/oracle/lib/
dl not found in /opt/oracle/lib
dl not found in /usr/local/lib
'-ldl' found at /lib/libdl.so.2
'-lnetv2' found at /opt/oracle/lib//libnetv2.a
'-lnttcp' found at /opt/oracle/lib//libnttcp.a
'-lnetwork' found at /opt/oracle/lib//libnetwork.a
'-lncr' found at /opt/oracle/lib//libncr.a
'-lnetv2' found at /opt/oracle/lib//libnetv2.a
'-lnttcp' found at /opt/oracle/lib//libnttcp.a
'-lnetwork' found at /opt/oracle/lib//libnetwork.a
'-lncr' found at /opt/oracle/lib//libncr.a
'-lnetv2' found at /opt/oracle/lib//libnetv2.a
'-lnttcp' found at /opt/oracle/lib//libnttcp.a
'-lnetwork' found at /opt/oracle/lib//libnetwork.a
'-lncr' found at /opt/oracle/lib//libncr.a
'-lnetv2' found at /opt/oracle/lib//libnetv2.a
'-lnttcp' found at /opt/oracle/lib//libnttcp.a
'-lnetwork' found at /opt/oracle/lib//libnetwork.a
'-lncr' found at /opt/oracle/lib//libncr.a
'-lnetv2' found at /opt/oracle/lib//libnetv2.a
'-lnttcp' found at /opt/oracle/lib//libnttcp.a
'-lnetwork' found at /opt/oracle/lib//libnetwork.a
'-lncr' found at /opt/oracle/lib//libncr.a
'-lsql' found at /opt/oracle/lib//libsql.a
'-lsql' found at /opt/oracle/lib//libsql.a
LD_RUN_PATH=/opt/oracle/lib
Using DBD::Oracle 1.12.
Using DBD::Oracle 1.12.
Using DBI 1.30 installed in 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::Oracle

***  If you have problems...
     read all the log printed above, and the README and README.help files.
     (Of course, you have read README by now anyway, haven't you?)

cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp oraperl.ph blib/lib/oraperl.ph
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oraperl.pm blib/lib/Oraperl.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
/usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" < 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver.xst > 
Oracle.xsi
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8.0/ExtUtils/typemap  Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
gcc -c  -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public -I/opt/oracle/plsql/public 
-I/opt/oracle/network/public -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public 
-I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -D_REENTRANT 
-D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   -DVERSION=\"1.12\" 
-DXS_VERSION=\"1.12\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   
Oracle.c
Oracle.xs: In function `XS_DBD__Oracle__st_ora_fetch':
Oracle.xs:69: warning: passing arg 1 of `fprintf' from incompatible pointer type
Oracle.xs:79: warning: passing arg 1 of `fprintf' from incompatible pointer type
Oracle.xs:83: warning: passing arg 1 of `fprintf' from incompatible pointer type
Oracle.xs:87: warning: passing arg 1 of `fprintf' from incompatible pointer type
gcc -c  -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public -I/opt/oracle/plsql/public 
-I/opt/oracle/network/public -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public 
-I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -D_REENTRANT 
-D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   -DVERSION=\"1.12\" 
-DXS_VERSION=\"1.12\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   
dbdimp.c
dbdimp.c: In function `dbd_fbh_dump':
dbdimp.c:85: warning: initialization from incompatible pointer type
dbdimp.c: In function `ora_db_login6':
dbdimp.c:206: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:212: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:220: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:221: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:222: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:224: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:227: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:228: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:229: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:234: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:236: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:244: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:248: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:249: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:250: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:251: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:252: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:258: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_db_commit':
dbdimp.c:348: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_db_rollback':
dbdimp.c:394: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_db_disconnect':
dbdimp.c:425: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:427: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_db_destroy':
dbdimp.c:454: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:455: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:456: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:457: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_preparse':
dbdimp.c:668: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_rebind_ph_char':
dbdimp.c:783: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:785: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:787: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:790: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:855: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `pp_rebind_ph_rset_in':
dbdimp.c:877: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:889: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:895: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `pp_exec_rset':
dbdimp.c:911: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:917: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:921: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:929: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:976: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:986: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_rebind_ph':
dbdimp.c:1072: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1093: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1101: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1133: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_bind_ph':
dbdimp.c:1180: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1183: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1185: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1186: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_phs_sv_complete':
dbdimp.c:1284: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1294: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1302: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dbd_phs_avsv_complete':
dbdimp.c:1316: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_execute':
dbdimp.c:1340: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1379: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1404: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1417: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1431: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1436: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c:1441: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_blob_read':
dbdimp.c:1580: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_rows':
dbdimp.c:1598: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_finish':
dbdimp.c:1648: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_free_fbh_contents':
dbdimp.c:1680: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_free_phs_contents':
dbdimp.c:1690: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `ora_st_destroy':
dbdimp.c:1719: warning: passing arg 1 of `fprintf' from incompatible pointer type
dbdimp.c: In function `dump_env_to_trace':
dbdimp.c:1935: warning: initialization from incompatible pointer type
gcc -c  -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public -I/opt/oracle/plsql/public 
-I/opt/oracle/network/public -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public 
-I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -D_REENTRANT 
-D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   -DVERSION=\"1.12\" 
-DXS_VERSION=\"1.12\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   
oci7.c
gcc -c  -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public -I/opt/oracle/plsql/public 
-I/opt/oracle/network/public -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public 
-I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -D_REENTRANT 
-D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   -DVERSION=\"1.12\" 
-DXS_VERSION=\"1.12\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   
oci8.c
oci8.c: In function `oci_hdtype_name':
oci8.c:100: `OCI_HTYPE_SUBSCRIPTION' undeclared (first use in this function)
oci8.c:100: (Each undeclared identifier is reported only once
oci8.c:100: for each function it appears in.)
oci8.c:109: `OCI_DTYPE_LOCATOR' undeclared (first use in this function)
oci8.c: In function `oci_error_get':
oci8.c:136: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:144: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_st_prepare':
oci8.c:304: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:307: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:310: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:314: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:317: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:335: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `dbd_phs_in':
oci8.c:375: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `dbd_phs_out':
oci8.c:457: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `dbd_rebind_ph_lob':
oci8.c:597: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:600: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_blob_read_piece':
oci8.c:630: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:653: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:658: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:671: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `fetch_func_autolob':
oci8.c:701: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:740: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:745: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:758: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `fbh_setup_getrefpv':
oci8.c:783: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:789: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_describe':
oci8.c:819: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:827: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:833: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:841: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:860: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:866: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:867: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:869: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:870: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:871: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:872: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:935: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:950: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:981: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:992: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:996: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1026: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1042: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_st_fetch':
oci8.c:1073: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1075: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1084: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1101: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1173: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_parse_uid':
oci8.c:1201: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1204: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_db_reauthenticate':
oci8.c:1220: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1222: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `init_lob_refetch':
oci8.c:1359: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1361: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1366: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1368: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1374: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1377: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1381: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1384: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1389: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1397: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1401: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1405: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1410: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1421: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1472: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1486: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1494: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1502: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1516: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1526: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1529: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1534: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1536: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1554: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1556: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `post_execute_lobs':
oci8.c:1591: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1596: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1610: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1613: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c:1619: warning: passing arg 1 of `fprintf' from incompatible pointer type
oci8.c: In function `ora_free_lob_refetch':
oci8.c:1637: warning: passing arg 1 of `fprintf' from incompatible pointer type
make: *** [oci8.o] Error 1

Reply via email to