When cross compiling cvs project for x86-64, it fails. Error log is pasted below. Strangely for other archs, it works fine. Also, it could be compiled normally on i686/x86-64 host. If you don't have the test project, please goto fetch it from http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/cvs.html Thanks & Regards, criping make all-recursive make[1]: Entering directory `/home/lke/test_repo/test_output/0.9+snapshot/x86-64/cvs-1.11.23' Making all in lib make[2]: Entering directory `/home/lke/test_repo/test_output/0.9+snapshot/x86-64/cvs-1.11.23/lib' x86_64-poky-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -m64 --sysroot=/opt/poky/0.9+snapshot/sysroots/x86_64-poky-linux -MT getline.o -MD -MP -MF .deps/getline.Tpo -c -o getline.o getline.c In file included from getline.c:25:0: getline.h:15:3: error: conflicting types for 'getline' /opt/poky/0.9+snapshot/sysroots/x86_64-poky-linux/usr/include/stdio.h:671:20: note: previous declaration of 'getline' was here getline.c:158:1: error: conflicting types for 'getline' /opt/poky/0.9+snapshot/sysroots/x86_64-poky-linux/usr/include/stdio.h:671:20: note: previous declaration of 'getline' was here make[2]: *** [getline.o] Error 1 make[2]: Leaving directory `/home/lke/test_repo/test_output/0.9+snapshot/x86-64/cvs-1.11.23/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/lke/test_repo/test_output/0.9+snapshot/x86-64/cvs-1.11.23' make: *** [all] Error 2
An update: It can't be compiled on x86-64 host also. So, it should not be poky bug. It's well possible that the cvs code isn't not well written. Thanks& Regards, criping
Seems a CVS issue instead of Yocto issue, probably time to update the test programs