Menu

#2663 Unconditional -I/usr/include/libnl3 bad for cross-compilation

backport-needed
closed
nobody
linux (5)
5
2015-09-05
2015-09-04
Peter Rosin
No

Hi!

When I build net-snmp 5.7.3 in buildroot (cross from linux to linux), it throws warnings like this:

arm-linux-gnuabihf-gcc: WARNING: unsafe header/library path used in cross-compilation: '/usr/include/libnl3'

This is due to the patch addressing bug #2238 (current libnl 3.0 not supported).

There should be some way to configure that location, e.g.
--with-nl=$(STAGING_DIR)/usr/include/libnl3

Cheers,
Peter

Discussion

  • Bart Van Assche

    Bart Van Assche - 2015-09-05
    • status: open --> closed
     

Log in to post a comment.