On 06.04.2015 23:59, [email protected] wrote:
> Hi,
> 
> I'm running LFS 7.7 and I have a libre kernel (3.19.3) that I patched with 
> grsecurity.
> 
> In trying to compile 'gradmn,' the administration utility for grsecurity, I'm 
> getting an error.
> I am not using any optimizations.
> 
> After doing: make nopam
> 
> /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/../../../libfl.so: undefined reference 
> to `yylex'
> collect2: error: ld returned 1 exit status
> Makefile:57: recipe for target 'gradm' failed
> make: *** [gradm] Error 1
> 
> Can anyone tell me what is going on here and what I might be able to do to 
> fix it?
> 
> Thanks,
> Rodgers
> 

This is an issue in latest flex version. You can fix it by forcing the linking 
of the static library instead of shared one.

Just search the code of whatever it is you are building and replace "-lfl" with 
"/usr/lib/libfl.a".

-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to