Hello! app-admin/webalizer-2.01.10-r13 does not compile when i choose use flag geoip and search.
NO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -c output.c gcc -I/usr/include -I/usr/include/db4.3 -march=k6-2 -Os -mmmx -m3dnow -pipe -fomit-frame-pointer -mfpmath=387 -DETCDIR=\"/etc\" -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -I/usr/include -c graphs.c gcc -L/usr/lib -Ldb-4.3 -Wl,-O1 -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o -lGeoIP -lgd -lpng -lz -lm -lnsl -ldb output.o: In function `month_links': output.c:(.text+0x1140): undefined reference to `msg_hlnk_srs' output.c:(.text+0x116b): undefined reference to `msg_hlnk_srb' output.o: In function `all_searchboth_page': output.c:(.text+0x318a): undefined reference to `msg_h_seabot' output.c:(.text+0x31c6): undefined reference to `msg_h_seabot' output.o: In function `top_searchboth_table': output.c:(.text+0x3323): undefined reference to `msg_top_srb' output.c:(.text+0x3395): undefined reference to `msg_h_seabot' output.c:(.text+0x34e0): undefined reference to `msg_v_seabot' output.o: In function `all_searchsite_page': output.c:(.text+0x3562): undefined reference to `msg_h_seasit' output.c:(.text+0x359e): undefined reference to `msg_h_seasit' output.o: In function `top_searchsite_table': output.c:(.text+0x36ed): undefined reference to `msg_top_srs' output.c:(.text+0x375f): undefined reference to `msg_h_seasit' output.c:(.text+0x38a0): undefined reference to `msg_v_seasit' collect2: ld gab 1 als Ende-Status zur
NO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -c output.c gcc -I/usr/include -I/usr/include/db4.3 -march=k6-2 -Os -mmmx -m3dnow -pipe -fomit-frame-pointer -mfpmath=387 -DETCDIR=\"/etc\" -DHAVE_DB_185_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_GEOIP -DUSE_DNS -I/usr/include -c graphs.c gcc -L/usr/lib -Ldb-4.3 -Wl,-O1 -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o -lGeoIP -lgd -lpng -lz -lm -lnsl -ldb output.o: In function `month_links': output.c:(.text+0x1140): undefined reference to `msg_hlnk_srs' output.c:(.text+0x116b): undefined reference to `msg_hlnk_srb' output.o: In function `all_searchboth_page': output.c:(.text+0x318a): undefined reference to `msg_h_seabot' output.c:(.text+0x31c6): undefined reference to `msg_h_seabot' output.o: In function `top_searchboth_table': output.c:(.text+0x3323): undefined reference to `msg_top_srb' output.c:(.text+0x3395): undefined reference to `msg_h_seabot' output.c:(.text+0x34e0): undefined reference to `msg_v_seabot' output.o: In function `all_searchsite_page': output.c:(.text+0x3562): undefined reference to `msg_h_seasit' output.c:(.text+0x359e): undefined reference to `msg_h_seasit' output.o: In function `top_searchsite_table': output.c:(.text+0x36ed): undefined reference to `msg_top_srs' output.c:(.text+0x375f): undefined reference to `msg_h_seasit' output.c:(.text+0x38a0): undefined reference to `msg_v_seasit' collect2: ld gab 1 als Ende-Status zurück make: *** [webalizer] Fehler 1 !!! ERROR: app-admin/webalizer-2.01.10-r14 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile webalizer-2.01.10-r14.ebuild, line 105: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
conikost@BlackBox ~ $ sudo emerge --info Portage 2.1.1_rc1-r2 (default-linux/x86/2006.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r7 i586) ================================================================= System uname: 2.6.17-gentoo-r7 i586 Geode(TM) Integrated Processor by AMD PCS Gentoo Base System version 1.12.4 Last Sync: Mon, 04 Sep 2006 08:50:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=k6-2 -Os -mmmx -m3dnow -pipe -fomit-frame-pointer -mfpmath=387" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k6-2 -Os -mmmx -m3dnow -pipe -fomit-frame-pointer -mfpmath=387 -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow a52 aac aalib acpi alsa apache2 bash-completion bzip2 cdinstall cgi clamav crypt cups dbus dedicated dts dvd elibc_glibc fbcon ftp gd gif gpm hal iconv imap innodb input_devices_keyboard input_devices_mouse java javascript jpeg jpeg2k kernel_linux linguas_de lm_sensors mailwrapper mmx mng mp3 mpeg mysql mysqli ncurses nls nptl odbc ogg pam pcre php png ppds quicktime readline samba sdl session skey slang snmp spell ssl symlink szip tcpd threads tiff truetype unicode upnp usb userland_GNU v4l vcd vhosts video_cards_cyrix video_cards_fbdev video_cards_nsc video_cards_v4l video_cards_vesa video_cards_vga vorbis wifi win32codecs xml xvid zlib" Unset: CTARGET, INSTALL_MASK
*** Bug 146236 has been marked as a duplicate of this bug. ***
Can we remove the search flag? It's just plain broken and needs to be fixed upstream: Bug 118313, Bug 138477 Comment #1, this one...
I suggest to remove it, as i can compile webalizer without search use flag and with geoip use flag works fine.
fixed
*** Bug 172085 has been marked as a duplicate of this bug. ***