Hello,

sorry, just a "me too" posting. I was just about to ask for nearly(?) the same problem.

I'm trying with Strawberry Perl 5.12.2.0 and 5.10.0.4, Oracle 10g, DBD::Oracle 1.28, Windows 2000 Professional.

Final problem after tons of warnings: oci8.o: oci8.c: undefined reference to 'OCIServerRelease'

See attached logfile of running perl Makefile.PL and dmake (with Perl 5.12, same messages with 5.10).

I would guess that there is a problem with DBD::Oracle, because we get the same missing symbol for different OS versions, different Perl ports, different Perl versions, different DBI versions, different Oracle versions.

Alexander

On 03/24/2011 12:15 AM, Jason Thurston wrote:
Hello,

Does anyone have any ideas where to go from here?

I think "perl Makefile.PL" is successful but I get an error when
trying the next step "make".
The Error I get when trying to "make" is
"/home/foo/DBD-Oracle-1.28/oci8.c:4619: undefined reference to
`_OCIServerRelease'".  See Below for details.

I originally tried with the cygwin cpan tool but then downloaded the
packaged and tried manually but got the exact same error.


DETAILS:

OS:
Windows 2003 Enterprise X64 Edition

$ uname -a
CYGWIN_NT-5.2-WOW64 mck-rnmwv4-ip42 1.7.8(0.236/5/3) 2011-03-01 09:36
i686 Cygwin

$ env|grep -i ora|two
ORACLE_USER=foo1/foo1@foo
ORACLE_SID=foo
ORACLE_USERID=foo1/foo1@foo
TWO_TASK=foo
TNS_ADMIN=E:\oracle\instantclient_11_2
PATH=/usr/local/bin:/usr/bin:/cygdrive/e/oracle/instantclient_11_2:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/system32/WindowsPowerShell/v1.0:/cygdrive/e/PROGRA~1/BMCSOF~1/Patrol3/bin:/cygdrive/e/PROGRA~1/BMCSOF~1/MASTER~1/server/bin:/cygdrive/c/WINDOWS/system32/WindowsPowerShell/v1.0:/opt/java/bin
CLASSPATH=.;E:\oracle\instantclient_11_2/ojdbc6.jar
ORACLE_HOME=E:\oracle\instantclient_11_2

$ pwd
/home/foo/DBD-Oracle-1.28


$ perl -v

This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int


$ sqlplus foo1/foo1@foo

SQL*Plus: Release 11.2.0.2.0 Production on Wed Mar 23 19:02:30 2011

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

se
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production

SQL>  select * from v$version;

BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
PL/SQL Release 9.2.0.4.0 - Production
CORE    9.2.0.3.0       Production
TNS for HPUX: Version 9.2.0.4.0 - Production
NLSRTL Version 9.2.0.4.0 - Production

SQL>  quit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 -
64bit Production
With the Partitioning and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production




$ perl Makefile.PL
Using DBI 1.616 (for perl 5.010001 on i686-cygwin-thread-multi-64int)
installed in /usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI/

Configuring DBD::Oracle for perl 5.010001 on cygwin
(i686-cygwin-thread-multi-64int)

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

Installing on a cygwin, Ver#1.7
Using Oracle in E:/oracle/instantclient_11_2
DEFINE _SQLPLUS_RELEASE = "1102000200" (CHAR)
Oracle version 11.2.0.2 (11.2)
Using OCI directory 'sdk'

client_version=11.2


DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT
-DORA_OCI_VERSION=\"11.2.0.2\" -DORA_OCI_102 -DORA_OCI_112


Checking for functioning wait.ph


System: perl5.010001 cygwin_nt-5.1 reini 1.7.5(0.22553) 2010-04-12
19:07 i686 cygwin
Compiler:   gcc-4 -O3 -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
Linker:     /usr/bin/ld
Sysliblist:


WARNING: If you have problems you may need to rebuild perl with -Uusemymalloc.
Checking if your kit is complete...
Looks good
LD_RUN_PATH=E:/oracle/instantclient_11_2/lib:E:/oracle/instantclient_11_2/rdbms/lib
Using DBD::Oracle 1.28.
Using DBD::Oracle 1.28.
Using DBI 1.616 (for perl 5.010001 on i686-cygwin-thread-multi-64int)
installed in /usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI/
Writing Makefile for DBD::Oracle

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


$ make
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp oraperl.ph blib/lib/oraperl.ph
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oraperl.pm blib/lib/Oraperl.pm
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp lib/DBD/Oracle/Object.pm blib/lib/DBD/Oracle/Object.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
/usr/bin/perl.exe -p -e "s/~DRIVER~/Oracle/g"
/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI/Driver.xst>
Oracle.xsi
/usr/bin/perl.exe /usr/lib/perl5/5.10/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.10/ExtUtils/typemap -typemap typemap  Oracle.xs>
Oracle.xsc&&  mv Oracle.xsc Oracle.c
gcc-4 -c  -IE:/oracle/instantclient_11_2/sdk/include
-IE:/oracle/instantclient_11_2/rdbms/demo
-I/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI
-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3
-DVERSION=\"1.28\" -DXS_VERSION=\"1.28\"
"-I/usr/lib/perl5/5.10/i686-cygwin/CORE"  -Wall -Wno-comment
-DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.2\" -DORA_OCI_102
-DORA_OCI_112 Oracle.c
gcc-4 -c  -IE:/oracle/instantclient_11_2/sdk/include
-IE:/oracle/instantclient_11_2/rdbms/demo
-I/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI
-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3
-DVERSION=\"1.28\" -DXS_VERSION=\"1.28\"
"-I/usr/lib/perl5/5.10/i686-cygwin/CORE"  -Wall -Wno-comment
-DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.2\" -DORA_OCI_102
-DORA_OCI_112 dbdimp.c
dbdimp.c: In function ‘dbd_rebind_ph_char’:
dbdimp.c:2666: warning: cast from pointer to integer of different size
dbdimp.c: In function ‘dbd_rebind_ph_xml’:
dbdimp.c:2864: warning: cast to pointer from integer of different size
dbdimp.c: In function ‘ora_bind_ph’:
dbdimp.c:3157: warning: format ‘%ld’ expects type ‘long int’,
but argument 2 has type ‘IV’
dbdimp.c:3166: warning: format ‘%ld’ expects type ‘long int’,
but argument 2 has type ‘IV’
dbdimp.c:3200: warning: format ‘%ld’ expects type ‘long int’,
but argument 3 has type ‘IV’
dbdimp.c: At top level:
dbdimp.c:288: warning: ‘oratype_rebind_ok’ defined but not used
gcc-4 -c  -IE:/oracle/instantclient_11_2/sdk/include
-IE:/oracle/instantclient_11_2/rdbms/demo
-I/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI
-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3
-DVERSION=\"1.28\" -DXS_VERSION=\"1.28\"
"-I/usr/lib/perl5/5.10/i686-cygwin/CORE"  -Wall -Wno-comment
-DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.2\" -DORA_OCI_102
-DORA_OCI_112 oci8.c
oci8.c: In function ‘ora_blob_read_mb_piece’:
oci8.c:1737: warning: format ‘%lu’ expects type ‘long unsigned
int’, but argument 6 has type ‘ub4’
oci8.c: In function ‘ora_st_fetch’:
oci8.c:3895: warning: format ‘%d’ expects type ‘int’, but
argument 4 has type ‘IV’
oci8.c:3895: warning: format ‘%d’ expects type ‘int’, but
argument 4 has type ‘IV’
oci8.c:3903: warning: format ‘%d’ expects type ‘int’, but
argument 3 has type ‘IV’
oci8.c:3903: warning: format ‘%d’ expects type ‘int’, but
argument 3 has type ‘IV’
rm -f blib/arch/auto/DBD/Oracle/Oracle.dll
LD_RUN_PATH="E:/oracle/instantclient_11_2/lib:E:/oracle/instantclient_11_2/rdbms/lib"
g++-4  --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols
-Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib
-fstack-protector Oracle.o dbdimp.o oci8.o  -o
blib/arch/auto/DBD/Oracle/Oracle.dll   \
          /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll
-L/home/e8hqxdh/DBD-Oracle-1.28 -loci       \

oci8.o: In function `ora_db_version':
/home/foo/DBD-Oracle-1.28/oci8.c:4619: undefined reference to
`_OCIServerRelease'
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Oracle/Oracle.dll] Error 1
Using DBI 1.615 (for perl 5.012002 on MSWin32-x86-multi-thread) installed in 
c:/strawberry/perl/vendor/lib/auto/DBI/

Configuring DBD::Oracle for perl 5.012002 on MSWin32 (MSWin32-x86-multi-thread)

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

Installing on a MSWin32, Ver#5.1
Using Oracle in D:/oracle/product/10.2.0/client_1
DEFINE _SQLPLUS_RELEASE = "1002000100" (CHAR)
Oracle version 10.2.0.1 (10.2)
Found oci directory
Using OCI directory 'oci'

client_version=10.2


DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"10.2.0.1\" 
-DORA_OCI_102


Checking for functioning wait.ph


System: perl5.012002 Win32 strawberryperl 5.12.2.0 #1 Fri Nov  5 05:17:27 2010 
i386
Compiler:   gcc -s -O2  -s -O2 -DWIN32 -DHAVE_DES_FCRYPT  -DUSE_SITECUSTOMIZE 
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields 
-DPERL_MSVCRT_READFIX
Linker:     not found
Sysliblist: 

Checking if your kit is complete...
Looks good
LD_RUN_PATH=D:/oracle/product/10.2.0/client_1/lib:D:/oracle/product/10.2.0/client_1/rdbms/lib
Using DBD::Oracle 1.28.
Using DBD::Oracle 1.28.
Using DBI 1.615 (for perl 5.012002 on MSWin32-x86-multi-thread) installed in 
c:/strawberry/perl/vendor/lib/auto/DBI/
Writing Makefile for DBD::Oracle

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

cp Oracle.pm blib\lib\DBD\Oracle.pm
cp oraperl.ph blib\lib/oraperl.ph
cp dbdimp.h blib\arch\auto\DBD\Oracle/dbdimp.h
cp ocitrace.h blib\arch\auto\DBD\Oracle/ocitrace.h
cp Oraperl.pm blib\lib/Oraperl.pm
cp Oracle.h blib\arch\auto\DBD\Oracle/Oracle.h
cp lib/DBD/Oracle/Object.pm blib\lib\DBD\Oracle\Object.pm
cp mk.pm blib\arch\auto\DBD\Oracle/mk.pm
cp lib/DBD/Oracle/GetInfo.pm blib\lib\DBD\Oracle\GetInfo.pm
C:\strawberry\perl\bin\perl.exe -p -e "s/~DRIVER~/Oracle/g" 
C:\strawberry\perl\vendor\lib\auto\DBI\Driver.xst > Oracle.xsi
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp  
-typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap  Oracle.xs > 
Oracle.xsc && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- 
Oracle.xsc Oracle.c
gcc -c  -ID:/oracle/product/10.2.0/client_1/oci/include 
-ID:/oracle/product/10.2.0/client_1/rdbms/demo 
-IC:\strawberry\perl\vendor\lib\auto\DBI         -s -O2 -DWIN32 
-DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT 
-DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX 
-s -O2         -DVERSION=\"1.28\"    -DXS_VERSION=\"1.28\"  
"-IC:\strawberry\perl\lib\CORE"  -Wall -Wno-comment -DUTF8_SUPPORT 
-DORA_OCI_VERSION=\"10.2.0.1\" -DORA_OCI_102 Oracle.c
Oracle.c: In function 'XS_DBD__Oracle_constant':
Oracle.c:74: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle_ORA_OCI':
Oracle.c:108: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle_ora_env_var':
Oracle.c:131: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__dr_dbixs_revision':
Oracle.c:185: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db__login':
Oracle.c:278: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_selectall_arrayref':
Oracle.c:320: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_selectrow_arrayref':
Oracle.c:387: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_commit':
Oracle.c:549: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_rollback':
Oracle.c:572: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_disconnect':
Oracle.c:595: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_STORE':
Oracle.c:629: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_FETCH':
Oracle.c:657: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_DESTROY':
Oracle.c:682: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st__prepare':
Oracle.c:831: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_rows':
Oracle.c:870: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_bind_col':
Oracle.c:895: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_bind_param':
Oracle.c:952: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_bind_param_inout':
Oracle.c:1000: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_execute':
Oracle.c:1054: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_fetchrow_arrayref':
Oracle.c:1126: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_fetchrow_array':
Oracle.c:1151: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_fetchall_arrayref':
Oracle.c:1186: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_finish':
Oracle.c:1227: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_blob_read':
Oracle.c:1263: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_STORE':
Oracle.c:1307: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_FETCH_attrib':
Oracle.c:1335: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_DESTROY':
Oracle.c:1363: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_ora_stmt_type':
Oracle.c:1419: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_ora_stmt_type_name':
Oracle.c:1444: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_ora_scroll_position':
Oracle.c:1471: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_ora_fetch_scroll':
Oracle.c:1496: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_ora_bind_param_inout_array':
Oracle.c:1527: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_ora_fetch':
Oracle.c:1573: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_ora_execute_array':
Oracle.c:1632: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__st_cancel':
Oracle.c:1680: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_ora_ping':
Oracle.c:1701: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_reauthenticate':
Oracle.c:1752: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_ora_lob_write':
Oracle.c:1775: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_ora_lob_append':
Oracle.c:1853: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_ora_lob_read':
Oracle.c:1931: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_ora_lob_trim':
Oracle.c:2005: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_ora_lob_is_init':
Oracle.c:2047: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_ora_lob_length':
Oracle.c:2089: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__db_ora_lob_chunk_size':
Oracle.c:2131: warning: unused variable 'Perl___notused'
Oracle.c: In function 'XS_DBD__Oracle__dr_init_oci':
Oracle.c:2173: warning: unused variable 'Perl___notused'
Oracle.c: In function 'boot_DBD__Oracle':
Oracle.c:2197: warning: unused variable 'Perl___notused'
gcc -c  -ID:/oracle/product/10.2.0/client_1/oci/include 
-ID:/oracle/product/10.2.0/client_1/rdbms/demo 
-IC:\strawberry\perl\vendor\lib\auto\DBI         -s -O2 -DWIN32 
-DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT 
-DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX 
-s -O2         -DVERSION=\"1.28\"    -DXS_VERSION=\"1.28\"  
"-IC:\strawberry\perl\lib\CORE"  -Wall -Wno-comment -DUTF8_SUPPORT 
-DORA_OCI_VERSION=\"10.2.0.1\" -DORA_OCI_102 dbdimp.c
dbdimp.c: In function 'GetRegKey':
dbdimp.c:134: warning: pointer targets in passing argument 5 of 
'RegQueryValueExA' differ in signedness
c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw32/include/winreg.h:219:
 note: expected 'LPBYTE' but argument is of type 'char *'
dbdimp.c: In function 'dbd_discon_all':
dbdimp.c:212: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'ora_db_login6':
dbdimp.c:393: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'ora_db_disconnect':
dbdimp.c:1141: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'createxmlfromstring':
dbdimp.c:1437: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'ora_realloc_phs_array':
dbdimp.c:1721: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'pp_rebind_ph_rset_in':
dbdimp.c:2688: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'pp_exec_rset':
dbdimp.c:2795: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'dbd_rebind_ph_xml':
dbdimp.c:2838: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'ora_st_execute':
dbdimp.c:3341: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'ora_st_execute_array':
dbdimp.c:3668: warning: unused variable 'Perl___notused'
dbdimp.c: In function 'ora_st_finish':
dbdimp.c:3996: warning: unused variable 'Perl___notused'
dbdimp.c: At top level:
dbdimp.c:287: warning: 'oratype_rebind_ok' defined but not used
gcc -c  -ID:/oracle/product/10.2.0/client_1/oci/include 
-ID:/oracle/product/10.2.0/client_1/rdbms/demo 
-IC:\strawberry\perl\vendor\lib\auto\DBI         -s -O2 -DWIN32 
-DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT 
-DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX 
-s -O2         -DVERSION=\"1.28\"    -DXS_VERSION=\"1.28\"  
"-IC:\strawberry\perl\lib\CORE"  -Wall -Wno-comment -DUTF8_SUPPORT 
-DORA_OCI_VERSION=\"10.2.0.1\" -DORA_OCI_102 oci8.c
oci8.c: In function 'dbd_yes_no':
oci8.c:30: warning: unused variable 'my_perl'
oci8.c: In function 'oci_db_handle':
oci8.c:929: warning: unused variable 'my_perl'
oci8.c: In function 'oci_st_handle':
oci8.c:947: warning: unused variable 'my_perl'
oci8.c: In function 'ora_utf8_to_bytes':
oci8.c:1314: warning: unused variable 'my_perl'
oci8.c: In function 'fetch_cleanup_rset':
oci8.c:1410: warning: unused variable 'Perl___notused'
oci8.c: In function 'fetch_func_rset':
oci8.c:1434: warning: unused variable 'Perl___notused'
oci8.c: In function 'ora_blob_read_mb_piece':
oci8.c:1737: warning: format '%lu' expects type 'long unsigned int', but 
argument 6 has type 'ub4'
oci8.c: In function 'fetch_func_autolob':
oci8.c:2050: warning: unused variable 'my_perl'
oci8.c: In function 'calc_cache_rows':
oci8.c:2088: warning: unused variable 'my_perl'
oci8.c: In function 'fetch_get_piece':
oci8.c:2639: warning: unused variable 'Perl___notused'
oci8.c: In function 'ora_st_fetch':
oci8.c:3797: warning: unused variable 'Perl___notused'
oci8.c:3804: warning: unused variable 'Perl___notused'
oci8.c:3895: warning: format '%d' expects type 'int', but argument 4 has type 
'IV'
oci8.c:3903: warning: format '%d' expects type 'int', but argument 3 has type 
'IV'
Running Mkbootstrap for DBD::Oracle ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Oracle.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"DBD::Oracle\", 'DLBASE' => 'Oracle', 'DL_FUNCS' 
=> {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def Oracle.def --output-exp dll.exp
g++ -o blib\arch\auto\DBD\Oracle\Oracle.dll -Wl,--base-file -Wl,dll.base -mdll 
-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Oracle.o      
dbdimp.o        oci8.o -Wl,--image-base,0x23170000  
C:\strawberry\perl\lib\CORE\libperl512.a liboci.a 
C:\strawberry\c\i686-w64-mingw32\lib\libmoldname.a 
C:\strawberry\c\i686-w64-mingw32\lib\libkernel32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libuser32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libgdi32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libwinspool.a 
C:\strawberry\c\i686-w64-mingw32\lib\libcomdlg32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libadvapi32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libshell32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libole32.a 
C:\strawberry\c\i686-w64-mingw32\lib\liboleaut32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libnetapi32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libuuid.a 
C:\strawberry\c\i686-w64-mingw32\lib\libws2_32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libmpr.a 
C:\strawberry\c\i686-w64-mingw32\lib\libwinmm.a 
C:\strawberry\c\i686-w64-mingw32\lib\libversion.a 
C:\strawberry\c\i686-w64-mingw32\lib\libodbc32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a 
C:\strawberry\c\i686-w64-mingw32\lib\libcomctl32.a dll.exp
oci8.o:oci8.c:(.text+0x3dfe): undefined reference to `OCIServerRelease'
collect2: ld returned 1 exit status
dmake:  Error code 129, while making 'blib\arch\auto\DBD\Oracle\Oracle.dll'

Reply via email to