[linux-audio-user] Triyng to compile pd (PPC)

Emiliano Grilli emillo at libero.it
Wed Dec 4 06:07:01 EST 2002


  Hello, 
  I'm trying to compile pd on my debian 3.0 ppc laptop: 
  I've followed the instructions on the documentation (symlinked
  /usr/lib/libtcl8.3.so and /usr/lib/libtk8.3.so to libtcl.so and
  libtk.so), but I get this error message:
  
  
  cd ../obj; cc -I. -o ../bin/pd-gui t_main.o t_tkcmd.o \
  -lX11 -L/usr/X11R6/lib
  t_main.o: In function `Tcl_AppInit':
  t_main.o(.text+0x14): undefined reference to `Tcl_Init'
  t_main.o(.text+0x14): relocation truncated to fit: R_PPC_REL24
  Tcl_Init
  t_main.o(.text+0x28): undefined reference to `Tk_Init'
  t_main.o(.text+0x28): relocation truncated to fit: R_PPC_REL24 Tk_Init
  t_main.o: In function `main':
  t_main.o(.text+0xd8): undefined reference to `Tk_Main'
  t_main.o(.text+0xd8): relocation truncated to fit: R_PPC_REL24 Tk_Main
  t_main.o(.sdata+0x0): undefined reference to `matherr'
  t_tkcmd.o: In function `pdgui_setupsocket':
  t_tkcmd.o(.text+0x5dc): undefined reference to `Tcl_CreateFileHandler'
  t_tkcmd.o(.text+0x5dc): relocation truncated to fit: R_PPC_REL24
  Tcl_CreateFileHandler
  t_tkcmd.o: In function `tcl_vmess':
  t_tkcmd.o(.text+0x6a4): undefined reference to `Tcl_Eval'
  t_tkcmd.o(.text+0x6a4): relocation truncated to fit: R_PPC_REL24
  Tcl_Eval
  t_tkcmd.o: In function `pdgui_doevalfile':
  t_tkcmd.o(.text+0x734): undefined reference to `Tcl_Eval'
  t_tkcmd.o(.text+0x734): relocation truncated to fit: R_PPC_REL24
  Tcl_Eval
  t_tkcmd.o(.text+0x798): undefined reference to `Tcl_EvalFile'
  t_tkcmd.o(.text+0x798): relocation truncated to fit: R_PPC_REL24
  Tcl_EvalFile
  t_tkcmd.o(.text+0x7cc): undefined reference to `Tcl_Eval'
  t_tkcmd.o(.text+0x7cc): relocation truncated to fit: R_PPC_REL24
  Tcl_Eval
  t_tkcmd.o: In function `tcl_mess':
  t_tkcmd.o(.text+0x96c): undefined reference to `Tcl_Eval'
  t_tkcmd.o(.text+0x96c): relocation truncated to fit: R_PPC_REL24
  Tcl_Eval
  t_tkcmd.o: In function `pdgui_startup':
  t_tkcmd.o(.text+0xa4c): undefined reference to `Tcl_CreateCommand'
  t_tkcmd.o(.text+0xa4c): relocation truncated to fit: R_PPC_REL24
  Tcl_CreateCommand
  t_tkcmd.o: In function `Pdtcl_Init':
  t_tkcmd.o(.text+0xaa8): undefined reference to `Tcl_GetVar'
  t_tkcmd.o(.text+0xaa8): relocation truncated to fit: R_PPC_REL24
  Tcl_GetVar
  t_tkcmd.o(.text+0xaf8): undefined reference to `Tcl_CreateCommand'
  t_tkcmd.o(.text+0xaf8): relocation truncated to fit: R_PPC_REL24
  Tcl_CreateCommand
  collect2: ld returned 1 exit status
  make: *** [../bin/pd-gui] Error 1
  
  Can anyone help me?
  TIA
  
-- 
  .------------------------------------.
  | Emiliano Grilli - emillo at libero.it |
  '------------------------------------'




More information about the Linux-audio-user mailing list