当我在我试图构建的这个程序上运行 make 时,我收到以下警告:
ld: warning: ignoring file ../lib/libiptools.a, file was built for archive which is not the architecture being linked (x86_64)
ld: warning: ignoring file ../lib/libmpeg.a, file was built for archive which is not the architecture being linked (x86_64)
然后它显然无法编译:
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [iptool] Error 1
我只是很难弄清楚如何更改我的 make 文件并为此正确编译,因为我不熟悉档案。任何建议都值得赞赏,因为我确信我错过了一些简单的东西。我正在使用 Mac OS X Mountain Lion。