The only fprintf warning I googled was at 
http:[EMAIL PROTECTED]/msg00081.html

Any suggestions appreciated.  I'm assuming since the perl Makefile.PL ran 
clean, I'm using kosher Oracle libraries (binaries worked with Perl 5.6.0).

Thanks,

Dave S.

Appended output of (in order):
        make output
        perl Makefile.PL
        perl -V
     gcc -v

>make
gcc -c  -I/app/oracle/product/8.0.3/rdbms/demo -I/app/oracle/product/8.0.3/rdbms
/public -I/app/oracle/product/8.0.3/plsql/public -I/app/oracle/product/8.0.3/net
work/public -I/app/oracle/product/8.0.3/rdbms/demo -I/app/oracle/product/8.0.3/r
dbms/include -I/app/oracle/product/8.0.3/rdbms/demo -I/share/usr/local/lib/perl5
/site_perl/5.8.0/sun4-solaris/auto/DBI -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC "-I/s
hare/usr/local/lib/perl5/5.8.0/sun4-solaris/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
...etc.
-----------------------------
>perl Makefile.PL
Using DBI 1.32 installed in /share/usr/local/lib/perl5/site_perl/5.8.0/sun4-
solaris/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 /app/oracle/product/8.0.3
8.0.3.0.0            ORACLE Common RDBMS Libraries and Utilities
8.0.3.0.0            ORACLE PL/SQL Libraries
8.0.3.0.0            ORACLE Common Precomp Libraries
8.0.3.0.0            PL/SQL
8.0.3.0.0            Oracle8 Server (RDBMS)

Found header files in rdbms/include rdbms/demo.
Found /app/oracle/product/8.0.3/rdbms/demo/demo_rdbms.mk
Found /app/oracle/product/8.0.3/otrace/demo/atmoci.mk
Using /app/oracle/product/8.0.3/rdbms/demo/demo_rdbms.mk
Reading /app/oracle/product/8.0.3/rdbms/demo/demo_rdbms.mk.
Reading /app/oracle/product/8.0.3/rdbms/lib/env_rdbms.mk.
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.
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.
Evaluating `cat $(LIBHOME)naldflgs`
  expanded `cat /app/oracle/product/8.0.3/lib/naldflgs`
  returned ''
Evaluating `cat $(LIBHOME)sysliblist`
  expanded `cat /app/oracle/product/8.0.3/lib/sysliblist`
  returned '-lnsl -lsocket -lgen -ldl'

Attempting to discover Oracle OCI build rules...
gcc -c  -I/app/oracle/product/8.0.3/rdbms/demo -
I/app/oracle/product/8.0.3/rdbms/public -
I/app/oracle/product/8.0.3/plsql/public -
I/app/oracle/product/8.0.3/network/public -
I/app/oracle/product/8.0.3/rdbms/demo -
I/app/oracle/product/8.0.3/rdbms/include -
I/app/oracle/product/8.0.3/rdbms/demo -
I/share/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI -fno-strict-
aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.12\" -
DXS_VERSION=\"1.12\" -fPIC "-I/share/usr/local/lib/perl5/5.8.0/sun4-
solaris/CORE"   DBD_ORA_OBJ.c
Oracle oci build command:
        true echo -L/app/oracle/product/8.0.3/lib/ -
L/app/oracle/product/8.0.3/rdbms/lib -o DBD_ORA_EXE DBD_ORA_OBJ.o -
lclntsh /app/oracle/product/8.0.3/lib/nautab.o /app/oracle/product/8.0.3/lib/nae
et.o /app/oracle/product/8.0.3/lib/naect.o /app/oracle/product/8.0.3/lib/naedhs.
o `cat /app/oracle/product/8.0.3/lib/naldflgs` -lnetv2 -lnttcp -lnetwork -
lncr  -lnetv2 -lnttcp -lnetwork -lclient -lcommon -lgeneric -lmm -lnlsrtl3  -
lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr  -lnetv2 -
lnttcp -lnetwork -lclient -lcommon -lgeneric  -lepc -lnlsrtl3  -lcore4 -
lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lcommon -lgeneric -lnlsrtl3  -lcore4 -
lnlsrtl3 -lcore4 -lnlsrtl3   `cat /app/oracle/product/8.0.3/lib/sysliblist` -
R /opt/SUNWcluster/lib:/app/oracle/product/8.0.3/lib -Y 
P,/usr/dt/lib:/app/GCG/gcgbin/oblib:/share/usr/local/btk/CurrentRelease/lib:/app
/oracle/product/8.0.3/lib:/share/usr/local/lib/:/usr/lib:/lib:/opt/SUNWcluster/l
ib:/usr/ccs/lib:/usr/lib -Qy -lc -laio -lm  -lthread


