[Stk] Re: StkX updated.

Bill Schottstaedt bil@ccrma.Stanford.EDU
Tue, 7 Feb 2006 06:02:02 -0800


As I was goofing around with stk anyway, I tried it on some
other systems:

On dual x86-64 linux, no problems.

On x86-64 solaris, using --disable-realtime in configure,
make in the examples directory gets:

g++ -O3 -Wall -g -D__GXX__ -I../../include -D__LITTLE_ENDIAN__  -DRAWWAVE_PATH=\       "../../
rawwaves/\" -c ../../src/InetWvIn.cpp -o Release/InetWvIn.o
In file included from ../../include/InetWvIn.h:32,
                 from ../../src/InetWvIn.cpp:27:
../../include/UdpSocket.h:67: error: field `address_' has incomplete type
In file included from ../../include/InetWvIn.h:33,
                 from ../../src/InetWvIn.cpp:27:
../../include/Thread.h:62: error: expected `;' before '(' token
../../include/Thread.h:90: error: `THREAD_HANDLE' does not name a type
In file included from ../../include/InetWvIn.h:34,
                 from ../../src/InetWvIn.cpp:27:
../../include/Mutex.h:65: error: `MUTEX' does not name a type
../../include/Mutex.h:66: error: `CONDITION' does not name a type
../../src/InetWvIn.cpp:29: error: `THREAD_RETURN' does not name a type
../../src/InetWvIn.cpp: In constructor `InetWvIn::InetWvIn(long unsigned int, un       signed int)':
../../src/InetWvIn.cpp:47: error: 'class Thread' has no member named 'start'
../../src/InetWvIn.cpp:47: error: `inputThread' undeclared (first use this funct       ion)
../../src/InetWvIn.cpp:47: error: (Each undeclared identifier is reported only o       nce for each 
function it appears in.)
make: *** [InetWvIn.o] Error 1


in effects and ragamatic:

g++ -O3 -Wall -g -D__GXX__ -I../../include -D__LITTLE_ENDIAN__  -DRAWWAVE_PATH=\"../../
rawwaves/\" -o effects effects.cpp Release/*.o -lm  
effects.cpp: In function `int main(int, char**)':
effects.cpp:206: error: 'class Messager' has no member named 'startSocketInput'
effects.cpp:209: error: 'class Messager' has no member named 'startStdInput'
make: *** [effects] Error 1

in demo:

g++ -O3 -Wall -g -D__GXX__ -I../../include -D__LITTLE_ENDIAN__  -DRAWWAVE_PATH=\"../../
rawwaves/\" -o Md2Skini Md2Skini.cpp Release/Stk.o Release/RtMidi.o -lm  
Undefined                       first referenced
 symbol                             in file
RtMidiIn::initialize()              Release/RtMidi.o
RtMidiOut::initialize()             Release/RtMidi.o
vtable for RtMidiOut                Release/RtMidi.o
vtable for RtMidiIn                 Release/RtMidi.o
ld: fatal: Symbol referencing errors. No output written to Md2Skini
collect2: ld returned 1 exit status
make: *** [Md2Skini] Error 1

----------------

in freeBSD and netBSD (with --disable-realtime):

/home/bil/test/stk-4.2.1/src/ make
"Makefile", line 7: Need an operator
"Makefile", line 29: Missing dependency operator
"Makefile", line 32: Need an operator
"Makefile", line 35: Need an operator
"Makefile", line 44: Missing dependency operator
"Makefile", line 45: warning: duplicate script for target "ifeq" ignored
"Makefile", line 46: warning: duplicate script for target "ifeq" ignored
"Makefile", line 47: Need an operator
"Makefile", line 50: Missing dependency operator
"Makefile", line 51: warning: duplicate script for target "ifeq" ignored
"Makefile", line 51: warning: duplicate script for target "(,)" ignored
"Makefile", line 52: Need an operator
make: fatal errors encountered -- cannot continue

But gmake can handle the Makefile, and src was ok.
In demo (freeBSD and netBSD):

g++ -O3 -Wall -g -D__GXX__ -I../../include -D__LITTLE_ENDIAN__  -DRAWWAVE_PATH=\"../../
rawwaves/\" -o Md2Skini Md2Skini.cpp Release/Stk.o Release/RtMidi.o -lm  
Release/RtMidi.o(.text+0x178): In function `RtMidiOut::RtMidiOut()':
../../src/RtMidi.cpp:148: undefined reference to `vtable for RtMidiOut'
Release/RtMidi.o(.text+0x17e):../../src/RtMidi.cpp:149: undefined reference to `RtMidiOut::initialize
()'
Release/RtMidi.o(.text+0x208): In function `RtMidiOut::RtMidiOut()':
../../src/RtMidi.cpp:148: undefined reference to `vtable for RtMidiOut'
Release/RtMidi.o(.text+0x20e):../../src/RtMidi.cpp:149: undefined reference to `RtMidiOut::initialize
()'
Release/RtMidi.o(.text+0x4b7): In function `RtMidiIn::RtMidiIn()':
../../src/RtMidi.cpp:73: undefined reference to `vtable for RtMidiIn'
Release/RtMidi.o(.text+0x4c8): In function `RtMidiIn::RtMidiIn()':
/usr/include/c++/3.4/bits/stl_deque.h:130: undefined reference to `RtMidiIn::initialize()'
Release/RtMidi.o(.text+0x607): In function `RtMidiIn::RtMidiIn()':
../../src/RtMidi.cpp:73: undefined reference to `vtable for RtMidiIn'
Release/RtMidi.o(.text+0x618): In function `RtMidiIn::RtMidiIn()':
/usr/include/c++/3.4/bits/stl_deque.h:106: undefined reference to `RtMidiIn::initialize()'
gmake: *** [Md2Skini] Error 1


in examples:

g++ -O3 -Wall -g -D__GXX__ -I../../include -D__LITTLE_ENDIAN__  -DRAWWAVE_PATH=\"../../
rawwaves/\" -c ../../src/InetWvIn.cpp -o Release/InetWvIn.o
In file included from ../../include/InetWvIn.h:32,
                 from ../../src/InetWvIn.cpp:27:
../../include/UdpSocket.h:67: error: field `address_' has incomplete type
In file included from ../../include/InetWvIn.h:33,
                 from ../../src/InetWvIn.cpp:27:
../../include/Thread.h:62: error: expected `;' before '(' token
../../include/Thread.h:90: error: `THREAD_HANDLE' does not name a type
In file included from ../../include/InetWvIn.h:34,
                 from ../../src/InetWvIn.cpp:27:
../../include/Mutex.h:65: error: `MUTEX' does not name a type
../../include/Mutex.h:66: error: `CONDITION' does not name a type
../../src/InetWvIn.cpp:29: error: `THREAD_RETURN' does not name a type
../../src/InetWvIn.cpp: In constructor `InetWvIn::InetWvIn(long unsigned int, unsigned int)':
../../src/InetWvIn.cpp:47: error: 'class Thread' has no member named 'start'
../../src/InetWvIn.cpp:47: error: `inputThread' undeclared (first use this function)
../../src/InetWvIn.cpp:47: error: (Each undeclared identifier is reported only once for each function it 
appears in.)
gmake: *** [InetWvIn.o] Error 1


in effects:

g++ -O3 -Wall -g -D__GXX__ -I../../include -D__LITTLE_ENDIAN__  -DRAWWAVE_PATH=\"../../
rawwaves/\" -o effects effects.cpp Release/*.o -lm  
effects.cpp: In function `int main(int, char**)':
effects.cpp:206: error: 'class Messager' has no member named 'startSocketInput'
effects.cpp:209: error: 'class Messager' has no member named 'startStdInput'
gmake: *** [effects] Error 1


in ragamatic:

g++ -O3 -Wall -g -D__GXX__ -I../../include -D__LITTLE_ENDIAN__  -DRAWWAVE_PATH=\"../../
rawwaves/\" -o ragamat ragamat.cpp Release/*.o -lm  
ragamat.cpp: In function `int main(int, char**)':
ragamat.cpp:275: error: `startSocketInput' undeclared (first use this function)
ragamat.cpp:275: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
ragamat.cpp:278: error: `startStdInput' undeclared (first use this function)
gmake: *** [ragamat] Error 1