On Friday, August 25th, 2006, I sent this email to the Rosegarden user list.  I have not yet received a response, and I think that the devel list might be more applicable.  Could someone please let me know what I can do to fix this problem?
 
Thanks,
Darcy
 
-----Original Message-----
From: Darcy Kahle [mailto:darcykahle@sympatico.ca]
Sent: Friday, August 25, 2006 10:59 AM
To: rosegarden-user@lists.sourceforge.net
Subject: Help needed compiling rosegarden 1.2.4

I am currently trying to upgrade from Rosegarden-4 0.9.8 to the new Rosegarden 1.2.4 on a Whitebox Enterprise Linux 3.0 computer (for those of you unaware, WBEL 3.0 is equivalent to RedHat Enterprise Linux 3.0 - the redhat source was respun).  I have encountered problems, and have solved most of them.  At this point, though, I am stuck.
 
One problem that I found and solved was that the files gui/audiopluginmanager.cpp, gui/rosegardengui.cpp, gui/startuptester.cpp, gui/audiopreviewthread.cpp, and gui/audiopluginoscgui.cpp all were missing the line "#include <unistd.h>".  As a result, the compiler had a problem with the usleep() function that is used in these files.  After adding that line to those files, I came to my current problem.
 
I am at the point where sequencer/rosegardensequencer is being linked.  The linker is giving a "undefined reference" error for Rosegarden::SoundDriverFactory::CreateDriver() function.  I am at a loss to fix this.  Here is what the linker spit out, so that someone can see something that I cannot see.
 
======
g++ -Wl,--rpath=/usr/lib/qt-3.3/lib -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib/kde3 -lasound -lm -ldl -lpthread -L/usr/local/lib -ljack -llo -L/usr/X11R6/lib -lXft -lX11 -lfreetype -lXrender -lfontconfig -llrdf -o RGbuild/sequencer/rosegardensequencer RGbuild/sequencer/mmappedcontrolblock.o RGbuild/sequencer/mmappedsegment.o RGbuild/sequencer/rosegardensequencer.o RGbuild/sequencer/main.o RGbuild/sequencer/sequencermapper.o RGbuild/sequencer/rosegardensequenceriface_skel.o -LRGbuild/base -Lbase -LRGbuild/sound -Lsound -L/usr/lib -L/usr/lib/qt-3.3/lib -lqt-mt -lRosegardenSequencer -lRosegardenSound -lbase -lkdeui -lkdecore
RGbuild/sequencer/rosegardensequencer.o(.text+0x3a1): In function `RosegardenSequencerApp::RosegardenSequencerApp()':
: undefined reference to `Rosegarden::SoundDriverFactory::createDriver(Rosegarden::MappedStudio*)'
RGbuild/sequencer/rosegardensequencer.o(.text+0xb4e): In function `RosegardenSequencerApp::RosegardenSequencerApp()':
: undefined reference to `Rosegarden::SoundDriverFactory::createDriver(Rosegarden::MappedStudio*)'
RGbuild/sequencer/rosegardensequencer.o(.text+0x19c5): In function `RosegardenSequencerApp::startPlaying()':
: undefined reference to `Rosegarden::SoundDriver::initialiseAudioQueue(std::vector<Rosegarden::MappedEvent, std::allocator<Rosegarden::MappedEvent> > const&)'
RGbuild/sequencer/rosegardensequencer.o(.text+0x5f3a): In function `RosegardenSequencerApp::rationalisePlayingAudio()':
: undefined reference to `Rosegarden::SoundDriver::initialiseAudioQueue(std::vector<Rosegarden::MappedEvent, std::allocator<Rosegarden::MappedEvent> > const&)'
collect2: ld returned 1 exit status
scons: *** [RGbuild/sequencer/rosegardensequencer] Error 1
scons: building terminated because of errors.
 
======
 
Thanks for any help that you can provide.
 
Darcy
url: www.kahleinfotech.com