USE="-*" emerge mod_php gives this "error", I paste from the beginning of the compile phase: /bin/sh /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/zlib/ -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/zlib/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/include -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/main -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3 -I/var/tmp/portage/mod_php-4.3. 3/work/php-4.3.3/Zend -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/xml/expat -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/TSRM -mcpu=athlon-xp -O3 -pipe -prefer-pic -c /var/tmp/portage/mod_php-4.3. 3/work/php-4.3.3/ext/zlib/zlib.c -o ext/zlib/zlib.lo /bin/sh /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/zlib/ -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/zlib/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/include -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/main -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3 -I/var/tmp/portage/mod_php-4.3. 3/work/php-4.3.3/Zend -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/xml/expat -I/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/TSRM -mcpu=athlon-xp -O3 -pipe -prefer-pic -c /var/tmp/portage/mod_php-4.3. 3/work/php-4.3.3/ext/zlib/zlib_fopen_wrapper.c -o ext/zlib/zlib_fopen_wrapper.lo In file included from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/standard/php_standard.h:21, from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/zlib/zlib.c:48: /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 117:16: #if with no expression /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 121:19: #if with no expression /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 126:2: #error Need type which holds 32 bits In file included from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/standard/php_standard.h:21, from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/zlib/zlib.c:48: /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 163: error: syntax error before "php_uint32" /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 163: warning: no semicolon at end of struct or union /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 164: warning: data definition has no type or storage class /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 190: error: syntax error before '}' token /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 190: warning: data definition has no type or storage class /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 197: error: syntax error before "basic_globals" /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/basic_functions.h: 197: warning: data definition has no type or storage class In file included from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/standard/php_standard.h:29, from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/zlib/zlib.c:48: /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/md5.h:52: error: syntax error before "php_uint32" /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/md5.h:52: warning: no semicolon at end of struct or union /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/md5.h:53: warning: data definition has no type or storage class /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/md5.h:55: error: syntax error before '}' token /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/md5.h:55: warning: data definition has no type or storage class /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/md5.h:58: error: syntax error before '*' token /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/md5.h:59: error: syntax error before '*' token /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/md5.h:60: error: syntax error before "PHP_MD5_CTX" In file included from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/standard/php_standard.h:30, from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/zlib/zlib.c:48: /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/sha1.h:28: error: syntax error before "php_uint32" /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/sha1.h:28: warning: no semicolon at end of struct or union /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/sha1.h:29: warning: data definition has no type or storage class /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/sha1.h:31: error: syntax error before '}' token /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/sha1.h:31: warning: data definition has no type or storage class /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/sha1.h:33: error: syntax error before '*' token /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/sha1.h:34: error: syntax error before '*' token /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/sha1.h:35: error: syntax error before "PHP_SHA1_CTX" In file included from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/standard/php_standard.h:54, from /var/tmp/portage/mod_php-4.3.3/work/php-4.3. 3/ext/zlib/zlib.c:48: /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/php_lcg.h:27: error: syntax error before "php_int32" /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/php_lcg.h:27: warning: no semicolon at end of struct or union /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/php_lcg.h:28: warning: data definition has no type or storage class /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/php_lcg.h:30: error: syntax error before '}' token /var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/standard/php_lcg.h:30: warning: data definition has no type or storage class make: *** [ext/zlib/zlib.lo] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-php/mod_php-4.3.3 failed. !!! Function php_src_compile, Line 408, Exitcode 2 !!! compile problem ******************************************************************************* emerge --info: Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-xfs-r3) ================================================================= System uname: 2.4.20-xfs-r3 i686 AMD Athlon(TM) XP 2000+ ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache autoaddcvs -sandbox" GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/Linux/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts aalib bonobo svga java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla cdr"
Can you attach your config.log? I don't get this using gcc-3.3.1 on mod_php-4.3.3.
Created attachment 18278 [details] the config.log file If it helps... :(
Reinstalled gentoo and now it's working. Something was probably really broken... :P
emergeing gcc again since you did the openssl0.9.7 upgrade would have fixed it.