[PD] building vbap on linux fails

Peter Plessas plessas at mur.at
Wed May 20 19:43:31 CEST 2009


Dear List,

trying to compile vbap from cvs sources:


% make pd_linux

cc -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow 
-Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch 
-I/usr/local/src/pd/src  -o vbap.o -c vbap.c
cc1: warnings being treated as errors
vbap.c: In function ‘new_spread_dir’:
vbap.c:335: error: declaration of ‘gamma’ shadows a global declaration
/usr/include/bits/mathcalls.h:265: error: shadowed declaration is here
make: *** [vbap.pd_linux] Error 1

when i remove -Wshadow from the makefile i still get:

cc -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer -Wall -W 
-Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch 
-I/usr/local/src/pd/src  -o define_loudspeakers.o -c define_loudspeakers.c
define_loudspeakers.c:18:1: error: "NULL" redefined
In file included from /usr/local/src/pd/src/m_pd.h:51,
                  from define_loudspeakers.c:11:
/usr/lib/gcc/i486-linux-gnu/4.3.3/include/stddef.h:403:1: error: this is 
the location of the previous definition
define_loudspeakers.c:84:1: error: "/*" within comment
define_loudspeakers.c:84:36: error: "/*" within comment
define_loudspeakers.c:85:34: error: "/*" within comment
define_loudspeakers.c:87:1: error: "/*" within comment
make: *** [define_loudspeakers.pd_linux] Error 1


This is with gcc version 4.3.3 (Debian 4.3.3-3)

Any hints are greatly appreciated!

Peter




More information about the Pd-list mailing list