[Stk] noob build

James Hearon j_hearon at hotmail.com
Sun Aug 3 12:45:31 PDT 2008


Hi,
STK noob trying to build, but cannot seem to get thru make.
Wonder what I'm misunderstanding from compile instructions.

gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
GNU Make 3.81
stk-4.3.1
fedora9

./configure --with-alsa
then cd src

[JCH at localhost src]$ make
g++ -O3 -Wall -g -D__GXX__ -I../include -Iinclude -D__LITTLE_ENDIAN__  -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -DRAWWAVE_PATH=\"../rawwaves/\" -c Stk.cpp -o Release/Stk.o
Stk.cpp: In constructor ‘StkFrames::StkFrames(unsigned int, unsigned int, bool)’:
Stk.cpp:234: error: ‘calloc’ was not declared in this scope
Stk.cpp: In constructor ‘StkFrames::StkFrames(const StkFloat&, unsigned int, unsigned int, bool)’:
Stk.cpp:253: error: ‘malloc’ was not declared in this scope
Stk.cpp: In destructor ‘StkFrames::~StkFrames()’:
Stk.cpp:269: error: ‘free’ was not declared in this scope
Stk.cpp: In member function ‘void StkFrames::resize(size_t, unsigned int)’:
Stk.cpp:285: error: ‘free’ was not declared in this scope
Stk.cpp:286: error: ‘malloc’ was not declared in this scope
make: *** [Stk.o] Error 1

Thanks.
_________________________________________________________________
Your PC, mobile phone, and online services work together like never before.
http://clk.atdmt.com/MRT/go/108587394/direct/01/



More information about the Stk mailing list