标题:cross compile libuuid.a error
作者:zjwzjw
日期:2006-05-24 17:16
内容:
this is the error message when i was compiling qt. why that lib is imcompatible? i use cross compiler to compile libuuid.a
/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: skipping incompatible /usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2/libuuid.a when searching for -luuid
/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: cannot find -luuid
#1 [shiroki 05-24 17:50]
google shows it is caused by bit difference. that is maybe you used a 32bit ld and tried to link to 64bit uuid...
never saw this error.
#2 [zjwzjw 05-29 20:40]
问题解决了,都是自己的错,我把自己编译的文件放到了/usr/local/arm-linux/lib下,但实际上在/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2下还有一个libuuid.a,什么时候放进去了也不知道,文件大小也不同,而qt编译时找的就是后面这个位置,我把它换成自己的那个后现在可以正常编译了