[PD-dev] [ pure-data-Patches-1763221 ] fix jack-related compile error on Ubuntu Gutsy (gcc-4.1.3)

SourceForge.net noreply at sourceforge.net
Sun Jul 29 21:18:40 CEST 2007


Patches item #1763221, was opened at 2007-07-29 15:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1763221&group_id=55736

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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stephen Sinclair (radarsat1)
Assigned to: Nobody/Anonymous (nobody)
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)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1763221&group_id=55736




More information about the Pd-dev mailing list