开发者

ld doesn't recognize object file

开发者 https://www.devze.com 2023-01-04 11:50 出处:网络
I\'m having problems with compiling a project I\'m working on. Everything else works just fine, but when I compile, I get this error message:

I'm having problems with compiling a project I'm working on. Everything else works just fine, but when I compile, I get this error message:

/usr/bin/ld:obj/content/xmSound.o: file format not recognized; treating as li开发者_如何学Cnker script

I have no idea why this happens. It's probably some error in the code, but I don't know. The source file xmSound.o is compiled from can be found here and the makefile I'm using is here.


Run 'file obj/content/xmSound.o' and compare what it says for that file with some other object file that the loader does not complain about.

The chances are that the rule for building that object file is incorrect, somehow, and the file you have is not an object file at all.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号