x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/lib64/lighttpd\" -I. -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -DOPENSSL_NO_KRB5 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -march=nocona -O2 -pipe -Wall -W -Wshadow -pedantic -MT mod_secure_download.lo -MD -MP -MF .deps/mod_secure_download.Tpo -c mod_secure_download.c -fPIC -DPIC -o .libs/mod_secure_download.o if /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/lib64/lighttpd\"" -I. -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -DOPENSSL_NO_KRB5 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -march=nocona -O2 -pipe -Wall -W -Wshadow -pedantic -MT mod_evhost.lo -MD -MP -MF ".deps/mod_evhost.Tpo" -c -o mod_evhost.lo mod_evhost.c; \ then mv -f ".deps/mod_evhost.Tpo" ".deps/mod_evhost.Plo"; else rm -f ".deps/mod_evhost.Tpo"; exit 1; fi x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/lib64/lighttpd\" -I. -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -DOPENSSL_NO_KRB5 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -march=nocona -O2 -pipe -Wall -W -Wshadow -pedantic -MT mod_ssi.lo -MD -MP -MF .deps/mod_ssi.Tpo -c mod_ssi.c -fPIC -DPIC -o .libs/mod_ssi.o mod_ssi.c: In function 'mod_ssi_physical_path': mod_ssi.c:300: warning: implicit declaration of function 'mod_ssi_patch_connection' mod_ssi.c:310: warning: implicit declaration of function 'mod_ssi_handle_request' mod_ssi.c: At top level: mod_ssi.c:947: error: static declaration of 'mod_ssi_handle_request' follows non-static declaration mod_ssi.c:310: error: previous implicit declaration of 'mod_ssi_handle_request' was here mod_ssi.c:1075: error: static declaration of 'mod_ssi_patch_connection' follows non-static declaration mod_ssi.c:300: error: previous implicit declaration of 'mod_ssi_patch_connection' was here make[2]: *** [mod_ssi.lo] Error 1 # emerge -pv lighttpd These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] www-servers/lighttpd-1.4.11 [1.4.10-r2] USE="ipv6 pcre ssl -bzip2 -doc -fam -fastcgi -gdbm -ldap -lua -memcache -minimal -mysql -php -rrdtool -test -webdav -xattr" 0 kB # emerge --info Portage 2.1_rc3-r5 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.15-gentoo-r8 x86_64) ================================================================= System uname: 2.6.15-gentoo-r8 x86_64 Intel(R) Pentium(R) D CPU 2.66GHz Gentoo Base System version 1.12.0 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs distlocks metadata-transfer sandbox sfperms sign strict" GENTOO_MIRRORS="-* http://gentoo.mirrors.pair.com/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cairo cli crypt cups dlloader dri dvd eds emboss encode flac foomaticdb fortran gif gnome gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff maildir mailwrapper milter mono mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pda pdflib perl png pppd python qt quicktime readline reflection sasl sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb xorg xpm xv zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Yes.
Created attachment 88353 [details, diff] lighttpd-1.4.11-gcc41.patch Patch to fix the issue..
patch is in the tree thank you
submitted patch upstream http://trac.lighttpd.net/trac/ticket/679
(In reply to comment #4) > submitted patch upstream > > http://trac.lighttpd.net/trac/ticket/679 I think this is actually caused by 22_all_bug606_fix_SSI_echo.diff - mod_ssi.c compiles fine with gcc 4.1 in the vanilla tarball.
thanks for pointing this out. i've obviously not looked hard enough into this... i've attached a note on the bug in the lighttpd tracker...