Compile only libnl-genl

Thomas Graf tgraf at suug.ch
Tue Dec 11 09:27:31 EST 2012


On 12/11/12 at 12:38pm, Felipe López wrote:
> First of all, thanks for your quick reply.
> 
> Obviously I did sth wrong because the size of my filesystem increased in
> more than 3MB because of the installation of the libnl which is much larger
> than yours... I guess, following the draw in their website
> (http://www.infradead.org/~tgr/libnl/<http://www.infradead.org/%7Etgr/libnl/>),
> that libnl-genl denpends only on libnl so I can get rid of libnl-route and
> libnl-nf without any problem. Am I correct? Maybe I should add that I am
> working on a ARM architecture and on a cross-compiled environment.

Yes, this is correct.

> Below is what I did:
> 
> *./configure --host=arm --prefix=/path/to/rootfs CC=arm-linux-gnueabi-gcc*
> 
> *make*
> 
> *make install*
> 
> How should I proceed? Many thanks for your help

If you run "make install-strip" it will automatically strip all the
debugging symbols and the footprint should get much smaller. I would
then delete the libraries you don't need (libnl-route and libnl-nf).



More information about the libnl mailing list