Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't generate DLL on windowd under mSYS2 #119

@bsaidus

Description

@bsaidus

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.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions