[PD] pd-0.34test4 build problem

Johannes M Zmoelnig zmoelnig at iem.kug.ac.at
Wed Aug 15 19:52:20 CEST 2001

On Wed, 15 Aug 2001, Nick Fells wrote:

> Hi,
> Just trying to build 0.34test4, but got:
> ---
> cc -DPD -DUNIX  -Wall -W -Wstrict-prototypes  -Werror -Wno-unused 
> -Wno-parentheses -Wno-switch   -DRME_HAMMERFALL 
> -DINSTALL_PREFIX=\"/usr/local\" -I. -c -o ../obj/t_main.o t_main.c 
> t_main.c:16: tk.h: No such file or directory make: *** [t_main.o] Error 1
> ---
> Then thought I'd link tk.h to t_tk.h to try that, but got:

the tk.h file belongs to your tcl/tk-dev sources, not to pd.
1. did you do a "./configure" before trying to make ? this should set
anything (i guess)
2. if this does not work, you should search for the "tk.h" file in your
/usr/include path. probably it will be found at /usr/include/tcl-8.3 (or
you can then link it into a searched include-path 
(ln -s /usr/include/tcl-8.3/*.h /usr/local/include)
hope this helps


> ----
> cc -DPD -DUNIX  -Wall -W -Wstrict-prototypes  -Werror -Wno-unused 
> -Wno-parentheses -Wno-switch   -DRME_HAMMERFALL 
> -DINSTALL_PREFIX=\"/usr/local\" -I. -c -o ../obj/t_main.o t_main.c
> t_main.c:44: parse error before `*'
> cc1: warnings being treated as errors
> t_main.c:44: warning: function declaration isn't a prototype
> t_main.c: In function `main':
> t_main.c:58: warning: implicit declaration of function `Tk_Main'
> t_main.c:58: `Tcl_AppInit' undeclared (first use in this function)
> t_main.c:58: (Each undeclared identifier is reported only once
> t_main.c:58: for each function it appears in.)
> t_main.c: At top level:
> t_main.c:85: parse error before `Tcl_Interp'
> t_main.c:85: warning: type defaults to `int' in declaration of `interp'
> t_main.c:85: warning: data definition has no type or storage class
> t_main.c:86: parse error before `{'
> t_main.c:98: warning: type defaults to `int' in declaration of `pdgui_startup'
> t_main.c:98: warning: parameter names (without types) in function declaration
> t_main.c:98: conflicting types for `pdgui_startup'
> t_main.c:44: previous declaration of `pdgui_startup'

> t_main.c:98: warning: data definition has no type or storage class
> t_main.c:111: parse error before `return'
> make: *** [t_main.o] Error 1
> ---
> Am I missing something?
> Nick

More information about the Pd-list mailing list