From: Bauke Jan Douma <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED],LFS Support List
<[email protected]>
To: LFS Support List <[email protected]>
Subject: Re: error compiling Glibc-2.3.6
Date: Sat, 07 Oct 2006 19:52:22 +0200
This leads us back to the Makefile I suppose, <glibc-2.3.6>/csu/Makefile
which is where version-info.h is generated:
The relative fragment should look like this:
$(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files)
$(make-target-directory)
(case $(config-os) in \
linux*) version=`(printf '%s\n%s\n' \
'#include <linux/version.h>' \
UTS_RELEASE \
| $(CC) $(CPPFLAGS) -E -P - -DNOT_IN_libc=1 |
\
sed -e 's/"\([^"]*\)".*/\1/p' -e d)
2>/dev/null`;\
if [ -z "$$version" ]; then \
if [ -r /proc/version ]; then \
version=`sed 's/.*Linux version \([^ ]*\)
.*/>>\1<</' \
< /proc/version`; \
else \
version=`uname -r`; \
fi; \
fi; \
os=`uname -s 2> /dev/null`; \
if [ -z "$$os" ]; then \
os=Linux; \
fi; \
printf '"Compiled on a %s %s system on %s.\\n"\n' \
"$$os" "$$version" "`date +%Y-%m-%d`";; \
*) ;; \
esac; \
files="$(all-Banner-files)"; \
if test -n "$$files"; then \
echo "\"Available extensions:\\n\""; \
sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \
-e 's/^\(.*\)$$/\"\1\\n\"/' $$files; \
fi) > [EMAIL PROTECTED]
mv -f [EMAIL PROTECTED] $@
Does LFS maybe apply any patches to the stock glibc-2.3.6 tarball?
If so, one of them just might have messed up this Makefile, but
to be honest I doubt it.
bj
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
I compared what you wrote with the same part in the file that I have, by
using "diff" and they are equal.
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.com/
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page