[CM] SND v5.12 compiling problems
Michael Scholz
scholz-micha at gmx.de
Mon Jul 1 16:12:51 PDT 2002
When I try to compile snd v5.12 (28. June 2002) on FreeBSD v4.5 there
is a problem. After the following two patches compilation of snd
--with-guile and snd --with-ruby works okay. In "sndlib-strings.h" I
have added the line:
#define S_mus_audio_reinitialize "mus-audio-reinitialize"
and in "xen.c" I added before <ctypes.h>:
#include <sys/types.h>
Exist these problems only on FreeBSD?
Here are the two patches:
diff -c /home/mike/src/snd-5/sndlib-strings.h.orig /home/mike/src/snd-5/sndlib-strings.h
*** /home/mike/src/snd-5/sndlib-strings.h.orig Mon Jul 1 23:18:26 2002
--- /home/mike/src/snd-5/sndlib-strings.h Mon Jul 1 23:20:12 2002
***************
*** 140,144 ****
--- 140,145 ----
#define S_mus_file_prescaler "mus-file-prescaler"
#define S_mus_file_set_prescaler "mus-file-set-prescaler"
#define S_mus_expand_filename "mus-expand-filename"
+ #define S_mus_audio_reinitialize "mus-audio-reinitialize"
#endif
diff -c /home/mike/src/snd-5/xen.c.orig /home/mike/src/snd-5/xen.c
*** /home/mike/src/snd-5/xen.c.orig Mon Jul 1 23:17:59 2002
--- /home/mike/src/snd-5/xen.c Mon Jul 1 23:18:50 2002
***************
*** 8,13 ****
--- 8,14 ----
#endif
#endif
+ #include <sys/types.h>
#include <ctype.h>
#include <string.h>
#include <stdio.h>
Mike
More information about the Cmdist
mailing list