Hi Perl Monks
I am a total newbie when it comes to Perl and I am currently trying (without success!) to compile the DBD::Sybase (OCS 15.7) using Strawberry Perl 5.18.2001 on a Windows 2008 R2 server.
Warnings and errors I am seeing are shown below starting with the makefile:-
Warning (mostly harmless): No library found for -llibsybtcl.lib
Warning (mostly harmless): No library found for -llibsybcomn.lib
Warning (mostly harmless): No library found for -llibsybintl.lib
Then the dmake comes up with a number of issues:-
dbdimp.c:3906:4: warning: passing argument 2 of 'ct_results' from incompatible pointer type enabled by default
In file included from Sybase.h:19:0,
from dbdimp.c:11:
C:\Progra~1\Sybase/OCS-15_0/include/ctpublic.h:374:29: note: expected 'CS_INT *' but argument is of type 'int *'
dbdimp.c:3930:7: warning: passing argument 5 of 'ct_bind' from incompatible pointer type enabled by default
In file included from Sybase.h:19:0,
from dbdimp.c:11:
C:\Progra~1\Sybase/OCS-15_0/include/ctpublic.h:113:29: note: expected 'CS_INT *' but argument is of type 'int *'dbdimp.o:dbdimp.c:(.text+0x202): undefined reference to `blk_done'
dbdimp.o:dbdimp.c:(.text+0x8e9): undefined reference to `ct_con_props'
dbdimp.o:dbdimp.c:(.text+0xef4): undefined reference to `ct_con_props'
dbdimp.o:dbdimp.c:(.text+0x14d3): undefined reference to `ct_cancel'
dbdimp.o:dbdimp.c:(.text+0x1788): undefined reference to `blk_drop'
c:/strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/4.7.3/../../../../x86_64-w64-mingw32/bin/ld.exe: dbdimp.o: bad reloc address 0 x20 in section `.data'
c:/strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/4.7.3/../../../../x86_64-w64-mingw32/bin/ld.exe: final link failed: Invalid op eration
collect2.exe: error: ld returned 1 exit status
dmake: Error code 129, while making 'blib\arch\auto\DBD\Sybase\Sybase.dll'
Any help is much appreciated
In reply to Problems Compiling DBD::Sybase by PerlNM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |