Hi. I am trying to do a stage 1 build of glibc 2.5.1 for powerpc, on Debian sid, with the following configure arguments:
configure --prefix=/tools --disable-profile --enable-add-ons --enable-kernel=2.6.0 --with-binutils=/tools/bin --without-gd --with-headers=/tools/include --without-selinux --host=powerpc-linux-gnu --build=powerpc-linux-gnu --without-cvs Unfortunately, it keeps failing with: bcopy.c:21:1: warning: "memmove" redefined In file included from ../include/bits/string3.h:1, from ../string/string.h:440, from ../include/string.h:49, from bcopy.c:19: ../string/bits/string3.h:55:1: warning: this is the location of the previous definition In file included from bcopy.c:29: ./memmove.c:42: error: expected identifier or '(' before 'void' ./memmove.c:42: error: expected ')' before '(' token ./memmove.c:46: error: expected identifier or '(' before '{' token The problem is with __USE_BSD, which leads to the inclusion of bcopy.c, which in turn tries to include memmove.c, with memmove re-defined to bcopy. However, before that, in string3.h, bcopy gets defined to memmove_chk, and the whole thing fails to compile due to obvious "void ((void).." in the resulting function declaration. While I can override this particular quirk, a couple of problems arise later, all due to the strange feature macro combination I get. Did anyone see such a thing before? -- Regards, Wartan. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page