ubgears.c:(.text.unlikely+0x4e4): undefined reference to `sincos’暂时性解决办法

UnixBench5.1.2编译的时候会出现如下的问题

/tmp/ccFbZPUG.o: In function `gear.constprop.1′:
ubgears.c:(.text.unlikely+0x4e4): undefined reference to `sincos’
ubgears.c:(.text.unlikely+0x5b6): undefined reference to `sincos’
ubgears.c:(.text.unlikely+0x66e): undefined reference to `sincos’
ubgears.c:(.text.unlikely+0x6d7): undefined reference to `sincos’
ubgears.c:(.text.unlikely+0x732): undefined reference to `sincos’
/tmp/ccFbZPUG.o:ubgears.c:(.text.unlikely+0x789): more undefined references to `sincos’ follow
/tmp/ccFbZPUG.o: In function `gear.constprop.1′:
ubgears.c:(.text.unlikely+0xfbd): undefined reference to `sincosf’
ubgears.c:(.text.unlikely+0x1012): undefined reference to `sincos’
collect2: ld returned 1 exit status
make: *** [pgms/ubgears] Error 1

这个阿福也不太清楚,毕竟阿福没有深入的学过C/C++所以。不知道问题的愿意,出现上述问题的暂时性解决办法就是将脚本更新到最新版本,如将UnixBench 5.1.2跟新闻5.1.3即可解决

ubgears.c:(.text.unlikely+0x4e4): undefined reference to `sincos’

未经允许不得转载:啊福主机 » ubgears.c:(.text.unlikely+0x4e4): undefined reference to `sincos’暂时性解决办法

赞 (1)

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址