[Buildroot] buildroot compilation error "extra tokens at end of #ident directive"
Rob Landley
rob at landley.net
Tue Jul 25 20:39:25 UTC 2006
On Tuesday 25 July 2006 2:06 pm, Drew Cohan wrote:
> CC modutils/insmod.o
> /home/pkuser/buildroot/build_i686/busybox/modutils/insmod.c:352:10: extra
> tokens at end of #ident directive
> /home/pkuser/buildroot/build_i686/busybox/modutils/insmod.c:515:10: extra
> tokens at end of #ident directive
Huh, that would be my problem. (Rummages.) svn 15743 should fix this, which
should be in tonight's snapshot.
> The two offending lines in the source code are identical:
>
> #ident "$Id: insmod.c,v 1.126 2004/12/26 09:13:32 vapier Exp $"
> #ident "$Id: insmod.c,v 1.126 2004/12/26 09:13:32 vapier Exp $"
They have been yanked.
I take it this is a gcc 4.1 issue? (I've tested rather a lot with gcc 4.0,
but only got a gcc 4.1 environment set up while I was at OLS, and have been
too busy to play with it since I got back...) Alas, -Werror is a bit harsh
but it does catch the warnings early...
Let me know if you hit anything else in busybox.
Rob
--
Never bet against the cheap plastic solution.
More information about the buildroot
mailing list