How do I solve this compilation error

Asked by Augustine Leudar on 2012-07-14

g++ -Wall -g -c src/wfs_jack.cpp -o build/wfs_jack.o
src/wfs_jack.cpp: In function ‘int main(int, char**)’:
src/wfs_jack.cpp:122:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++ -Wall -g -c src/jackaudioio.cpp -o build/jackaudioio.o
src/jackaudioio.cpp: In member function ‘void JackAudioIO::connectToPhysical(unsigned int, unsigned int)’:
src/jackaudioio.cpp:206:14: error: ‘free’ was not declared in this scope
src/jackaudioio.cpp:211:12: error: ‘free’ was not declared in this scope
src/jackaudioio.cpp: In member function ‘void JackAudioIO::connectFromPhysical(unsigned int, unsigned int)’:
src/jackaudioio.cpp:230:14: error: ‘free’ was not declared in this scope
src/jackaudioio.cpp:235:12: error: ‘free’ was not declared in this scope
src/jackaudioio.cpp: In member function ‘unsigned int JackAudioIO::numPhysicalDestinationPorts()’:
src/jackaudioio.cpp:285:13: error: ‘free’ was not declared in this scope
src/jackaudioio.cpp: In member function ‘unsigned int JackAudioIO::numPhysicalSourcePorts()’:
src/jackaudioio.cpp:299:13: error: ‘free’ was not declared in this scope
make: *** [build/jackaudioio.o] Error 1

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gcc-defaults Edit question
Assignee:
No assignee Edit question
Last query:
2012-07-14
Last reply:
2012-07-15

Can you help with this problem?

Provide an answer of your own, or ask Augustine Leudar for more information if necessary.

To post a message you must log in.