[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Om-synth] building om with gcc4
From: |
Federico |
Subject: |
[Om-synth] building om with gcc4 |
Date: |
Sat, 08 Apr 2006 18:08:07 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.7 (X11/20060220) |
hi people,
I have problems building om-synth with gcc-4.0.1
I've checked out a version from cvs some days ago.
It builds fine on a gentoo with gcc-3.4.5, but on 4.0.1 gives lot of
unrelolved links (see the attached output).
anyone could help?
ar cru libom.a NodeBase.o Patch.o NodeFactory.o Om.o OmApp.o
JackAudioDriver.o OSCReceiver.o OSCSender.o Buffer.o Port.o PortBase.o
InputPort.o OutputPort.o MidiNoteNode.o MidiTriggerNode.o
MidiControlNode.o RegisterClientEvent.o UnregisterClientEvent.o
BridgeNode.o ControlInputNode.o ControlOutputNode.o AudioInputNode.o
AudioOutputNode.o MidiInputNode.o MidiOutputNode.o Event.o
ActivateEvent.o DeactivateEvent.o SetPortValueEvent.o
SetPortValueSlowEvent.o NoteOnEvent.o NoteOffEvent.o AllNotesOffEvent.o
ConnectionEvent.o DisconnectionEvent.o DisconnectNodeEvent.o
DisconnectPortEvent.o DestroyEvent.o PreProcessor.o Maid.o
AddNodeEvent.o SetMetadataEvent.o RequestMetadataEvent.o
RequestPortValueEvent.o RequestAllObjectsEvent.o RequestPluginsEvent.o
CreatePatchEvent.o OSCResponder.o PostProcessor.o Connection.o
ConnectionBase.o ObjectStore.o LoadPluginsEvent.o EnablePatchEvent.o
DisablePatchEvent.o ClearPatchEvent.o TransportNode.o RenameEvent.o
MidiLearnEvent.o instantiations.o AlsaMidiDriver.o LADSPAPlugin.o
ranlib libom.a
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/alsa
-I../../src/common -fno-exceptions -fno-rtti -fPIC -g -O2 -DNDEBUG
-DNDEBUG -pipe -fmessage-length=139
-fdiagnostics-show-location=every-line -MT main.o -MD -MP -MF
".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
".deps/main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -DNDEBUG -pipe
-fmessage-length=139 -fdiagnostics-show-location=every-line -MT
cmdline.o -MD -MP -MF ".deps/cmdline.Tpo" -c -o cmdline.o cmdline.c; \
then mv -f ".deps/cmdline.Tpo" ".deps/cmdline.Po"; else rm -f
".deps/cmdline.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link g++ -I/usr/include/alsa
-I../../src/common -fno-exceptions -fno-rtti -fPIC -g -O2 -DNDEBUG
-DNDEBUG -pipe -fmessage-length=139
-fdiagnostics-show-location=every-line -o om main.o cmdline.o libom.a
-ljack -llo -lpthread -lasound -lm -ldl -lpthread -lrt -lrt -lpthread
mkdir .libs
g++ -I/usr/include/alsa -I../../src/common -fno-exceptions -fno-rtti
-fPIC -g -O2 -DNDEBUG -DNDEBUG -pipe -fmessage-length=139
-fdiagnostics-show-location=every-line -o om main.o cmdline.o libom.a
/usr/lib/libjack.so /usr/lib/liblo.so /usr/lib/libasound.so -lm -ldl
-lrt -lpthread
libom.a(JackAudioDriver.o)(.gnu.linkonce.d._ZTVN2Om8PortBaseIfEE[vtable
for Om::PortBase<float>]+0x28): undefined reference to
`Om::PortBase<float>::prepare_buffers(unsigned int)'
libom.a(JackAudioDriver.o)(.gnu.linkonce.d._ZTVN2Om8PortBaseINS_11MidiMessageEEE[vtable
for Om::PortBase<Om::MidiMessage>]+0x28): undefined reference to
`Om::PortBase<Om::MidiMessage>::prepare_buffers(unsigned int)'
libom.a(SetPortValueEvent.o)(.text+0xf1): In function
`Om::SetPortValueEvent::execute(unsigned int)':
/home/fferri/om-synth/om-synth/src/engine/SetPortValueEvent.cpp:68:
undefined reference to `Om::PortBase<float>::set_value(unsigned int,
float, unsigned int)'
libom.a(SetPortValueEvent.o)(.text+0x128):/home/fferri/om-synth/om-synth/src/engine/SetPortValueEvent.cpp:66:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(SetPortValueSlowEvent.o)(.text+0x102): In function
`Om::SetPortValueSlowEvent::execute(unsigned int)':
/home/fferri/om-synth/om-synth/src/engine/SetPortValueSlowEvent.cpp:79:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(ConnectionEvent.o)(.gnu.linkonce.d._ZTVN2Om10OutputPortIfEE[vtable
for Om::OutputPort<float>]+0x28): undefined reference to
`Om::PortBase<float>::prepare_buffers(unsigned int)'
libom.a(ConnectionEvent.o)(.gnu.linkonce.d._ZTVN2Om9InputPortIfEE[vtable
for Om::InputPort<float>]+0x28): undefined reference to
`Om::InputPort<float>::prepare_buffers(unsigned int)'
libom.a(ConnectionEvent.o)(.gnu.linkonce.d._ZTVN2Om9InputPortINS_11MidiMessageEEE[vtable
for Om::InputPort<Om::MidiMessage>]+0x28): undefined reference to
`Om::InputPort<Om::MidiMessage>::prepare_buffers(unsigned int)'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeIfEE[vtable
for Om::BridgeNode<float>]+0x1c): undefined reference to
`Om::BridgeNode<float>::set_path(Om::Path const&)'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeIfEE[vtable
for Om::BridgeNode<float>]+0x28): undefined reference to
`Om::BridgeNode<float>::activate()'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeIfEE[vtable
for Om::BridgeNode<float>]+0x2c): undefined reference to
`Om::BridgeNode<float>::deactivate()'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeIfEE[vtable
for Om::BridgeNode<float>]+0x6c): undefined reference to
`Om::BridgeNode<float>::add_to_patch()'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeIfEE[vtable
for Om::BridgeNode<float>]+0x70): undefined reference to
`Om::BridgeNode<float>::remove_from_patch()'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeIfEE[vtable
for Om::BridgeNode<float>]+0x74): undefined reference to
`Om::BridgeNode<float>::send_creation_messages(Om::ClientRecord*) const'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeINS_11MidiMessageEEE[vtable
for Om::BridgeNode<Om::MidiMessage>]+0x1c): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::set_path(Om::Path const&)'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeINS_11MidiMessageEEE[vtable
for Om::BridgeNode<Om::MidiMessage>]+0x28): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::activate()'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeINS_11MidiMessageEEE[vtable
for Om::BridgeNode<Om::MidiMessage>]+0x2c): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::deactivate()'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeINS_11MidiMessageEEE[vtable
for Om::BridgeNode<Om::MidiMessage>]+0x6c): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::add_to_patch()'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeINS_11MidiMessageEEE[vtable
for Om::BridgeNode<Om::MidiMessage>]+0x70): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::remove_from_patch()'
libom.a(NodeFactory.o)(.gnu.linkonce.d._ZTVN2Om10BridgeNodeINS_11MidiMessageEEE[vtable
for Om::BridgeNode<Om::MidiMessage>]+0x74): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::send_creation_messages(Om::ClientRecord*)
const'
libom.a(OutputPort.o)(.gnu.linkonce.d._ZTVN2Om10OutputPortINS_11MidiMessageEEE[vtable
for Om::OutputPort<Om::MidiMessage>]+0x28): undefined reference to
`Om::PortBase<Om::MidiMessage>::prepare_buffers(unsigned int)'
libom.a(MidiControlNode.o)(.text+0x1b0): In function
`Om::MidiControlNode::control(unsigned char, unsigned char, unsigned int)':
/home/fferri/om-synth/om-synth/src/engine/MidiControlNode.cpp:128:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(MidiControlNode.o)(.text+0x1cc):/home/fferri/om-synth/om-synth/src/engine/MidiControlNode.cpp:129:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(MidiControlNode.o)(.text+0x1fd):/home/fferri/om-synth/om-synth/src/engine/MidiControlNode.cpp:103:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(ControlInputNode.o)(.gnu.linkonce.d._ZTVN2Om16ControlInputNodeE[vtable
for Om::ControlInputNode]+0x1c): undefined reference to
`Om::BridgeNode<float>::set_path(Om::Path const&)'
libom.a(ControlInputNode.o)(.gnu.linkonce.d._ZTVN2Om16ControlInputNodeE[vtable
for Om::ControlInputNode]+0x28): undefined reference to
`Om::BridgeNode<float>::activate()'
libom.a(ControlInputNode.o)(.gnu.linkonce.d._ZTVN2Om16ControlInputNodeE[vtable
for Om::ControlInputNode]+0x2c): undefined reference to
`Om::BridgeNode<float>::deactivate()'
libom.a(ControlInputNode.o)(.gnu.linkonce.d._ZTVN2Om16ControlInputNodeE[vtable
for Om::ControlInputNode]+0x6c): undefined reference to
`Om::BridgeNode<float>::add_to_patch()'
libom.a(ControlInputNode.o)(.gnu.linkonce.d._ZTVN2Om16ControlInputNodeE[vtable
for Om::ControlInputNode]+0x70): undefined reference to
`Om::BridgeNode<float>::remove_from_patch()'
libom.a(ControlInputNode.o)(.gnu.linkonce.d._ZTVN2Om16ControlInputNodeE[vtable
for Om::ControlInputNode]+0x74): undefined reference to
`Om::BridgeNode<float>::send_creation_messages(Om::ClientRecord*) const'
libom.a(ControlOutputNode.o)(.gnu.linkonce.d._ZTVN2Om17ControlOutputNodeE[vtable
for Om::ControlOutputNode]+0x1c): undefined reference to
`Om::BridgeNode<float>::set_path(Om::Path const&)'
libom.a(ControlOutputNode.o)(.gnu.linkonce.d._ZTVN2Om17ControlOutputNodeE[vtable
for Om::ControlOutputNode]+0x28): undefined reference to
`Om::BridgeNode<float>::activate()'
libom.a(ControlOutputNode.o)(.gnu.linkonce.d._ZTVN2Om17ControlOutputNodeE[vtable
for Om::ControlOutputNode]+0x2c): undefined reference to
`Om::BridgeNode<float>::deactivate()'
libom.a(ControlOutputNode.o)(.gnu.linkonce.d._ZTVN2Om17ControlOutputNodeE[vtable
for Om::ControlOutputNode]+0x6c): undefined reference to
`Om::BridgeNode<float>::add_to_patch()'
libom.a(ControlOutputNode.o)(.gnu.linkonce.d._ZTVN2Om17ControlOutputNodeE[vtable
for Om::ControlOutputNode]+0x70): undefined reference to
`Om::BridgeNode<float>::remove_from_patch()'
libom.a(ControlOutputNode.o)(.gnu.linkonce.d._ZTVN2Om17ControlOutputNodeE[vtable
for Om::ControlOutputNode]+0x74): undefined reference to
`Om::BridgeNode<float>::send_creation_messages(Om::ClientRecord*) const'
libom.a(AudioInputNode.o)(.text+0x2c1): In function
`Om::AudioInputNode::AudioInputNode(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int,
Om::Patch*, unsigned int, unsigned int)':
/home/fferri/om-synth/om-synth/src/engine/AudioInputNode.cpp:36:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(AudioInputNode.o)(.text+0xe91): In function
`Om::AudioInputNode::AudioInputNode(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int,
Om::Patch*, unsigned int, unsigned int)':
/home/fferri/om-synth/om-synth/src/engine/AudioInputNode.cpp:36:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(AudioInputNode.o)(.gnu.linkonce.d._ZTVN2Om14AudioInputNodeE[vtable
for Om::AudioInputNode]+0x1c): undefined reference to
`Om::BridgeNode<float>::set_path(Om::Path const&)'
libom.a(AudioInputNode.o)(.gnu.linkonce.d._ZTVN2Om14AudioInputNodeE[vtable
for Om::AudioInputNode]+0x28): undefined reference to
`Om::BridgeNode<float>::activate()'
libom.a(AudioInputNode.o)(.gnu.linkonce.d._ZTVN2Om14AudioInputNodeE[vtable
for Om::AudioInputNode]+0x2c): undefined reference to
`Om::BridgeNode<float>::deactivate()'
libom.a(AudioInputNode.o)(.gnu.linkonce.d._ZTVN2Om14AudioInputNodeE[vtable
for Om::AudioInputNode]+0x6c): undefined reference to
`Om::BridgeNode<float>::add_to_patch()'
libom.a(AudioInputNode.o)(.gnu.linkonce.d._ZTVN2Om14AudioInputNodeE[vtable
for Om::AudioInputNode]+0x70): undefined reference to
`Om::BridgeNode<float>::remove_from_patch()'
libom.a(AudioInputNode.o)(.gnu.linkonce.d._ZTVN2Om14AudioInputNodeE[vtable
for Om::AudioInputNode]+0x74): undefined reference to
`Om::BridgeNode<float>::send_creation_messages(Om::ClientRecord*) const'
libom.a(AudioOutputNode.o)(.text+0x2bb): In function
`Om::AudioOutputNode::AudioOutputNode(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int,
Om::Patch*, unsigned int, unsigned int)':
/home/fferri/om-synth/om-synth/src/engine/AudioOutputNode.cpp:37:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(AudioOutputNode.o)(.text+0xe7b): In function
`Om::AudioOutputNode::AudioOutputNode(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int,
Om::Patch*, unsigned int, unsigned int)':
/home/fferri/om-synth/om-synth/src/engine/AudioOutputNode.cpp:37:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(AudioOutputNode.o)(.gnu.linkonce.d._ZTVN2Om15AudioOutputNodeE[vtable
for Om::AudioOutputNode]+0x1c): undefined reference to
`Om::BridgeNode<float>::set_path(Om::Path const&)'
libom.a(AudioOutputNode.o)(.gnu.linkonce.d._ZTVN2Om15AudioOutputNodeE[vtable
for Om::AudioOutputNode]+0x28): undefined reference to
`Om::BridgeNode<float>::activate()'
libom.a(AudioOutputNode.o)(.gnu.linkonce.d._ZTVN2Om15AudioOutputNodeE[vtable
for Om::AudioOutputNode]+0x2c): undefined reference to
`Om::BridgeNode<float>::deactivate()'
libom.a(AudioOutputNode.o)(.gnu.linkonce.d._ZTVN2Om15AudioOutputNodeE[vtable
for Om::AudioOutputNode]+0x6c): undefined reference to
`Om::BridgeNode<float>::add_to_patch()'
libom.a(AudioOutputNode.o)(.gnu.linkonce.d._ZTVN2Om15AudioOutputNodeE[vtable
for Om::AudioOutputNode]+0x70): undefined reference to
`Om::BridgeNode<float>::remove_from_patch()'
libom.a(AudioOutputNode.o)(.gnu.linkonce.d._ZTVN2Om15AudioOutputNodeE[vtable
for Om::AudioOutputNode]+0x74): undefined reference to
`Om::BridgeNode<float>::send_creation_messages(Om::ClientRecord*) const'
libom.a(MidiInputNode.o)(.gnu.linkonce.d._ZTVN2Om13MidiInputNodeE[vtable
for Om::MidiInputNode]+0x1c): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::set_path(Om::Path const&)'
libom.a(MidiInputNode.o)(.gnu.linkonce.d._ZTVN2Om13MidiInputNodeE[vtable
for Om::MidiInputNode]+0x28): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::activate()'
libom.a(MidiInputNode.o)(.gnu.linkonce.d._ZTVN2Om13MidiInputNodeE[vtable
for Om::MidiInputNode]+0x2c): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::deactivate()'
libom.a(MidiInputNode.o)(.gnu.linkonce.d._ZTVN2Om13MidiInputNodeE[vtable
for Om::MidiInputNode]+0x6c): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::add_to_patch()'
libom.a(MidiInputNode.o)(.gnu.linkonce.d._ZTVN2Om13MidiInputNodeE[vtable
for Om::MidiInputNode]+0x70): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::remove_from_patch()'
libom.a(MidiInputNode.o)(.gnu.linkonce.d._ZTVN2Om13MidiInputNodeE[vtable
for Om::MidiInputNode]+0x74): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::send_creation_messages(Om::ClientRecord*)
const'
libom.a(MidiOutputNode.o)(.gnu.linkonce.d._ZTVN2Om14MidiOutputNodeE[vtable
for Om::MidiOutputNode]+0x1c): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::set_path(Om::Path const&)'
libom.a(MidiOutputNode.o)(.gnu.linkonce.d._ZTVN2Om14MidiOutputNodeE[vtable
for Om::MidiOutputNode]+0x28): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::activate()'
libom.a(MidiOutputNode.o)(.gnu.linkonce.d._ZTVN2Om14MidiOutputNodeE[vtable
for Om::MidiOutputNode]+0x2c): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::deactivate()'
libom.a(MidiOutputNode.o)(.gnu.linkonce.d._ZTVN2Om14MidiOutputNodeE[vtable
for Om::MidiOutputNode]+0x6c): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::add_to_patch()'
libom.a(MidiOutputNode.o)(.gnu.linkonce.d._ZTVN2Om14MidiOutputNodeE[vtable
for Om::MidiOutputNode]+0x70): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::remove_from_patch()'
libom.a(MidiOutputNode.o)(.gnu.linkonce.d._ZTVN2Om14MidiOutputNodeE[vtable
for Om::MidiOutputNode]+0x74): undefined reference to
`Om::BridgeNode<Om::MidiMessage>::send_creation_messages(Om::ClientRecord*)
const'
libom.a(LADSPAPlugin.o)(.text+0x7e1): In function
`Om::LADSPAPlugin::activate()':
/home/fferri/om-synth/om-synth/src/engine/LADSPAPlugin.cpp:157:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(LADSPAPlugin.o)(.text+0x7fb):/home/fferri/om-synth/om-synth/src/engine/LADSPAPlugin.cpp:159:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(LADSPAPlugin.o)(.text+0xe14): In function
`Om::LADSPAPlugin::instantiate()':
/home/fferri/om-synth/om-synth/src/engine/LADSPAPlugin.cpp:127:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
libom.a(LADSPAPlugin.o)(.text+0xf8d):/home/fferri/om-synth/om-synth/src/engine/LADSPAPlugin.cpp:129:
undefined reference to `Om::PortBase<float>::set_value(float, unsigned int)'
collect2: ld returned 1 exit status
make[4]: *** [om] Error 1
make[4]: Leaving directory `/home/fferri/om-synth/om-synth/src/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/fferri/om-synth/om-synth/src/engine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fferri/om-synth/om-synth/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fferri/om-synth/om-synth'
make: *** [all] Error 2
- [Om-synth] building om with gcc4,
Federico <=