Hallo,
ich habe es noch mal probiert. Hier die Fehlerdatei vom Compiler-Lauf
C:\Software\STRAWB~1\c\bin\dlltool.exe --def Sybase.def --output-exp dll.exp
C:\Software\STRAWB~1\c\bin\g++.exe -o blib\arch\auto\DBD\Sybase\Sybase.dll -Wl,--base-file -Wl,dll.base -LC:\Software\Sybase\15_70/OCS-15_0/dll -mdll -L"C:\Software\ActiveState\Perl\5.16.2\lib\CORE" Sybase.o dbdimp.o C:\Software\ActiveState\Perl\5.16.2\lib\CORE\perl516.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt dll.exp
dbdimp.o:dbdimp.c:(.text+0x1f0): undefined reference to `blk_done'
dbdimp.o:dbdimp.c:(.text+0x8e9): undefined reference to `ct_con_props'
dbdimp.o:dbdimp.c:(.text+0x10c3): undefined reference to `ct_con_props'
dbdimp.o:dbdimp.c:(.text+0x141e): undefined reference to `ct_cancel'
dbdimp.o:dbdimp.c:(.text+0x1632): undefined reference to `blk_drop'
dbdimp.o:dbdimp.c:(.text+0x16eb): undefined reference to `ct_con_props'
dbdimp.o:dbdimp.c:(.text+0x21a0): undefined reference to `ct_close'
.
.
.
dbdimp.o:dbdimp.c:(.text+0xd2cc): undefined reference to `ct_send_data'
dbdimp.o:dbdimp.c:(.text+0xd346): undefined reference to `ct_data_info'
dbdimp.o:dbdimp.c:(.text+0xd3f9): undefined reference to `ct_data_info'
c:/software/strawb~1/c/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: dbdimp.o: bad reloc address 0x20 in section `.data'
c:/software/strawb~1/c/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2: ld returned 1 exit status
dmake: Error code 129, while making 'blib\arch\auto\DBD\Sybase\Sybase.dll'
Im Anhang die veränderte 'Makefile.PL'-Datei. Alles was mit 'dll' habe ich angepaßt.
Anhänge