Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57694 - Jack 0.98.1 fails to compile with gcc 3.3.3-r6
Summary: Jack 0.98.1 fails to compile with gcc 3.3.3-r6
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 02:08 UTC by Ed Wildgoose
Modified: 2004-07-27 12:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Wildgoose 2004-07-20 02:08:53 UTC
Sometime earlier I have successfully compiled Jack 0.98.1 - I then noticed that the 0.98.1-r1 build failed to compile, and looking closer I notice that even the old 0.98.1 now no longer compiles on my machine.  

The only related thing that has changed which springs to mind is the recent update in gcc.  I suspect that may be related.

A truncated error message that I get when compiling 0.98.1 is show below.  It continues in the same way for quite a bit further.

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -DREENTRANT -O3 -fomit-frame-pointer -ffast-math -funroll-loops -fmove-all-movables -march=i686 -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -DREENTRANT -O3 -fomit-frame-pointer -ffast-math -funroll-loops -fmove-all-movables -march=i686 -march=pentium4 -MT portaudio_driver.lo -MD -MP -MF .deps/portaudio_driver.Tpo -c portaudio_driver.c  -fPIC -DPIC -o .libs/portaudio_driver.o
In file included from portaudio_driver.c:41:
portaudio_driver.h:57: error: syntax error before "PortAudioStream"
portaudio_driver.h:57: warning: no semicolon at end of struct or union
portaudio_driver.h:59: warning: type defaults to `int' in declaration of `portaudio_driver_t'
portaudio_driver.h:59: warning: data definition has no type or storage class
portaudio_driver.c:47: error: syntax error before "PaTimestamp"
portaudio_driver.c: In function `paCallback':
portaudio_driver.c:49: error: `driver' undeclared (first use in this function)
portaudio_driver.c:49: error: (Each undeclared identifier is reported only once
portaudio_driver.c:49: error: for each function it appears in.)
portaudio_driver.c:49: error: syntax error before ')' token
portaudio_driver.c:51: error: `inputBuffer' undeclared (first use in this function)
portaudio_driver.c:52: error: `outputBuffer' undeclared (first use in this function)
portaudio_driver.c:54: error: `framesPerBuffer' undeclared (first use in this function)
portaudio_driver.c: At top level:
portaudio_driver.c:58: error: syntax error before '*' token
portaudio_driver.c: In function `portaudio_driver_attach':
portaudio_driver.c:65: error: `driver' undeclared (first use in this function)
portaudio_driver.c:65: error: `engine' undeclared (first use in this function)
portaudio_driver.c: At top level:


Reproducible: Always
Steps to Reproduce:




# emerge info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-rc3-mm2)
=================================================================
System uname: 2.6.7-rc3-mm2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.2 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer "
DISTDIR="/usr/portage.distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.gentoo.skynet.be/pub/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acl acpi acpi4linux alsa apache2 apm arts avi berkdb bonobo cdr
chroot crypt cups curl dga dnd doc dv dvb dvd dvdr emacs encode esd evms2 evo
faac faad fbcon ffmpeg firebird flac flash foomaticdb freetds gb gd gdbm ggi gif
gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icc icc-pgo imap imlib innodb irmc
jack jack-caps jack-tmpfs java javascript jikes joystick jpeg kde kerberos
ladcca lcd lcms libg++ libwww lua mad maildir matroska mcal mikmod mmx motif
mozilla mpeg mysql nas ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl
pic png python qt quicktime readline samba sasl sdl slang spell sse ssl svga
tcltk tcpd tetex threads tiff transcode truetype usb v4l wmf wxwindows x86
xinerama xml xml2 xmms xv xvid zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-20 17:19:13 UTC
works for me:

gcc (GCC) 3.4.1  (Gentoo Linux 3.4.1, ssp-3.4-2, pie-8.7.6.3)
gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)

Can you try to investigate further?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-25 22:12:13 UTC
no response... closing
Comment 3 Ed Wildgoose 2004-07-26 06:12:36 UTC
Hi, I have "investigated" as far as I can really.  It still doesn't work...

I did have a flash of inspiration and dump my ccache cache - this helped with something else which was behaving a bit wierldly, but not this.

It's rather annoying really because I rather want to use Jack....  I will try compiling the raw source and have a look at the line its erroring on, but not today... (busy, busy)

Thanks for trying to repro
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-26 14:56:32 UTC
Try re-emerging portaudio...
Comment 5 Ed Wildgoose 2004-07-27 00:49:06 UTC
...portaudio was not installed...  Doesn't seem to be a pre-requisite of Jack, and wasn't required for previous ebuild...

...didn't help installing it either...

Thanks though
Comment 6 Ed Wildgoose 2004-07-27 07:38:50 UTC
Oh dear.  Finally traced this to what looks like the remains of a portaudio installation in /usr/local

I think Jack may therefore have a portaudio dependency that isn't listed, and might occur if the user had an older portaudio installed.  Perhaps this isn't going to be an issue in practice though (untested).

Uninstalling all traces of the old portaudio has fixed the problem (actually thinking about it, it could have been a cvs version of portaudio v19..?)

Sorry for the wasted bandwidth
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-27 12:03:17 UTC
yeah... it is probably portaudio-19... many things in portage have a >=portaudio-19 optional dependency, but since v19 hasn't been released yet (and nobody has thuroughly tested a snapshot), it's not in portage yet.

Thanks for tracing this out.