libnl is not getting compiled in Ubuntu

Brett Ciphery brett.ciphery at windriver.com
Fri Mar 30 10:54:22 EDT 2012


Are there earlier errors?

pktloc_grammar.c is an autogenerated file, so I assume you don't have
flex/yacc installed...

Try 'sudo apt-get install bison'

Brett

[libnl is not getting compiled in Ubuntu] On 30/03/2012 (Fri 06:32) Dipinkumar wrote:

> 
> Hi,
> 
> I tried to compile libnl 2.0 and libnl3.0 form ubuntu 11.04 - 64 bit as
> well as ubutu 10.4 -32 bit mechine.The compilation failed and given the
> following error
> 
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -I../include
> -I../include -D_GNU_SOURCE -DSYSCONFDIR=\"/usr/local/etc/libnl\" -g -O2
> -MT route/pktloc_grammar.lo -MD -MP -MF route/.deps/pktloc_grammar.Tpo
> -c route/pktloc_grammar.c  -fPIC -DPIC -o route/.libs/pktloc_grammar.o
> gcc: route/pktloc_grammar.c: No such file or directory
> gcc: no input files
> make[2]: *** [route/pktloc_grammar.lo] Error 1
> 
> The steps which i followed to compile are 
> 
> ./configure 
> make
> 
> i searched for pktloc_grammar.c in total libnl folder, but i cannot find
> it.Can you please suggest how to solve this issue?
> 
> 
> Regards,
> Dipinkumar
> 
> 
> _______________________________________________
> libnl mailing list
> libnl at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libnl



More information about the libnl mailing list