coskifu / backtrace-mingw

Automatically exported from code.google.com/p/backtrace-mingw
0 stars 0 forks source link

安装编译lib有问题? #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
我的系统是window7,安装了MinGW。
应用命令 mingw32-make

错误信息为:
gcc -O2 -shared -Wall -o backtrace.dll backtrace.c -lbfd -liberty -limagehlp
C:/MinGW/lib/libbfd.a(libbfd.o):libbfd.c:(.text+0x6ee)锛氬鈥榣ibintl_dget
text
鈥欐湭瀹氫箟鐨勫紩鐢
C:/MinGW/lib/libbfd.a(libbfd.o):libbfd.c:(.text+0x740)锛氬鈥榣ibintl_dget
text
鈥欐湭瀹氫箟鐨勫紩鐢
C:/MinGW/lib/libbfd.a(libbfd.o):libbfd.c:(.text+0x79b)锛氬鈥榣ibintl_dget
text
鈥欐湭瀹氫箟鐨勫紩鐢
C:/MinGW/lib/libbfd.a(libbfd.o):libbfd.c:(.text+0x7d0)锛氬鈥榣ibintl_dget
text
鈥欐湭瀹氫箟鐨勫紩鐢
C:/MinGW/lib/libbfd.a(bfd.o):bfd.c:(.text+0x8fd)锛氬鈥榣ibintl_dgettext��
�欐湭
瀹氫箟鐨勫紩鐢
C:/MinGW/lib/libbfd.a(bfd.o):bfd.c:(.text+0x964): more undefined references to `
libintl_dgettext' follow
collect2: ld returned 1 exit status
mingw32-make: *** [backtrace.dll] Error 1

这是什么原因啊?

Original issue reported on code.google.com by wangfeng...@gmail.com on 29 Jul 2010 at 5:27

GoogleCodeExporter commented 8 years ago
加上 -lintl 试试。

Original comment by clou...@gmail.com on 29 Jul 2010 at 7:29

GoogleCodeExporter commented 8 years ago
http://gnuwin32.sourceforge.net/packages/libintl.htm 下载安装 libintl 0.14

Original comment by clou...@gmail.com on 19 Aug 2010 at 9:13