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"
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?
no response... closing
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
Try re-emerging portaudio...
...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
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
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.