Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78204 - kde-base/ksim-3.4.0_beta1 failed
Summary: kde-base/ksim-3.4.0_beta1 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-16 05:01 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-01-16 06:04 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 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-16 05:01:34 UTC
rings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -fforce-addr -fmove-all-movables -mfpmath=sse,387 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o value.lo `test -f 'value.cpp' || echo './'`value.cpp
In file included from /usr/include/net-snmp/utilities.h:39,
                 from /usr/include/net-snmp/net-snmp-includes.h:68,
                 from value_p.h:24,
                 from value.cpp:22:
/usr/include/net-snmp/library/system.h:139: error: declaration of C function `size_t strlcpy(char*, const char*, size_t)' conflicts with
../../../config.h:293: error: previous declaration `long unsigned int strlcpy(char*, const char*, long unsigned int)' here
make[4]: *** [value.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/ksim-3.4.0_beta1/work/ksim-3.4.0_beta1/ksim/monitors/snmp'
make[3]: *** [all-recursive] Error 1

configure:

checking net-snmp/library/snmp_api.h presence... yes
configure: WARNING: net-snmp/library/snmp_api.h: present but cannot be compiled
configure: WARNING: net-snmp/library/snmp_api.h:     check for missing prerequisite headers?
configure: WARNING: net-snmp/library/snmp_api.h: see the Autoconf documentation
configure: WARNING: net-snmp/library/snmp_api.h:     section "Present But Cannot Be Compiled"
configure: WARNING: net-snmp/library/snmp_api.h: proceeding with the preprocessor's result
configure: WARNING: net-snmp/library/snmp_api.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for net-snmp/library/snmp_api.h... yes
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-16 05:11:17 UTC
We just need to apply to ksim the fix that went into kdeutils (bug 78071)
Comment 2 Simone Gotti (RETIRED) gentoo-dev 2005-01-16 05:36:17 UTC
Thanks carlo and greg_g. Now it should be fixed.

But I've got another question:

If you look at kdeutils-x.x.x/monitors/snmp/configure.in.in

you'll see that this line is used:
 AC_SUBST( LIBSNMP, "-lnetsnmp -lcrypto" )

So this makes me think that if we don't have libcrypto (openssl) installed the linking will fails. I don't think this is needed as we can compile net-snmp also with the USE=-ssl that will disable it.

I think that we can remove "-lcrypto" from that configure.in.in line but this will need some testing with the various combinations of useflags.
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-16 05:59:28 UTC
It seems that test (link to netsnmp with "-lnetsnmp -lcrypto") is only run
if the previous one (link to netsnmp with "-lnetsnmp") failed, so it should not be a problem...
Comment 4 Simone Gotti (RETIRED) gentoo-dev 2005-01-16 06:04:23 UTC
I don't know what I read from that file. But I know that I have to use the computer only after 2 hours that I'm awake. :P