generating csu/version-info.h
Dan Kegel
dank@kegel.com
Fri Jan 2 07:15:00 GMT 2004
Arkadiusz Miskiewicz wrote:
> While compiling today snapshot (with some patches applied):
>
> In file included from version.c:33:
> /home/users/misiek/rpm/BUILD/glibc-2.3.3/builddir/csu/version-info.h:1:1: missing terminating " character
>...
> Seems that this is needed:
> echo "\"Compiled on a $$os $$version system" \
> - "on `date +%Y-%m-%d`.\\n\"" ;; \
> + "on `date +%Y-%m-%d`.\\\\n\"" ;; \
> *) ;; \
>
> and then
> - echo "\"Available extensions:\\n\""; \
> + echo "\"Available extensions:\\\\n\""; \
>
>
> ps. My /bin/sh is pdksh, sed 4.0.8
It matters that your shell is pdksh, I bet.
Hmm. I seem to recall that the following patch from 25 sept 03:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/csu/Makefile.diff?r1=1.70&r2=1.71&cvsroot=glibc
fixes this. I can't recall any of the details, so maybe I'm wrong.
But see also
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=207391
which discusses it a bit from a different angle.
- Dan
More information about the Libc-alpha
mailing list