[CM] sndlib build error

Dave Phillips dlphillips at woh.rr.com
Tue Dec 24 03:04:30 PST 2013


On 12/23/2013 02:00 PM, Bill Schottstaedt wrote:
> That entire block should be within #if USE_SND ... #endif --
> I'll make a new sndlib tarball -- thank for the heads up!
>
>

Thanks, Bill, that did the trick, sndlib now compiles cleanly. Alas, 
another problem (related?) shows up now:

dlphilp at Maximus-i386:~/src/commonmusic-code$ make
==== Building s7 (debug) ====
Running pre-build commands
res/bin/sndlib.sh
=== Configuring Sndlib ====
premake4 --with-g++
...ome/dlphilp/src/commonmusic-code/sndlib/premake4.lua:95: attempt to 
call field 'is64bit' (a nil value)
=== Making Sndlib ====
g++ headers.o audio.o io.o sound.o xen.o vct.o clm.o sndlib2xen.o 
clm2xen.o s7.o -o libsndlib.so -shared -lasound -lgsl -lgslcblas -lm 
-ljack -lsamplerate -lm -ldl
: -rc libsndlib.a headers.o audio.o io.o sound.o xen.o vct.o clm.o 
sndlib2xen.o clm2xen.o s7.o
: libsndlib.a
s7.cpp
In file included from sndlib/clm2xen.h:4:0,
from src/s7.cpp:18:
sndlib/vct.h:15:27: error: ‘XEN’ was not declared in this scope
sndlib/vct.h:18:12: error: ‘XEN’ does not name a type
sndlib/vct.h:25:12: error: ‘XEN’ does not name a type
sndlib/vct.h:26:12: error: ‘XEN’ does not name a type
sndlib/vct.h:27:28: error: ‘XEN’ was not declared in this scope
sndlib/vct.h:28:12: error: ‘XEN’ does not name a type
sndlib/vct.h:29:12: error: ‘XEN’ does not name a type
sndlib/vct.h:30:12: error: ‘XEN’ does not name a type
In file included from src/s7.cpp:18:0:
sndlib/clm2xen.h:22:27: error: ‘XEN’ was not declared in this scope
sndlib/clm2xen.h:24:12: error: ‘XEN’ does not name a type
sndlib/clm2xen.h:25:12: error: ‘XEN’ does not name a type
sndlib/clm2xen.h:26:43: error: ‘XEN’ was not declared in this scope
sndlib/clm2xen.h:26:52: error: expected primary-expression before ‘const’
sndlib/clm2xen.h:26:72: error: expected primary-expression before ‘int’
sndlib/clm2xen.h:26:87: error: expected primary-expression before ‘*’ token
sndlib/clm2xen.h:26:88: error: ‘def’ was not declared in this scope
sndlib/clm2xen.h:26:91: error: expression list treated as compound 
expression in initializer [-fpermissive]
sndlib/clm2xen.h:27:69: error: ‘XEN’ has not been declared
sndlib/clm2xen.h:27:80: error: ‘XEN’ has not been declared
sndlib/clm2xen.h:28:44: error: ‘XEN’ was not declared in this scope
sndlib/clm2xen.h:28:53: error: expected primary-expression before ‘const’
sndlib/clm2xen.h:28:73: error: expected primary-expression before ‘int’
sndlib/clm2xen.h:28:92: error: expected primary-expression before ‘def’
sndlib/clm2xen.h:28:95: error: expression list treated as compound 
expression in initializer [-fpermissive]
sndlib/clm2xen.h:29:34: error: ‘XEN’ was not declared in this scope
sndlib/clm2xen.h:29:43: error: expected primary-expression before ‘const’
sndlib/clm2xen.h:29:63: error: expected primary-expression before ‘int’
sndlib/clm2xen.h:29:70: error: expected primary-expression before ‘int’
sndlib/clm2xen.h:29:77: error: expression list treated as compound 
expression in initializer [-fpermissive]
sndlib/clm2xen.h:30:36: error: ‘XEN’ was not declared in this scope
sndlib/clm2xen.h:30:45: error: expected primary-expression before ‘const’
sndlib/clm2xen.h:30:65: error: expected primary-expression before ‘int’
sndlib/clm2xen.h:30:72: error: expected primary-expression before ‘bool’
sndlib/clm2xen.h:30:80: error: expression list treated as compound 
expression in initializer [-fpermissive]
sndlib/clm2xen.h:31:48: error: ‘XEN’ was not declared in this scope
sndlib/clm2xen.h:31:57: error: expected primary-expression before ‘const’
sndlib/clm2xen.h:31:77: error: expected primary-expression before ‘int’
sndlib/clm2xen.h:31:95: error: expected primary-expression before ‘def’
sndlib/clm2xen.h:31:98: error: expression list treated as compound 
expression in initializer [-fpermissive]
sndlib/clm2xen.h:32:45: error: ‘XEN’ was not declared in this scope
sndlib/clm2xen.h:32:54: error: expected primary-expression before ‘const’
sndlib/clm2xen.h:32:74: error: expected primary-expression before ‘int’
sndlib/clm2xen.h:32:81: error: expected primary-expression before ‘char’
sndlib/clm2xen.h:32:90: error: expression list treated as compound 
expression in initializer [-fpermissive]
sndlib/clm2xen.h:33:12: error: ‘XEN’ does not name a type
sndlib/clm2xen.h:36:62: error: ‘XEN’ has not been declared
sndlib/clm2xen.h:37:67: error: ‘XEN’ has not been declared
sndlib/clm2xen.h:37:75: error: ‘XEN’ has not been declared
sndlib/clm2xen.h:39:12: error: ‘XEN’ does not name a type
sndlib/clm2xen.h:40:12: error: ‘XEN’ does not name a type
sndlib/clm2xen.h:41:12: error: ‘XEN’ does not name a type
sndlib/clm2xen.h:42:12: error: ‘XEN’ does not name a type
src/s7.cpp: In function ‘int main(int, const char**)’:
src/s7.cpp:29:23: error: ‘s7_xen_initialize’ was not declared in this scope
make[1]: *** [obj/s7/Debug/s7.o] Error 1
make: *** [s7] Error 2
dlphilp at Maximus-i386:~/src/commonmusic-code$


Best,

dp




More information about the Cmdist mailing list