Re: 3.14-rc7 compile failure

From: Drunkard Zhang
Date: Sun Mar 23 2014 - 07:09:26 EST


2014-03-23 16:23 GMT+08:00 Mike Galbraith <umgwanakikbuti@xxxxxxxxx>:
> On Sun, 2014-03-23 at 14:58 +0800, Drunkard Zhang wrote:
>> 2014-03-23 13:52 GMT+08:00 Mike Galbraith <umgwanakikbuti@xxxxxxxxx>:
>> > On Sun, 2014-03-23 at 13:29 +0800, Drunkard Zhang wrote:
>> >
>> >> scripts/genksyms/genksyms.o: In function `main':
>> >> genksyms.c:(.text.startup+0x183): undefined reference to `yydebug'
>> >> genksyms.c:(.text.startup+0x18c): undefined reference to `yy_flex_debug'
>> >> genksyms.c:(.text.startup+0x1a5): undefined reference to `yyparse'
>> >> collect2: error: ld returned 1 exit status
>> >> make[2]: *** [scripts/genksyms/genksyms] Error 1
>> >> make[1]: *** [scripts/genksyms] Error 2
>> >> make[1]: *** Waiting for unfinished jobs....
>> >
>> > flex and bison installed? rpm -q flex bison
>> >
>> I'm using Gentoo.
>> squid85 ~ # qlist -Iv flex bison
>> sys-devel/bison-2.4.3
>> sys-devel/flex-2.5.37
>> squid85 ~ # cat /etc/gentoo-release
>> Gentoo Base System release 2.2
>
> No idea. I'd make mrproper, re-config and try again. Given it builds
> fine for the rest of the planet (afaik), it's gotta be local breakage.
>
I cleaned and did it over, this time I succeeded! Still didn't know
why, thanks again :)
squid85 /usr/src/linux-3.14-rc7 # make -j12 mrproper
[reconfig]
squid85 /usr/src/linux-3.14-rc7 # make -j3 && make modules_install install
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/