Emerging net-www/apache-1.3.27-r1 results in : mod_auth_db.c: In function `get_db_pw': mod_auth_db.c:175: warning: passing arg 2 of pointer to function from incompatible pointer type mod_auth_db.c:175: warning: passing arg 4 of pointer to function makes pointer from integer without a cast mod_auth_db.c:175: too few arguments to function make[4]: *** [mod_auth_db.so] Error 1 make[4]: *** Waiting for unfinished jobs.... gcc -shared -o mod_rewrite.so mod_rewrite.lo -L/usr/lib -lm -lcrypt -ldb -lmm -lexpat -lpthread make[4]: *** Waiting for unfinished jobs.... make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/apache-1.3.27-r1/work/apache_1.3.27/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/var/tmp/portage/apache-1.3.27-r1/work/apache_1.3.27' make: *** [build] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 8, Exitcode 2 !!! compile problem My make.conf cofiguration : USE="gphoto2 pcmcia dga pda X gtk -gnome -alsa -kde -arts evo gif jpeg png tiff avi mpeg quicktime -esd oss dvd xmms oggvorbis encode ssl mozilla spell truetype java mysql" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
Sorry, I found the problem. Some one gave me a hint to check the Berkeley DB. I had the following installed Latest version available: 3.2.9-r1 Latest version installed: 4.1.24 After unmerging 4.1.24 and emerging 3.2.9-r1 the apache ebuild worked fine. I don't know how I got this DB version on my system, I didn't edit the packages.mask neither I'm in the unstable tree.