System: perl5.008 sunos pauling 5.8 generic_108528-13 sun4u sparc sunw,ultra-250
Compiler:   gcc -O -fno-strict-aliasing -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64
Linker:     /usr/ccs/bin/ld
Sysliblist: -lnsl -lsocket -lgen -ldl
Oracle makefiles would have used these definitions but we override them:
  CC:       cc

  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS)\
        $(SHARED_CFLAG) $(USRFLAGS)
           [$(GFLAG) -xO2 $(CDEBUG) -Xa $(PROFILE) -xstrconst -xF $(XS) -mr -
xarch=v8 -xcache=16/32/1:1024/64/1 -xchip=ultra -D_REENTRANT -K PIC 
$(QACCFLAGS) -I/app/oracle/product/8.0.3/rdbms/demo -
I/app/oracle/product/8.0.3/rdbms/public -
I/app/oracle/product/8.0.3/plsql/public -
I/app/oracle/product/8.0.3/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE -
D_SVID_GETTOD $(LPFLAGS) $(USRFLAGS)]

  LDFLAGS:  -L$(LIBHOME) -L$(ORACLE_HOME)/rdbms/lib
           [-L$(LIBHOME) -L/app/oracle/product/8.0.3/rdbms/lib]


Linking with OTHERLDFLAGS = -L/app/oracle/product/8.0.3/lib/ -
L/app/oracle/product/8.0.3/rdbms/lib   -
lclntsh /app/oracle/product/8.0.3/lib/nautab.o /app/oracle/product/8.0.3/lib/nae
et.o /app/oracle/product/8.0.3/lib/naect.o /app/oracle/product/8.0.3/lib/naedhs.
o `cat /app/oracle/product/8.0.3/lib/naldflgs` -lnetv2 -lnttcp -lnetwork -
lncr  -lnetv2 -lnttcp -lnetwork -lclient -lcommon -lgeneric -lmm -lnlsrtl3  -
lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr  -lnetv2 -
lnttcp -lnetwork -lclient -lcommon -lgeneric  -lepc -lnlsrtl3  -lcore4 -
lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lcommon -lgeneric -lnlsrtl3  -lcore4 -
lnlsrtl3 -lcore4 -lnlsrtl3   `cat /app/oracle/product/8.0.3/lib/sysliblist` -
R/opt/SUNWcluster/lib:/app/oracle/product/8.0.3/lib -
YP,/usr/dt/lib:/app/GCG/gcgbin/oblib:/share/usr/local/btk/CurrentRelease/lib:/ap
p/oracle/product/8.0.3/lib:/share/usr/local/lib/:/usr/lib:/lib:/opt/SUNWcluster/
lib:/usr/ccs/lib:/usr/lib -Qy -lc -laio -lm  -lthread [from 'build' rule]


LD_RUN_PATH=/app/oracle/product/8.0.3/lib:/app/oracle/product/8.0.3/rdbms/lib
Using DBD::Oracle 1.12.
Using DBD::Oracle 1.12.
Using DBI 1.32 installed in /share/usr/local/lib/perl5/site_perl/5.8.0/sun4-
solaris/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?)
--------------------------

>perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos foo 5.8 generic_108528-13 sun4u sparc sunw,ultra-250 '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-fno-strict-aliasing'
    ccversion='', gccversion='3.2', gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Dec 11 2002 14:42:03
  @INC:
    /share/usr/local/lib/perl5/5.8.0/sun4-solaris
    /share/usr/local/lib/perl5/5.8.0
    /share/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
    /share/usr/local/lib/perl5/site_perl/5.8.0
    /share/usr/local/lib/perl5/site_perl/5.6.0
    /share/usr/local/lib/perl5/site_perl
----------------
>gcc -v
Reading specs from /share/usr/local/bin/../lib/gcc-lib/sparc-sun-
solaris2.8/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-
ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2

Reply via email to