Compiling media-sound/tapiir-0.7.1 with gcc-3.3 dies with the following error: if g++ -DHAVE_CONFIG_H -I. -I. -I. -march=pentium3 -O2 -pipe -fomit-frame-pointer -I/usr/include/fltk-1.1 -I/usr/X11R6/include -MT jackio.o -MD -MP -MF ".deps/jackio.Tpo" \ -c -o jackio.o `test -f 'jackio.cxx' || echo './'`jackio.cxx; \ then mv ".deps/jackio.Tpo" ".deps/jackio.Po"; \ else rm -f ".deps/jackio.Tpo"; exit 1; \ fi jackio.cxx:63:16: missing terminating " character jackio.cxx: In function `void help(char*)': jackio.cxx:65: error: `h' undeclared (first use this function) jackio.cxx:65: error: (Each undeclared identifier is reported only once for each function it appears in.) jackio.cxx:65: error: ISO C++ forbids decrementing a pointer of type `void (*)(char*)' jackio.cxx:65: error: non-lvalue in decrement jackio.cxx:65: error: parse error before `-' token jackio.cxx:69:1: missing terminating " character make[2]: *** [jackio.o] Error 1 make[2]: *** Waiting for unfinished jobs.... alsaio.cxx:405:16: missing terminating " character ..... alsaio.cxx:416:1: missing terminating " character make[2]: *** [alsaio.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/tapiir-0.7.1/work/tapiir-0.7.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tapiir-0.7.1/work/tapiir-0.7.1/src' make: *** [all-recursive] Error 1 !!! ERROR: media-sound/tapiir-0.7.1 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! (no error message) After fixing the multi-line string literals, the following errors are encountered: g++ -march=pentium3 -O2 -pipe -fomit-frame-pointer -I/usr/include/fltk-1.1 -I/usr/X11R6/include -L/usr/lib/fltk-1.1 -o tapiir FileIO.o GUI.o IRWindow.o Layout.o LayoutBig.o LayoutSmall.o Mixer.o Tap.o tapiir_diagram.o tapiir_image.o main.o alsaio.o jackio.o -lfltk -L/usr/lib/fltk-1.1 -L/usr/X11R6/lib -lX11 -lXext -lasound -lm -ldl -lasound -lm -ldl -lpthread -ljack -lpthread -lfltk -L/usr/lib/fltk-1.1 -L/usr/X11R6/lib -lX11 -lXext -lasound -lm -ldl GUI.o(.text+0x0): In function `MTD<int, short>::FromGain(int const&) const': : multiple definition of `MTD<int, short>::FromGain(int const&) const' FileIO.o(.text+0x0): first defined here GUI.o(.text+0x30): In function `MTD<int, float>::FromGain(int const&) const': : multiple definition of `MTD<int, float>::FromGain(int const&) const' FileIO.o(.text+0x30): first defined here ..... : multiple definition of `MTD<int, short>::MulAdj(int&) const' FileIO.o(.text+0x190): first defined here collect2: ld returned 1 exit status make[2]: *** [tapiir] Error 1 make[2]: Leaving directory `/var/tmp/portage/tapiir-0.7.1/work/tapiir-0.7.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tapiir-0.7.1/work/tapiir-0.7.1/src' make: *** [all-recursive] Error 1 !!! ERROR: media-sound/tapiir-0.7.1 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! (no error message)
Created attachment 19088 [details, diff] proposed tapiir-0.7.1-gcc3.3 patch This patch fixes those nasty multi-line string literals along with the problems encountered when linking Templates.
in cvs