[PD] compile problems under gentoo linux

Jim Qode cuzunoglu at dimuseum.com
Sat Dec 6 01:20:01 CET 2003


hello all,

i'm having some compile problems under gentoo linux.
i downloaded the source tgz package
untgzd it under /usr/src
cd /usr/src/pdetcetc/src
./configure --enable-alsa
make depend

fine until this point till i do:
make

which compiles for a time and then gives this error:

gcc -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 -DINSTALL_PREFIX=\"/usr/local\" 
-I.  -c -o ../obj/t_main.o t_main.c
t_main.c:18:16: tk.h: No such file or directory
t_main.c:46: parse error before '*' token
cc1: warnings being treated as errors
t_main.c:46: warning: function declaration isn't a prototype
t_main.c: In function `main':
t_main.c:67: warning: implicit declaration of function `Tk_Main'
t_main.c:67: `Tcl_AppInit' undeclared (first use in this function)
t_main.c:67: (Each undeclared identifier is reported only once
t_main.c:67: for each function it appears in.)
t_main.c: At top level:
t_main.c:94: parse error before "Tcl_Interp"
t_main.c:94: warning: type defaults to `int' in declaration of `interp'
t_main.c:94: warning: data definition has no type or storage class
t_main.c:95: parse error before '{' token
t_main.c:107: warning: type defaults to `int' in declaration of 
`pdgui_startup'
t_main.c:107: warning: parameter names (without types) in function 
declaration
t_main.c:107: conflicting types for `pdgui_startup'
t_main.c:46: previous declaration of `pdgui_startup'
t_main.c:107: warning: data definition has no type or storage class
t_main.c:120: parse error before "return"
make: *** [t_main.o] Error 1

any ideas?? i really like this program, i used it alot in windows. now i 
switched to linux and i still want to use it.

thanks in advance
Jim


-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/





More information about the Pd-list mailing list