-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't generate DLL on windowd under mSYS2 #119
Comments
I hope someone with a Windowd machine can help out here, I'm UNIX all the way unless I dig out an old Windows XP ThinkPad from the closet ... |
Latest msys2 have Someone more versed in Windows would probably do a better job of this. |
Hello.
I updated mSys2 to last version and when trying to compile the DLL, it gives me errors.
I corrected a declaration in libnet-structures.h (i__nt64_t => int64_t)
and it compiles but at the moment of generating a DLL it gives me these messages :
`
*** Warning: linker path does not have real file for library -lwpcap.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libwpcap and none of the candidates passed a file format test
*** using a file magic. Last file checked: /home/BSaidus/lnet/libnet-1.2/win32/wpdpack/Lib/libwpcap.a
*** Warning: linker path does not have real file for library -lpacket.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libpacket and none of the candidates passed a file format test
*** using a file magic. Last file checked: /home/BSaidus/lnet/libnet-1.2/win32/wpdpack/Lib/libpacket.a
*** Warning: linker path does not have real file for library -lws2_32.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libws2_32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/msys64/mingw32/i686-w64-mingw32/lib/libws2_32.a
*** Warning: linker path does not have real file for library -liphlpapi.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libiphlpapi and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/msys64/mingw32/i686-w64-mingw32/lib/libiphlpapi.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
I think the archive misses the .def file.
`
The text was updated successfully, but these errors were encountered: