[PD-dev] compiling under Linux Red Hat 9

Frank Barknecht fbar at footils.org
Wed Dec 24 02:27:05 CET 2003


Hallo,
michael shiloh hat gesagt: // michael shiloh wrote:

> this might very well be your problem.  try downgrading to gcc 2.95.
> 
> let me know if that helps.

It might help, but it shouldn't be necessary. 


> On Tue, 23 Dec 2003, Julius Smith wrote:
> > My compiler version is
> > 
> >          cc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
> > 
> > and the compiler warning without the change is as follows:
> > 
> > cc -DPD -DUNIX  -Wall -W -Wstrict-prototypes -Werror -Wno-unused 
> > -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer 
> > -DDL_OPEN -DPA_USE_OSS 
> > -DPA_LITTLE_ENDIAN          -DUSEAPI_OSS         -I../portaudio/pa_common 
> >        -I../portaudio/pablio -I../portaudio/portmidi-macosx -Werror 
> > -DUSEAPI_JACK -DINSTALL_PREFIX=\"/usr/local\" -I. -c -o 
> > ../obj/s_audio_jack.o s_audio_jack.c
> > cc1: warnings being treated as errors
> > s_audio_jack.c: In function `srate':
> > s_audio_jack.c:72: warning: long int format, jack_nframes_t arg (arg 2)
> > make: *** [s_audio_jack.o] Error 1

This error is the old "treat warnings as errors and stop" problem,
that is cured, if you remove all "-Werror" from the Makefiles.
gcc-2.9x didn't issue so many warnings, that's why it seemed to work
previously. Removing -Werror is harmless.

ciao

-- 
 Frank Barknecht                               _ ______footils.org__




More information about the Pd-dev mailing list