开发者

make>> /usr/bin/ld: final link failed: Numerical result out of range

My previous code was compiling fine but a recent upgrade messed up something and when I run make I get the following error on a simple example.

make
/usr/bin/ld: final link failed: Numerical result out of range
collect2: ld returned 1 exit status
make: *** [SimpleExample] Error 1

The example code basically does nothing, it just prints "hello". Any开发者_开发问答one aware of this issue?? Thank you.


I have encountered this issue a few times. Every single time it had something to do with the build happening on an NTFS or network filesystem. Moving the build directory to a proper Unix FS (e.g. ext3/4) fixed the issue.

We cannot help you more, unless you provide additional information, such as your platform, programming language and perhaps some sample code that reproduces this issue on your system.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