Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292311 - net-misc/knemo-0.5.80 needs to depend on dev-libs/libnl
Summary: net-misc/knemo-0.5.80 needs to depend on dev-libs/libnl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-07 21:52 UTC by Andrei Slavoiu
Modified: 2009-11-07 22:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2009-11-07 21:52:37 UTC
When emerging knemo-0.5.80 without libnl installed I get the following message from cmake:

-- Could NOT find libnl  (missing:  LIBNL_LIBRARY)

and then the compile fails with:

[ 16%] Building CXX object src/kcm/CMakeFiles/kcm_knemo.dir/__/common/utils.o                      
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:39:34: error: netlink/route/rtnl.h: No such file or directory
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:40:35: error: netlink/route/route.h: No such file or directory
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp: In function ‘void parseNetlinkRoute(nl_object*, void*)’:     
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:64: error: ‘rtnl_route_get_family’ was not declared in this scope
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:69: error: ‘rtnl_route_get_dst’ was not declared in this scope   
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:70: error: ‘rtnl_route_get_gateway’ was not declared in this scope                                                                                                                                              
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:72: error: ‘nl_addr_get_len’ was not declared in this scope      
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:77: error: ‘nl_addr_get_binary_addr’ was not declared in this scope                                                                                                                                             
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:78: error: ‘nl_addr2str’ was not declared in this scope          
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:80: error: ‘rtnl_route_get_oif’ was not declared in this scope   
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp: In function ‘QString getNetlinkRoute(int, QString*, void*)’:    
/var/tmp/portage/net-misc/knemo-0.5.80/work/knemo-0.5.80/src/common/utils.cpp:114: error: ‘nl_cache_foreach’ was not declared in this scope    
make[2]: *** [src/kcm/CMakeFiles/kcm_knemo.dir/__/common/utils.o] Error 1                                                                      
make[1]: *** [src/kcm/CMakeFiles/kcm_knemo.dir/all] Error 2                                                                                    
make: *** [all] Error 2                                                                                                                        
make: INTERNAL: Exiting with 7 jobserver tokens available; should be 5!                                                                        
 * ERROR: net-misc/knemo-0.5.80 failed:                                                                                                        
 *   Make failed!                                                                                                                              

Reproducible: Always

Steps to Reproduce:
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-11-07 22:28:27 UTC
Fixed. Thanks.