红联Linux门户
Linux帮助

出现cp: cannot stat `compile/svscan': No such file or directory的解决方法

发布时间:2014-04-15 15:47:46来源:红联作者:tioced
在Linux系统中编译daemontools,结果出来了如下错误信息:

/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in envdir.o
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [envdir] Error 1
Copying commands into ./command...
cp: cannot stat `compile/svscan': No such file or directory

解决方法很简单,在src/conf-cc的后面加上:

-include /usr/include/errno.h
文章评论

共有 0 条评论