Patches item #1763221, was opened at 2007-07-29 15:18 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1763221...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: bugfix
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Stephen Sinclair (radarsat1)
Assigned to: Miller Puckette (millerpuckette)
Summary: fix jack-related compile error on Ubuntu Gutsy (gcc-4.1.3)
Initial Comment: I was compiling PureData from scratch today and after automake/configure/make, I received this error:
cc -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -DDL_OPEN -DPA_USE_OSS -DUNIX -DUNISTD -DUSEAPI_OSS -I../portaudio/pa_common -I../portaudio/pablio -I../portmidi/pm_common -I../portmidi/pm_linux -fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops -fomit-frame-pointer -DUSEAPI_JACK -D_LARGEFILE64_SOURCE -DINSTALL_PREFIX="/home/ssteve/.local" -c -o ../obj/s_audio_jack.o s_audio_jack.c s_audio_jack.c:197: error: ‘jack_error_callback’ redeclared as different kind of symbol /usr/include/jack/jack.h:776: error: previous declaration of ‘jack_error_callback’ was here make: *** [s_audio_jack.o] Error 1
The solution was to rename the jack_error_callback function, so I added an underscore. Maybe there is a better solution. I am using Ubuntu Gutsy (development version of Ubuntu), with gcc-4.1.3:
$ gcc --version gcc (GCC) 4.1.3 20070718 (prerelease) (Ubuntu 4.1.2-14ubuntu1)
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2007-08-09 19:09
Message: Logged In: YES user_id=27104 Originator: NO
seems to be fixed, or at least Pd is building again from the HEAD of MAIN. Please reopen this bug if it is still a problem.
----------------------------------------------------------------------
Comment By: Stephen Sinclair (radarsat1) Date: 2007-07-29 23:00
Message: Logged In: YES user_id=616837 Originator: YES
If it's already been fixed that's fine, though I did check the project fresh out of CVS before compiling it and getting this error. Running it, I see that I have version 0.41.0-test04, so I'm not sure why I don't have the latest if that's the case.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2007-07-29 16:39
Message: Logged In: NO
This should already be fixed in 0.41-test05
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1763221...