Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30889 - tapiir-0.7.1 fails to compile using gcc-3.3
Summary: tapiir-0.7.1 fails to compile using gcc-3.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-11 02:12 UTC by Brandy Westcott (RETIRED)
Modified: 2003-10-13 12:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed tapiir-0.7.1-gcc3.3 patch (tapiir-0.7.1-gcc3.3.patch,4.52 KB, patch)
2003-10-11 02:15 UTC, Brandy Westcott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brandy Westcott (RETIRED) gentoo-dev 2003-10-11 02:12:32 UTC
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)
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-10-11 02:15:56 UTC
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.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-13 12:27:17 UTC
in cvs