make[3]: 进入目录“/c/users/Administrator/Desktop/sylpheed-3.7.0/libsylph”
CCLD libsylph-0.la
*** Warning: Trying to link with static lib archive /mingw32/lib/libiconv.a.
*** 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 the file extensions .a of this argument makes me believe
*** that it is just a static archive that I should not use here.
.libs/codeconv.o: In function `conv_iconv_strdup_with_cd':
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/codeconv.c:1566: undefined reference to `libiconv'
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/codeconv.c:1591: undefined reference to `libiconv'
.libs/codeconv.o: In function `conv_utf8tosjis':
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/codeconv.c:896: undefined reference to `libiconv_open'
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/codeconv.c:898: undefined reference to `libiconv_open'
.libs/codeconv.o: In function `conv_utf8toeuc':
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/codeconv.c:935: undefined reference to `libiconv_open'
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/codeconv.c:937: undefined reference to `libiconv_open'
.libs/codeconv.o: In function `conv_euctoutf8':
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/codeconv.c:837: undefined reference to `libiconv_open'
.libs/codeconv.o:C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/codeconv.c:839: more undefined references to `libiconv_open' follow
.libs/codeconv.o: In function `conv_iconv_strdup':
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/codeconv.c:1525: undefined reference to `libiconv_close'
.libs/imap.o: In function `imap_modified_utf7_to_utf8':
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/imap.c:4812: undefined reference to `libiconv'
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/imap.c:4821: undefined reference to `libiconv'
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/imap.c:4768: undefined reference to `libiconv_open'
.libs/imap.o: In function `imap_utf8_to_modified_utf7':
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/imap.c:4885: undefined reference to `libiconv'
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/imap.c:4895: undefined reference to `libiconv'
C:\users\Administrator\Desktop\sylpheed-3.7.0\libsylph/imap.c:4844: undefined reference to `libiconv_open'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [Makefile:565:libsylph-0.la] 错误 1
make[3]: 离开目录“/c/users/Administrator/Desktop/sylpheed-3.7.0/libsylph”
make[2]: *** [Makefile:494:all] 错误 2
make[2]: 离开目录“/c/users/Administrator/Desktop/sylpheed-3.7.0/libsylph”
make[1]: *** [Makefile:531:all-recursive] 错误 1
make[1]: 离开目录“/c/users/Administrator/Desktop/sylpheed-3.7.0”
make: *** [Makefile:439:all] 错误 2
解决方案:
编辑文件 sylpheed-3.7.0\libsylph\Makefile
将 LIBS = -LD:/msys32/mingw32/lib -lssl -lcrypto -LD:/msys32/mingw32/lib -lgthread-2.0 -pthread -lglib-2.0 -lintl
修改为
LIBS = -LD:/msys32/mingw32/lib -lssl -lcrypto -LD:/msys32/mingw32/lib -lgthread-2.0 -pthread -lglib-2.0 -lintl -liconv