I'm not sure if it's gcc 3.1 issue, but here's the error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -c -fPIC -DPIC command.c -o .libs/command.lo command.c: In function `F1newstatus': command.c:291: too many arguments to function `strcat' command.c:293: too many arguments to function `strcat' command.c:295: too many arguments to function `strcat' make[3]: *** [command.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/gphoto-0.4.3-r1/work/gphoto-0.4.3/sony' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gphoto-0.4.3-r1/work/gphoto-0.4.3/sony' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gphoto-0.4.3-r1/work/gphoto-0.4.3' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 6, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-gfx/gphoto/gphoto-0.4.3-r1.ebuild . bash-2.05a# Let me know if you need any more info.
Thanks for the report. Resolved in -r2. gphoto's code was broken.