This is the error I get when building the latest ebuild: gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -march=i686 -O3 -pipe -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -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 -Wall -Werror -DVERSION=\"0.2.0\" -DPACKAGE=\"xmps\" -I/usr/include -I../../../src -I../../../libxmps -I../../../intl -I../../src -I../../libxmps -Wall -DHAVE_MMX -DHAVE_2Dnow -DARCH_X86 -march=i686 -O3 -pipe -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -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 -Wall -Werror -c motion_comp.c -fPIC -DPIC -o .libs/motion_comp.lo motion_comp.c:116:1: pasting "motion_comp_put" and "##" does not give a valid preprocessing token motion_comp.c:116: syntax error at '##' token motion_comp.c:116: parse error before "_16x16_c" cc1: warnings being treated as errors motion_comp.c:116: warning: return type defaults to `int' motion_comp.c:116:1: pasting "motion_comp_put" and "##" does not give a valid preprocessing token <snip> {standard input}: Assembler messages: {standard input}:111: Error: symbol `_x_16x16_c' is already defined {standard input}:367: Error: symbol `_y_16x16_c' is already defined {standard input}:685: Error: symbol `_xy_16x16_c' is already defined make[4]: *** [motion_comp.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/xmps-0.2.0-r1/work/xmps-0.2.0/codecs/video/mpeg3'
The error is now different: Making all in file make[3]: Entering directory `/var/tmp/portage/xmps-0.2.0-r1/work/xmps-0.2.0/media/file' /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=i686 -O3 -pipe -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -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 -Wall -Werror -DVERSION=\"0.2.0\" -DPACKAGE=\"xmps\" -I/usr/include -I../../src -I../../libxmps -I../../intl -I../../src -I../../libxmps -Wall -march=i686 -O3 -pipe -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -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 -Wall -Werror -c file_media.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=i686 -O3 -pipe -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -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 -Wall -Werror -DVERSION=\"0.2.0\" -DPACKAGE=\"xmps\" -I/usr/include -I../../src -I../../libxmps -I../../intl -I../../src -I../../libxmps -Wall -march=i686 -O3 -pipe -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -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 -Wall -Werror -c file_media.c -fPIC -DPIC -o .libs/file_media.lo cc1: changing search order for system directory "/usr/include" cc1: as it has already been specified as a non-system directory make[3]: *** [file_media.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/xmps-0.2.0-r1/work/xmps-0.2.0/media/file' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xmps-0.2.0-r1/work/xmps-0.2.0/media' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xmps-0.2.0-r1/work/xmps-0.2.0' make: *** [all-recursive-am] Error 2
This just needs some sed-fu to remove the -Werror from the CFLAGS, I'll get to it soon, thanks.
oy, there is a lot more wrong with this than just that... some of it goes above my head... I'm looking around to see if anyone else has gotten it to compile with gcc-3.1...
This is still broken in the 0.4 release on gcc3.2 in gentoo1.4-rc2: gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -mcpu=athlon -march=athlon -O3 -pipe -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -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 -Wall -Werror -DVERSION=\"0.2.0\" -DPACKAGE=\"xmps\" -I/usr/include -I../../../src -I../../../libxmps -I../../../intl -I../../src -I../../libxmps -Wall -DHAVE_MMX -DHAVE_2Dnow -DARCH_X86 -mcpu=athlon -march=athlon -O3 -pipe -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -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 -Wall -Werror -c motion_comp.c -fPIC -DPIC -o .libs/motion_comp.lo motion_comp.c:116:14: pasting "motion_comp_put" and "##" does not give a valid preprocessing token motion_comp.c:116: syntax error at '##' token motion_comp.c:116: parse error before "_16x16_c" cc1: warnings being treated as errors motion_comp.c:116: warning: return type defaults to `int' motion_comp.c:116:14: pasting "motion_comp_put" and "##" does not give a valid preprocessing token motion_comp.c:116: syntax error at '##' token motion_comp.c:116: parse error before "_8x8_c" motion_comp.c:116: warning: return type defaults to `int' <snip> motion_comp.c:125: initializer element is not constant motion_comp.c:125: (near initialization for `mc_functions_c.avg') make[4]: *** [motion_comp.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/xmps-0.2.0-r1/work/xmps-0.2.0/codecs/video/mpeg3'
Created attachment 8863 [details] new ebuild for xmps this ebuild should fix the compile errors on motion_comp.c tested on gcc 3.2.2 & glibc 2.3.1 i'll upload to cvs later. regards, _j_
bug fix uploaded to cvs. closing bug.
OK, so now it builds but it crashes on startup with a SEGV & the following stack trace: 0x15f8c7f0 in get_audio_decoder_info () from /usr/lib/xmps/codecs/audio/libac3.so (gdb) bt #0 0x15f8c7f0 in get_audio_decoder_info () from /usr/lib/xmps/codecs/audio/libac3.so #1 0x15584b89 in xmps_load_plugin () from /usr/lib/libxmps.so #2 0x15584d62 in xmps_plugin_scan_dir () from /usr/lib/libxmps.so #3 0x15584e1c in xmps_load_all () from /usr/lib/libxmps.so Should I be rebuilding a dependency?
*** Bug 15837 has been marked as a duplicate of this bug. ***