I'm seeing the following in m4 (in chapter 5 - I'm also trying glibc-2.12.1)
path.c:118:7: warning: implicit declaration of function 'fstat'
path.c:118:7: warning: implicit declaration of function 'S_ISDIR'
...
path.o: In function `m4_fopen':
path.c:(.text+0x3a): undefined reference to `S_ISDIR'

 The attached patch from openembedded works for me.

 I would have thought that gcc-4.5 or gcc-4.5.1 were the likely cause,
but since nobodyelse has reported it, perhaps it's a glibc-2.12 issue ?

NB I'm also using --enable-kernel=2.6.33 for glibc.

 Normally, I would just commit this to patches once I was sure the
build works, but I'm still trying Andy's suggestions for glibc so I'm
some hours away from doing that!

ĸen
-- 
After tragedy, and farce, "OMG poneys!"

Attachment: m4-1.4.14-compile_fix-1.patch
Description: Binary data

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to