View previous topic :: View next topic |
Author |
Message |
addohm n00b
Joined: 06 Oct 2007 Posts: 5
|
Posted: Thu Oct 11, 2007 9:38 pm Post subject: OSGAL (overlay) Help Please |
|
|
I am trying to compile in an overlay package called OSGAL. I am having trouble getting it to compile properly, and its only requirements are two other overlay packages. openal and openal++ (aka openalpp). I've recompiled those two just fine, but can't seem to get osgal to compile. Here is the error...
Code: | /bin/sh ../../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -O2 -Wall -W -o osgal osgal.o ../../src/osgAL/libosgal.la -losg -losgDB -losgFX -losgGA -losgParticle -losgProducer -losgSim -losgText -losgUtil -lOpenThreads -lopenal
mkdir .libs
i686-pc-linux-gnu-g++ -O2 -Wall -W -o .libs/osgal osgal.o ../../src/osgAL/.libs/libosgal.so -losg -losgDB -losgFX -losgGA -losgParticle -losgProducer -losgSim -losgText -losgUtil -lOpenThreads /usr/lib/libopenal.so
osgal.o: In function `createSound(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
osgal.cpp:(.text+0x372): undefined reference to `openalpp::Sample::Sample(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
osgal.cpp:(.text+0x7e9): undefined reference to `openalpp::Referenced::getDeleteHandler()'
osgal.cpp:(.text+0x7f3): undefined reference to `openalpp::Referenced::getDeleteHandler()'
osgal.cpp:(.text+0x809): undefined reference to `openalpp::Referenced::getDeleteHandler()'
osgal.cpp:(.text+0x813): undefined reference to `openalpp::Referenced::getDeleteHandler()'
osgal.o: In function `main':
osgal.cpp:(.text+0x2752): undefined reference to `openalpp::AudioEnvironment::setDistanceModel(openalpp::DistanceModel)'
osgal.cpp:(.text+0x28f1): undefined reference to `openalpp::AudioEnvironment::setDopplerFactor(float)'
osgal.cpp:(.text+0x29e6): undefined reference to `openalpp::Sample::Sample(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
osgal.cpp:(.text+0x33de): undefined reference to `openalpp::Referenced::getDeleteHandler()'
osgal.cpp:(.text+0x33f1): undefined reference to `openalpp::Referenced::getDeleteHandler()'
osgal.cpp:(.text+0x3407): undefined reference to `openalpp::Referenced::getDeleteHandler()'
osgal.cpp:(.text+0x3417): undefined reference to `openalpp::Referenced::getDeleteHandler()'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setMaxDistance(float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setDirection(float, float, float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Sample::Sample(openalpp::Sample const&)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setSoundCone(float, float, float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setGain(float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setRolloffFactor(float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::FileStream::FileStream(openalpp::FileStream const&)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setReferenceDistance(float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Listener::Listener()'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::AudioEnvironment::setSoundVelocity(float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Source::setSound(openalpp::Sample const*)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::isLooping() const'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setLooping(bool)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Source::pause()'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setRelative(bool)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setAmbient(bool)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Source::play()'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Listener::setOrientation(float, float, float, float, float, float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Listener::select()'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Source::setSound(openalpp::Stream*)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setMinMaxGain(float, float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::getState() const'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Source::Source(float, float, float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::FileStream::FileStream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::rewind()'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::AudioEnvironment::AudioEnvironment()'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::SourceBase::setPitch(float)'
../../src/osgAL/.libs/libosgal.so: undefined reference to `openalpp::Source::stop()'
collect2: ld returned 1 exit status
make[2]: *** [osgal] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/osgal-20060714-r1/work/osgal-cvs-20060714/examples/osgal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/osgal-20060714-r1/work/osgal-cvs-20060714/examples'
make: *** [all-recursive] Error 1
*
* ERROR: media-libs/osgal-20060714-r1 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 662: Called die
*
* emake failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-libs/osgal-20060714-r1/temp/build.log'.
|
Thanks in advance... |
|
Back to top |
|
|
kondzik n00b
Joined: 24 Jun 2006 Posts: 16 Location: Cracow/Poland
|
Posted: Sat Oct 13, 2007 10:38 pm Post subject: |
|
|
As a matter of fact i suggest you to try to build osgAl yourself, and not the version that is in (sunrise?) overlay as it is quite outdated. osgAL 0.6.1 has openalpp in its source tarball. Of course you might still need this specific version of osgAl and i that case i can't help you much. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|