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
Hallo, Jim Qode hat gesagt: // Jim Qode wrote:
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
You miss tk.h. It should be somewhere under /usr/include and it probably is part of some devel package for libtcl/tk. Gentoo users might know more details.
Frank Barknecht _ ______footils.org__
On Sat, 6 Dec 2003 10:23:31 +0100, Frank Barknecht wrote:
Hallo, Jim Qode hat gesagt: // Jim Qode wrote:
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 directoryYou miss tk.h. It should be somewhere under /usr/include and it probably is part of some devel package for libtcl/tk. Gentoo users might know more details.
switching to root and doing:
emerge tk
will grab all that is needed for tcl/tk and put it where everything else (meaning pd) can find it.
btw, (just in case you didn't know), pd is in portage.
-jon
Jonathan Kraut NYC jak76@columbia.edu