On 3/19/2011 10:17 PM, Rob Landley wrote:
I'm running my Linux From Scratch 6.7 build under a uClibc root
filesystem, and building m4 1.14.4 has this error:

gcc -std=gnu99  -I.     -g -O2 -MT execute.o -MD -MP -MF
.deps/execute.Tpo -c -o execute.o execute.c
In file included from execute.c:47:
./spawn.h:112: error: field '_sp' has incomplete type
distcc[23848] ERROR: compile execute.c on localhost failed
make[3]: *** [execute.o] Error 1
make[3]: Leaving directory `/home/m4/lib'



Apply the fixes e.g. http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/bison/bison-2.4.3/uclibc-sched_param-def.patch


The attached patch made m4 and bison build against 0.9.31, but it
doesn't fix it in 0.9.32-rc3.  Apparently uClibc has "optimized" away
fields that both m4 and bison are reaching out and touching directly.

(Oh, and some of the time the configure test to see if strstr happens in
linear time hangs indefinitely, the alarm() that's supposed to wake it
up apparently doesn't.  For that one it might be relevant that I'm
currently testing on mips, for the rest it's not target specific.)

Rob



_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to