[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Open-scap] openscap-0.5.6 make fails



Hi Ross,

could you send a "config.log" and "config.h" please. 

What do you get from?
$pkg-config --cflags libnl-1
$pkg-config --libs libnl-1

thnx.

Peter.




On Friday 05 February 2010 20:24:10 Ross C. Barrett wrote:
> Seems to be as it starts to make probes:
> 
> Making all in src/OVAL/probes
> make[2]: Entering directory
> `/home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes'
>   CCLD   probe_system_info
> probe_system_info-system_info.o: In function `get_ifs':
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:84: undefined reference to `nl_handle_alloc'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:85: undefined reference to `nl_connect'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:86: undefined reference to `rtnl_link_alloc_cache'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:87: undefined reference to `rtnl_addr_alloc_cache'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:89: undefined reference to `nl_cache_foreach'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:91: undefined reference to `nl_cache_free'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:92: undefined reference to `nl_cache_free'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:93: undefined reference to `nl_close'
> probe_system_info-system_info.o: In function `cb':
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:55: undefined reference to `rtnl_addr_get_ifindex'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:56: undefined reference to `rtnl_addr_get_label'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:57: undefined reference to `rtnl_addr_get_local'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:58: undefined reference to `nl_addr2str'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:60: undefined reference to `rtnl_link_get'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:64: undefined reference to `rtnl_link_get_addr'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:65: undefined reference to `rtnl_link_put'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:66: undefined reference to `nl_addr2str'
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:62: undefined reference to `rtnl_link_get_name'
> probe_system_info-system_info.o: In function `get_ifs':
> /home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes/indep
> endent/system_info.c:94: undefined reference to `nl_handle_destroy'
> collect2: ld returned 1 exit status
> make[2]: *** [probe_system_info] Error 1
> make[2]: Leaving directory
> `/home/rbarrett/storage/projects/policy/openscap-0.5.6/src/OVAL/probes'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/rbarrett/storage/projects/policy/openscap-0.5.6'
> make: *** [all] Error 2
> 
> Steve Grubb wrote:
> > On Friday 05 February 2010 01:00:13 pm Ross C. Barrett wrote:
> >> Would sending the error logs help?
> >
> > Yes because it builds fine on mt system.  :)  Try to trim the log down to
> > the part that is failing +10 or 20 lines either way so we can see some
> > context right before it gets into trouble. The most likely issue is
> > different kernel headers requiring an explicit include rather than
> > getting it implicitly. Should be an easy fix whatever it is since its
> > known to compile on Debian.
> >
> > -Steve
> 
> _______________________________________________
> Open-scap-list mailing list
> Open-scap-list redhat com
> https://www.redhat.com/mailman/listinfo/open-scap-list
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]