Sorry, I introduced that last syntax error when I commented out the body of the one function that referred to gtk.
Fixing that, I was able to do the following: > >(load-from-path "oo.scm") > #<unspecified> > >(load-from-path "eval-c.scm") > #<unspecified> And those worked fine. But then I try to load rt-compiler.scm: > >(load-from-path "rt-compiler.scm") > compilation-failed: () > In unknown file: > ?: 0* [primitive-load-path "rt-compiler.scm"] > In /home/dto/src/snd-ls-0.9.7.5/snd-8/rt-compiler.scm: > 5539: 1* (eval-c (<-> "-I" snd-header-files-path ...) "#include <config.h>" > ...) > 5539: 2 (if (not #) (eval-c-cache-it # # #)) > In unknown file: > ?: 3 [eval-c-cache-it "-I/home/dto/src/snd-ls-0.9.7.5/snd-8 " # ... > ?: 4* [eval-c-eval # "-I/home/dto/src/snd-ls-0.9.7.5/snd-8 " ...] > ?: 5 (let* () (let* (# #) (let # #))) > ?: 6 (let* (# #) (let # #)) > ?: 7 (let ((compile-options #)) (let* () (let* # # # ...))) > ?: 8 (let* () (let* (# # # # ...) (if # #) (for-each # #) ...)) > In /home/dto/src/snd-ls-0.9.7.5/snd-8/eval-c.scm: > 1715: 9 (let* (# # # # ...) (if # #) (for-each # #) ...) > 1741: 10* (if (not (= 0 #)) (begin (if eval-c-lazy-cleanup #) (throw #))) > 1747: 11 (begin (if eval-c-lazy-cleanup #) (throw #)) > 1750: 12 [gsubr-apply #<primitive-procedure throw> compilation-failed] The following is on standard output after this happens: > [EMAIL PROTECTED] snd-8]# sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > sh: line 1: -s: command not found > /tmp/fileYMX5Dm.c: In function ‘jack_port_name_eval_c_helper’: > /tmp/fileYMX5Dm.c:267: warning: initialization discards qualifiers from > pointer target type > /tmp/fileYMX5Dm.c: In function ‘jack_port_short_name_eval_c_helper’: > /tmp/fileYMX5Dm.c:276: warning: initialization discards qualifiers from > pointer target type > /tmp/fileYMX5Dm.c: In function ‘jack_port_type_eval_c_helper’: > /tmp/fileYMX5Dm.c:294: warning: initialization discards qualifiers from > pointer target type > Alsa library loaded. > /tmp/fileTQ4LlL.c:38:20: error: ladspa.h: No such file or directory > /tmp/fileTQ4LlL.c:47: error: expected specifier-qualifier-list before > ‘LADSPA_Descriptor’ > /tmp/fileTQ4LlL.c: In function ‘ladspa_minus_set2’: > /tmp/fileTQ4LlL.c:99: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_controls_in’ > /tmp/fileTQ4LlL.c:101: error: ‘struct mus_rt_ladspa’ has no member named > ‘controls’ > /tmp/fileTQ4LlL.c: In function ‘make_minus_ladspa2’: > /tmp/fileTQ4LlL.c:119: error: ‘struct mus_rt_ladspa’ has no member named ‘ins’ > /tmp/fileTQ4LlL.c:119: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_audio_ins’ > /tmp/fileTQ4LlL.c:124: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_audio_ins’ > /tmp/fileTQ4LlL.c:128: error: ‘struct mus_rt_ladspa’ has no member named ‘ins’ > /tmp/fileTQ4LlL.c:129: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:129: error: ‘struct mus_rt_ladspa’ has no member named > ‘handle’ > /tmp/fileTQ4LlL.c:129: error: ‘struct mus_rt_ladspa’ has no member named > ‘audioin_port_nums’ > /tmp/fileTQ4LlL.c:129: error: ‘struct mus_rt_ladspa’ has no member named ‘ins’ > /tmp/fileTQ4LlL.c:134: error: ‘struct mus_rt_ladspa’ has no member named > ‘outs’ > /tmp/fileTQ4LlL.c:134: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_audio_outs’ > /tmp/fileTQ4LlL.c:139: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_audio_outs’ > /tmp/fileTQ4LlL.c:143: error: ‘struct mus_rt_ladspa’ has no member named > ‘outs’ > /tmp/fileTQ4LlL.c:144: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:144: error: ‘struct mus_rt_ladspa’ has no member named > ‘handle’ > /tmp/fileTQ4LlL.c:144: error: ‘struct mus_rt_ladspa’ has no member named > ‘audioout_port_nums’ > /tmp/fileTQ4LlL.c:144: error: ‘struct mus_rt_ladspa’ has no member named > ‘outs’ > /tmp/fileTQ4LlL.c:153: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_controls_in’ > /tmp/fileTQ4LlL.c:157: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:157: error: ‘struct mus_rt_ladspa’ has no member named > ‘handle’ > /tmp/fileTQ4LlL.c:157: error: ‘struct mus_rt_ladspa’ has no member named > ‘controlin_port_nums’ > /tmp/fileTQ4LlL.c:157: error: ‘struct mus_rt_ladspa’ has no member named > ‘controls’ > /tmp/fileTQ4LlL.c:162: error: ‘struct mus_rt_ladspa’ has no member named > ‘controls_out’ > /tmp/fileTQ4LlL.c:162: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_controls_out’ > /tmp/fileTQ4LlL.c:167: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_controls_out’ > /tmp/fileTQ4LlL.c:171: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:171: error: ‘struct mus_rt_ladspa’ has no member named > ‘handle’ > /tmp/fileTQ4LlL.c:171: error: ‘struct mus_rt_ladspa’ has no member named > ‘controlout_port_nums’ > /tmp/fileTQ4LlL.c:171: error: ‘struct mus_rt_ladspa’ has no member named > ‘controls_out’ > /tmp/fileTQ4LlL.c:176: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:178: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:178: error: ‘struct mus_rt_ladspa’ has no member named > ‘handle’ > /tmp/fileTQ4LlL.c:181: error: ‘struct mus_rt_ladspa’ has no member named > ‘scm_ladspa’ > /tmp/fileTQ4LlL.c: In function ‘mark_rt_ladspa’: > /tmp/fileTQ4LlL.c:199: error: ‘struct mus_rt_ladspa’ has no member named > ‘scm_output’ > /tmp/fileTQ4LlL.c:200: error: ‘struct mus_rt_ladspa’ has no member named > ‘scm_descriptor’ > /tmp/fileTQ4LlL.c:201: error: ‘struct mus_rt_ladspa’ has no member named > ‘scm_handle’ > /tmp/fileTQ4LlL.c:202: error: ‘struct mus_rt_ladspa’ has no member named > ‘scm_ladspa’ > /tmp/fileTQ4LlL.c: In function ‘free_rt_ladspa’: > /tmp/fileTQ4LlL.c:210: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:212: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:212: error: ‘struct mus_rt_ladspa’ has no member named > ‘handle’ > /tmp/fileTQ4LlL.c:214: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:216: error: ‘struct mus_rt_ladspa’ has no member named > ‘descriptor’ > /tmp/fileTQ4LlL.c:216: error: ‘struct mus_rt_ladspa’ has no member named > ‘handle’ > /tmp/fileTQ4LlL.c:218: error: ‘struct mus_rt_ladspa’ has no member named > ‘controls’ > /tmp/fileTQ4LlL.c:219: error: ‘struct mus_rt_ladspa’ has no member named > ‘controls_out’ > /tmp/fileTQ4LlL.c:224: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_audio_ins’ > /tmp/fileTQ4LlL.c:228: error: ‘struct mus_rt_ladspa’ has no member named ‘ins’ > /tmp/fileTQ4LlL.c:233: error: ‘struct mus_rt_ladspa’ has no member named ‘ins’ > /tmp/fileTQ4LlL.c:238: error: ‘struct mus_rt_ladspa’ has no member named > ‘num_audio_outs’ > /tmp/fileTQ4LlL.c:242: error: ‘struct mus_rt_ladspa’ has no member named > ‘outs’ > /tmp/fileTQ4LlL.c:247: error: ‘struct mus_rt_ladspa’ has no member named > ‘outs’ > /tmp/fileTQ4LlL.c:248: error: ‘struct mus_rt_ladspa’ has no member named > ‘audioin_port_nums’ > /tmp/fileTQ4LlL.c:249: error: ‘struct mus_rt_ladspa’ has no member named > ‘audioout_port_nums’ > /tmp/fileTQ4LlL.c:250: error: ‘struct mus_rt_ladspa’ has no member named > ‘controlin_port_nums’ > /tmp/fileTQ4LlL.c:251: error: ‘struct mus_rt_ladspa’ has no member named > ‘controlout_port_nums’ > /tmp/fileTQ4LlL.c: In function ‘mark_rt_ladspa’: > /tmp/fileTQ4LlL.c:204: warning: control reaches end of non-void function "Kjetil S. Matheussen" <[EMAIL PROTECTED]> writes: > On Sat, 21 Oct 2006, David O'Toole wrote: > >> >> Hello Kjetil, >> >> We seem to have tracked down my errors to snd_conffile.scm not being >> loaded. > > Ouch, the realtime stuff is supposed to work without > snd_conffile.scm. Why is snd_conffile.scm needed? san_dysth works just > fine without snd_conffile.scm... > > >> I actually do have the file in my CVS download directory, so I >> loaded that first, and got some errors about undefined GTK symbols. It >> appears to depend on GTK. >> >> I'm reluctant to just use snd-ls, for several reasons. >> >> I want to configure Snd with -march=athlon-xp (for as much as 20% >> speedup, i'm told) and --with-motif. Besides preferring the Motif >> version visually, I am also experiencing a bug that prevents me from >> running any GTK application under Distributed Multihead X (DMX) which >> is what I use for my multihead desktop. So at this time the >> GTK-version is not an option for me. >> > > Okay, but you could use the SND source provided by snd-ls to do > realtime work. You do that by running ./unpack.sh, and after that just > configure and compile it the way you want. I guess this could > be less frustrating for you, since snd from time to time is > incompatible with rt-compiler and rt-engine because of api changes. > > >> I would like to help get rt-compiler working with the Snd from >> CVS. Perhaps you can point me in the right direction, so that I can >> help write a different file to define all the symbols that rt-compiler >> needs? I will take a look at it tonight but some pointers would >> definitely help. >> > > I'm not sure what I can point you to. Its supposed to work, really. > But I think your %load-path is not set... > > >> I am developing a graphical Common Lisp frontend for the Snd-RT stuff, >> including realtime control. The home page for the project is >> http://dto.freeshell.org/notebook/ClFrame.html >> > > Yeah, it looks cool. :-) > > > -- David O'Toole [EMAIL PROTECTED] http://dto.freeshell.org/notebook/ _______________________________________________ Cmdist mailing list [email protected] http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
