[PD-dev] (no subject)
guenter geiger
geiger at xdv.org
Sat Feb 21 17:02:31 CET 2004
You checked out the devel_0_37 branch ?
The HEAD is "still in the works", (which means eventually I want to
put devel_0_37 into the HEAD, but it is not done yet.)
Guenter
On Fri, 20 Feb 2004, august wrote:
> downloading cvs from yesterday and trying to compile, I get these errors.
>
>
>
> gcc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused
> -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer
> -DDL_OPEN -DUSEAPI_PORTAUDIO -DPA_USE_OSS -DPA_LITTLE_ENDIAN
> -DUSEAPI_OSS -I../portaudio/pa_common
> -I../portaudio/pablio -I../portaudio/portmidi-macosx -Werror -DPA_USE_ALSA
> -DUSEAPI_ALSA -DINSTALL_PREFIX=\"/usr/local\" -I. -c -o
> ../obj/g_mycanvas.o g_mycanvas.c
> g_mycanvas.c: In function `my_canvas_new':
> g_mycanvas.c:322: warning: implicit declaration of function
> `iemgui_new_dogetname'
> g_mycanvas.c:323: error: structure has no member named `x_labelbindex'
>
>
> fix is to comment out those lines of code.
>
>
>
> gcc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused
> -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer
> -DDL_OPEN -DUSEAPI_PORTAUDIO -DPA_USE_OSS -DPA_LITTLE_ENDIAN
> -DUSEAPI_OSS -I../portaudio/pa_common
> -I../portaudio/pablio -I../portaudio/portmidi-macosx -Werror -DPA_USE_ALSA
> -DUSEAPI_ALSA -DINSTALL_PREFIX=\"/usr/local\" -I. -c -o ../obj/d_ctl.o
> d_ctl.c
> d_ctl.c: In function `line_tilde_perform':
> d_ctl.c:110: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> d_ctl.c:110: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> d_ctl.c: In function `vline_tilde_float':
> d_ctl.c:285: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> d_ctl.c:285: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> make: *** [d_ctl.o] Error 1
>
>
>
> fix is to take out the -Werror
>
> gcc -DPD -DUNIX -W -Wstrict-prototypes -Wno-unused -Wno-parentheses
> -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL_OPEN
> -DUSEAPI_PORTAUDIO -DPA_USE_OSS -DPA_LITTLE_ENDIAN -DUSEAPI_OSS
> -I../portaudio/pa_common -I../portaudio/pablio
> -I../portaudio/portmidi-macosx -DPA_USE_ALSA -DUSEAPI_ALSA
> -DINSTALL_PREFIX=\"/usr/local\" -I. -c -o ../obj/d_ctl.o d_ctl.c
>
>
> same with d_osc.c
>
> same with d_filter.c
>
> same with math.c
>
> same with d_array.c
> same with d_delay.c
> same with d_soundfile.c
>
>
> then, a lot of problems with alsa.
>
>
> I gave up after that.
>
> this is with gcc v3.3.2
>
>
> any ideas? am I doing something wrong?
>
> -august.
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-dev
>
More information about the Pd-dev
mailing list