- 论坛徽章:
- 78
|
linux直接就成功了,windwos下通过cpan,编译时报错:- dlltool --def C.def --output-exp dll.exp
- C:\STRAWB~1\c\bin\g++.exe -o blib\arch\auto\B\C\C.dll -Wl,--base-file -Wl,dll.ba
- se -mdll -L"C:\Perl\lib\CORE" C.o C:\Perl\lib\CORE\perl510.lib -lkernel32 -lus
- er32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnet
- api32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lm
- svcrt dll.exp
- C.o:C.c:(.text+0xfb): undefined reference to `Perl_Iwatchaddr_ptr'
- C.o:C.c:(.text+0x112): undefined reference to `Perl_Iwatchaddr_ptr'
- C.o:C.c:(.text+0x121): undefined reference to `Perl_Iwatchok_ptr'
- C.o:C.c:(.text+0x138): undefined reference to `Perl_Iwatchaddr_ptr'
- C.o:C.c:(.text+0x14a): undefined reference to `Perl_Iwatchok_ptr'
- C.o:C.c:(.text+0x159): undefined reference to `Perl_Iwatchaddr_ptr'
- collect2: ld returned 1 exit status
- dmake.exe: Error code 129, while making 'blib\arch\auto\B\C\C.dll'
- RURBAN/B-C-1.42.tar.gz
- C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
- Running make test
- Can't test without successful make
- Running make install
- Make had returned bad status, install seems impossible
复制代码 |
|