You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searching from the Internet for hours only to find that MinGW need a special treatment when compiling a dll file. That is, ld need a special parameter when creating dll file, if without it, we'll get this message instead of a dll file when linking:
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries
To solve this problem, we need to pass the -no-defined argument to ld, this can be done via modifying the Makefile.am in src folder, or someone suggest to use the following command instead of a simple make: make LDFLAGS=-no-undefined
The text was updated successfully, but these errors were encountered:
I've searching from the Internet for hours only to find that MinGW need a special treatment when compiling a dll file. That is,
ld
need a special parameter when creating dll file, if without it, we'll get this message instead of a dll file when linking:To solve this problem, we need to pass the
-no-defined
argument told
, this can be done via modifying theMakefile.am
insrc
folder, or someone suggest to use the following command instead of a simplemake
:make LDFLAGS=-no-undefined
The text was updated successfully, but these errors were encountered: