D:\bin\mingw\lib\にコピーしたlibrexec.aがリンクされない。なにが悪いのだろう?
D:\work\FIBSCookieMonster>python setup.py build -c mingw32
running build
running build_py
copying FIBSCookieMonster.py -> build\lib.win32-2.4
running build_ext
building '_FIBSCookieMonster' extension
swigging FIBSCookieMonster.i to FIBSCookieMonster_wrap.c
D:\bin\swigwin\swig.exe -python -o FIBSCookieMonster_wrap.c FIBSCookieMonster.i
D:\bin\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -Ic:\Python24\include -Ic:\P
ython24\PC -c FIBSCookieMonster_wrap.c -o build\temp.win32-2.4\Release\fibscooki
emonster_wrap.o
In file included from FIBSCookieMonster_wrap.c:2508:
clip.h:31:48: warning: no newline at end of file
writing build\temp.win32-2.4\Release\_FIBSCookieMonster.def
D:\bin\mingw\bin\gcc.exe -mno-cygwin -shared -s build\temp.win32-2.4\Release\fib
scookiemonster_wrap.o build\temp.win32-2.4\Release\fibscookiemonster.o build\tem
p.win32-2.4\Release\_FIBSCookieMonster.def -Lc:\Python24\libs -Lc:\Python24\PCBu
ild -lpython24 -lmsvcr71 -o build\lib.win32-2.4\_FIBSCookieMonster.pyd
build\temp.win32-2.4\Release\fibscookiemonster.o:FIBSCookieMonster.c:(.text+0xbf
): undefined reference to `regexec'
build\temp.win32-2.4\Release\fibscookiemonster.o:FIBSCookieMonster.c:(.text+0x10
7): undefined reference to `regexec'
build\temp.win32-2.4\Release\fibscookiemonster.o:FIBSCookieMonster.c:(.text+0x14
7): undefined reference to `regexec'
build\temp.win32-2.4\Release\fibscookiemonster.o:FIBSCookieMonster.c:(.text+0x1a
0): undefined reference to `regexec'
build\temp.win32-2.4\Release\fibscookiemonster.o:FIBSCookieMonster.c:(.text+0x1f
6): undefined reference to `regexec'
build\temp.win32-2.4\Release\fibscookiemonster.o:FIBSCookieMonster.c:(.text+0x26
d2): undefined reference to `regcomp'
build\temp.win32-2.4\Release\fibscookiemonster.o:FIBSCookieMonster.c:(.text+0x27
1d): undefined reference to `regfree'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
考えらること
参考になりそうなスレッド
0 件のコメント:
コメントを投稿