您的位置:首页 > 其它

编译ez-ipupdate 出错解决方法

2012-12-03 17:32 886 查看
错误:

gcc -g -O2 -o ez-ipupdate ez-ipupdate.o conf_file.o md5.o cache_file.o pid_file.o

/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in conf_file.o

/lib/libc.so.6: could not read symbols: Bad value

collect2: ld returned 1 exit status

make: *** [ez-ipupdate] Error 1

解决:

Makefile 中

.c.o:

$(COMPILE) -c $<

改为:

.c.o:

$(COMPILE) -include /usr/include/errno.h -c $<
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: