From kde-multimedia Tue Mar 07 21:31:28 2000 From: Achim Bohnet Date: Tue, 07 Mar 2000 21:31:28 +0000 To: kde-multimedia Subject: KDE 2: timidity compilation trouble X-MARC-Message: https://marc.info/?l=kde-multimedia&m=95246471015590 Hi, I have some trouble compiling timidity of KDE 2 kdemultimedia on Debian Linux: make[1]: Entering directory `/home/ach/kde/cvs-head/objs/kdemultimedia/kmidi/TIMIDITY' /bin/sh ../../libtool --mode=link gcc -DDEFAULT_PATH=\"/home/ach/cvs-kde/share/apps/kmidi/config\" -DAU_OSS -DAU_NAS -DIA_SLANG -I/usr/include/audio -s -o timidity timidity.o common.o readmidi.o playmidi.o resample.o mix.o instrum.o tables.o controls.o output.o filter.o wave_a.o raw_a.o dumb_c.o fffload.o sndfont.o readsbk.o effects.o reverb_e.o chorus_e.o phaser_e.o celeste_e.o resample_l.o resample_f.o cfg.o b_out.o hpux_a.o linux_a.o linux_a2.o sun_a.o dec_a.o ncurs_c.o slang_c.o tk_c.o gtk_i.o ctl.o motif_c.o motif_i.o motif_p.o xaw_i.o xaw_c.o -lslang gcc -DDEFAULT_PATH=\"/home/ach/cvs-kde/share/apps/kmidi/config\" -DAU_OSS -DAU_NAS -DIA_SLANG -I/usr/include/audio -s -o timidity timidity.o common.o readmidi.o playmidi.o resample.o mix.o instrum.o tables.o controls.o output.o filter.o wave_a.o raw_a.o dumb_c.o fffload.o sndfont.o readsbk.o effects.o reverb_e.o chorus_e.o phaser_e.o celeste_e.o resample_l.o resample_f.o cfg.o b_out.o hpux_a.o linux_a.o linux_a2.o sun_a.o dec_a.o ncurs_c.o slang_c.o tk_c.o gtk_i.o ctl.o motif_c.o motif_i.o motif_p.o xaw_i.o xaw_c.o -lslang output.o(.data+0x0): undefined reference to `nas_play_mode' output.o(.data+0x14): undefined reference to `nas_play_mode' ctl.o: In function `pipe_open': ctl.o(.text+0x1a11): undefined reference to `Launch_Gtk_Process' collect2: ld returned 1 exit status I use the following configure options (we have X-Terminals so only nas is usable for us) ../../kdemultimedia/configure --prefix=/home/ach/cvs-kde --enable-shared --disable-motif --disabl e-gtk --disable-tcltk --disable-xaw --without-tclx --disable-glibtest --with-nas-library=/usr/lib - -with-nas-includes=/usr/include/audio --enable-audio=nas,oss --with-default-output=nas --enable-int ... checking if kmid would compile... no checking enable_audio=oss... yes checking enable_audio=sun... no checking enable_audio=hpux... no checking enable_audio=irix... no checking enable_audio=mme... no checking enable_audio=sb_dsp... no checking enable_audio=alsa... no checking enable_audio=alib... no checking enable_audio=nas... /usr/lib checking enable_audio=esd... no checking for SLang_init_tty in -lslang... yes checking for slang/slang.h... no checking for slang.h... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for main in -lossaudio... no checking for main in -lasound... no checking for main in -lcdaudio... no checking for main in -lfpe... no checking for main in -lcdrom... no checking for main in -lAlib... no checking for main in -laudio... no checking for main in -lmme... no ... First think that is strange is the missing Gtk* symbol because I've used --disable-gtk but more important is that nm /usr/lib/libaudio.a | grep nas_play find nothing and a grep on the kmidi sources tree only shows external declarations: chandra(130) ~/kde/cvs-head/kdemultimedia/kmidi > tcgrep -r nas_play . ./TIMIDITY/nas_a.c:#define dpm nas_play_mode ./TIMIDITY/output.c:extern PlayMode nas_play_mode; ./TIMIDITY/output.c:#define DEFAULT_PLAY_MODE &nas_play_mode ./nas_a.cpp:#define dpm nas_play_mode ./output.cpp:extern PlayMode nas_play_mode; ./output.cpp:#define DEFAULT_PLAY_MODE &nas_play_mode Where should does nas_play_mode stuff be? Thanks for any hint, Achim