The dependency on dev-libs/libconfig should be versioned, because when trying with libconfig-1.2, I get following errors: i686-pc-linux-gnu-gcc -O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe -DLIBWRAP -DLIBCONFIG -DLIBCAP -c sslh-main.c sslh-main.c: In function 'config_parse': sslh-main.c:283:43: error: 'CONFIG_ERR_PARSE' undeclared (first use in this function) if (config_error_type(&config) == CONFIG_ERR_PARSE) { ^ sslh-main.c:283:43: note: each undeclared identifier is reported only once for each function it appears in sslh-main.c:293:5: error: too many arguments to function 'config_lookup_bool' config_lookup_bool(&config, "verbose", &verbose); ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:205:26: note: declared here extern LIBCONFIG_API int config_lookup_bool(const config_t *config, ^ sslh-main.c:294:5: error: too many arguments to function 'config_lookup_bool' config_lookup_bool(&config, "inetd", &inetd); ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:205:26: note: declared here extern LIBCONFIG_API int config_lookup_bool(const config_t *config, ^ common.c: In function 'check_access_rights': sslh-main.c:295:5: error: too many arguments to function 'config_lookup_bool' config_lookup_bool(&config, "foreground", &foreground); ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:205:26: note: declared here extern LIBCONFIG_API int config_lookup_bool(const config_t *config, ^ sslh-main.c:296:5: error: too many arguments to function 'config_lookup_bool' config_lookup_bool(&config, "numeric", &numeric); ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:205:26: note: declared here extern LIBCONFIG_API int config_lookup_bool(const config_t *config, ^ sslh-main.c:297:5: error: too many arguments to function 'config_lookup_bool' config_lookup_bool(&config, "transparent", &transparent); ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:205:26: note: declared here extern LIBCONFIG_API int config_lookup_bool(const config_t *config, ^ sslh-main.c:299:5: error: too many arguments to function 'config_lookup_int' if (config_lookup_int(&config, "timeout", (int *)&timeout) == CONFIG_TRUE) { ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:201:27: note: declared here extern LIBCONFIG_API long config_lookup_int(const config_t *config, ^ sslh-main.c:303:5: error: too many arguments to function 'config_lookup_string' if (config_lookup_string(&config, "on-timeout", &str)) { ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:207:34: note: declared here extern LIBCONFIG_API const char *config_lookup_string(const config_t *config, ^ sslh-main.c:307:5: error: too many arguments to function 'config_lookup_string' config_lookup_string(&config, "user", &user_name); ^ common.c:499:5: warning: passing argument 1 of 'hosts_ctl' discards 'const' qualifier from pointer target type [enabled by default] if (!hosts_ctl(service, host, addr_str, STRING_UNKNOWN)) { ^ In file included from common.c:37:0: /usr/include/tcpd.h:128:12: note: expected 'char *' but argument is of type 'const char *' extern int hosts_ctl(char *daemon, char *client_name, char *client_addr, ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:207:34: note: declared here extern LIBCONFIG_API const char *config_lookup_string(const config_t *config, ^ sslh-main.c:308:5: error: too many arguments to function 'config_lookup_string' config_lookup_string(&config, "pidfile", &pid_file); ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:207:34: note: declared here extern LIBCONFIG_API const char *config_lookup_string(const config_t *config, ^ make: *** [sslh-main.o] Error 1 make: *** Waiting for unfinished jobs.... ==== It compiles normally with dev-libs/libconfig-1.5 ; didn't tried other versions. ==== Portage 2.2.26 (python 2.7.9-final-0, hardened/linux/x86/desktop, gcc-4.8.5-hardenednopie, glibc-2.21-r2, 3.0.6-gentoo-32 i686) ================================================================= System uname: Linux-3.0.6-gentoo-32-i686-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.2 KiB Mem: 3324964 total, 1060700 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 18 Jan 2009 19:45:01 +0000 sh bash 4.2_p53 ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.2_p53::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/python: 2.6.8-r3::gentoo, 2.7.9-r1::gentoo dev-util/cmake: 2.8.12.2-r1::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.11.8::gentoo sys-apps/sandbox: 2.5::gentoo sys-devel/autoconf: 2.13::<unknown repository>, 2.68::gentoo, 2.69::gentoo sys-devel/automake: 1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::gentoo, 1.10.2::<unknown repository>, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.15::gentoo sys-devel/binutils: 2.15.92.0.2-r10::<unknown repository>, 2.16.1-r3::<unknown repository>, 2.18-r3::gentoo, 2.20.1-r1::gentoo, 2.23.2::gentoo, 2.24-r3::gentoo sys-devel/gcc: 2.95.3-r8::<unknown repository>, 3.4.6-r2::<unknown repository>, 4.4.4-r2::gentoo, 4.5.3-r2::gentoo, 4.8.3::gentoo, 4.8.5::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 1.4.3-r3::<unknown repository>, 2.4.6::gentoo sys-devel/make: 3.82-r1::gentoo sys-kernel/linux-headers: 3.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 voip location: /usr/portage/local/layman/voip masters: gentoo priority: 0 palemoon location: /usr/portage/local/layman/palemoon masters: gentoo priority: 1 x-portage location: /usr/local/portage masters: gentoo priority: 2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA skype-eula" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_GB cs" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="3dnow 3dnowex 3dnowext X Xaw3d a52 aac aalib acl acpi alsa apache2 apm avi bash-completion berkdb bluetooth branding browserplugin bzip2 cairo caps cdr cli consolekit cracklib crypt cups curl cxx dbus dga directfb doc dri dts dvd dvdr emboss encode erandom esd exif fam fbcon firefox flac force-cgi-redirect gd gdbm gdu ggi gif gpm gtk hardened iconv imagemagick imlib innodb ipv6 java jpeg lcms ldap lesstif libcaca libnotify libwww lirc lua lzma mad mailwrapper mbox mcal memlimit mikmod mmx mmx2 mmxext mng modules motif mozilla mp3 mp4 mpeg mudflap multislot mysql ncurses nls nptl nptlonly ogg oggvorbis old-linux opengl openmp oss pam pango pcre pdf pdflib perl pic png policykit postscript ppds pppd python qt qt3support qt4 quicktime readline samba sdl session slang snmp spell sqlite sse sse2 ssl startup-notification svg svga sysfs tcpd tetex theora tiff truetype udev unicode urandom usb userlocales v4l v4l2 vhosts videos vorbis wmf x264 x86 xattr xcb xgetdefault xml xorg xosd xulrunner xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="access auth auth_dbm auth_anon auth_basic auth_digest authz_host authz_default authz_user alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav_fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so mem_cache mime_magic vhost_alias filter authn_file" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB cs" LIRC_DEVICES="avermedia98 devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python2_6" RUBY_TARGETS="ruby19 ruby21" USERLAND="GNU" VIDEO_CARDS="nv vesa r128 fbdev nouveau radeon r300 r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks, fixed in git. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d36a65f9b70e7effe282832abdded19e0eeba4b0