From: muni-corn <muni-corn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package request(s): linuxsampler and friends
Date: Tue, 12 Sep 2023 15:00:37 +0200 [thread overview]
Message-ID: <20230912130037.hMoRl5HOGIrwaO7cSLVF7b4gmZ-zSzgvhExk8FsFirY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26193@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 12539 bytes --]
New comment by muni-corn on void-packages repository
https://github.com/void-linux/void-packages/issues/26193#issuecomment-730892101
Comment:
Okay, I'm at a loss here. I got linuxsampler to compile successfully ONCE and I don't know what I did right. All other times it has ended with this log:
```
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wreturn-type -ffast-math -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=g
eneric -O2 -pipe -pthread -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o linuxsampler linuxsampler.o liblinuxsampler.la
libtool: link: g++ -Wreturn-type -ffast-math -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -Wl,
-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o .libs/linuxsampler linuxsampler.o ./.libs/liblinuxsampler.so -pthread -Wl,-rpath
-Wl,/usr/lib/linuxsampler
/usr/bin/ld: warning: libgig.so.9, needed by ./.libs/liblinuxsampler.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::LoadSampleDataWithNullSamplesExtension(unsigned in
t)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::SetPos(unsigned long, RIFF::stream_whence_t)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG2Decay(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG1PreAttackDelay(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `DLS::File::GetExtensionFile(int)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::ToRatio(int)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG1Decay(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::LoadSampleData(unsigned long)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetDelayModLfo(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Instrument::GetRegion(unsigned int)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetFreqModLfo(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Instrument::DeleteRegion(gig::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetFineTune(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Instrument::GetFirstRegion()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Script::GetScriptAsText[abi:cxx11]()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::GetCache()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::GetTotalFrameCount()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG1Release(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `typeinfo for DLS::File'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::~File()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `typeinfo for gig::MidiRuleCtrlTrigger'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG2Attack(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::ReadAndLoop(void*, unsigned long, sf2::Sample::Pla
ybackState*, sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Instrument::ScriptSlotCount() const'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::LoadSampleDataWithNullSamplesExtension(unsigned in
t)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Query::Query(sf2::InstrumentBase&)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Instrument::GetScriptOfSlot(unsigned int)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::GetFrameSize()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::DestroyDecompressionBuffer(gig::buffer_t&)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::CreateDecompressionBuffer(unsigned long)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetPan(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::File::GetNextSample()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetInitialFilterFc(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG1Sustain(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::GetPreset(int)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Region::GetDimensionRegionByValue(unsigned int const*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetDelayVibLfo(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::File::GetNextInstrument()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetModLfoToFilterFc(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG2Hold(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG1Attack(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetModEnvToFilterFc(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::File::SetAutoLoad(bool)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Instrument::GetNextRegion()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `RIFF::File::GetFileName[abi:cxx11]() const'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::GetCache()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::File::GetFirstInstrument()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `RIFF::File::File(std::__cxx11::basic_string<char, std::char_tra
its<char>, std::allocator<char> > const&)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetCoarseTune(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::DeleteSample(sf2::Sample*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::SetPos(unsigned long)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::File::GetFirstSample(RIFF::progress_t*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Instrument::DeleteRegion(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `typeinfo for gig::File'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Query::next()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetFreqVibLfo(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::GetPresetCount()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG2Sustain(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::HasSamples()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::GetPos() const'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `RIFF::progress_t::progress_t()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::GetChannelCount()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::File(RIFF::File*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Instrument::GetMidiRule(int)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::Read(void*, unsigned long)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetVibLfoToPitch(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::libraryVersion[abi:cxx11]()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG2PreAttackDelay(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::ReadAndLoop(void*, unsigned long, gig::playback_st
ate_t*, gig::DimensionRegion*, gig::buffer_t*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::DeleteInstrument(sf2::Instrument*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::GetSample(int)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::InstrumentBase::GetRegionCount()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::File::DeleteInstrument(gig::Instrument*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG2Release(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Region::GetSample()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Region::GetDimensionRegionIndexByValue(unsigned int
)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetModLfoToVolume(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::ReleaseSampleData()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `DLS::File::GetFileName[abi:cxx11]()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::DimensionRegion::GetVelocityRelease(unsigned char)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::libraryName[abi:cxx11]()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `typeinfo for DLS::Resource'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetModEnvToPitch(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetUnityNote()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetEG1Hold(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::LoadSampleData(unsigned long)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::InstrumentBase::GetRegion(int)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::File::DeleteSample(gig::Sample*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::File::File(RIFF::File*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Sample::GetPos()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::DimensionRegion::GetParent() const'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::Region::GetModLfoToPitch(sf2::Region*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::Sample::Read(void*, unsigned long, gig::buffer_t*)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::GetInstrumentCount()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::File::GetInstrument(unsigned int, RIFF::progress_t*)
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::GetInstrument(int)'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `sf2::File::GetSampleCount()'
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::DimensionRegion::GetVelocityAttenuation(unsigned cha
/usr/bin/ld: ./.libs/liblinuxsampler.so: undefined reference to `gig::DimensionRegion::GetVelocityCutoff(unsigned char)'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:615: linuxsampler] Error 1
make[3]: Leaving directory '/builddir/linuxsampler-2.1.1/src'
make[2]: *** [Makefile:689: all-recursive] Error 1
make[2]: Leaving directory '/builddir/linuxsampler-2.1.1/src'
make[1]: *** [Makefile:509: all-recursive] Error 1
make[1]: Leaving directory '/builddir/linuxsampler-2.1.1'
make: *** [Makefile:414: all] Error 2
=> ERROR: linuxsampler-2.1.1_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2
=> ERROR: in do_build() at common/build-style/gnu-configure.sh:13
```
I've experimented with different dependencies and I still don't know how I got it to work. If anyone can spare a moment, check out the branch at https://github.com/muni-corn/void-packages/tree/linuxsampler. I'll continue trying to work on it, but I almost feel like I've tried everything.
Thanks :)
next prev parent reply other threads:[~2023-09-12 13:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-07 3:27 [ISSUE] " harrisonthorne
2020-11-07 9:51 ` fosslinux
2020-11-20 6:34 ` harrisonthorne
2020-11-23 3:25 ` harrisonthorne
2020-11-23 3:29 ` ericonr
2020-11-23 3:30 ` ericonr
2020-11-23 3:58 ` harrisonthorne
2020-11-23 7:58 ` fosslinux
2020-11-23 7:58 ` fosslinux
2020-11-24 17:25 ` harrisonthorne
2021-01-26 3:05 ` harrisonthorne
2022-01-05 10:52 ` uzr123x
2022-01-05 14:09 ` harrisonthorne
2022-01-05 20:39 ` uzr123x
2022-02-10 8:16 ` uzr123x
2023-07-18 14:32 ` luzpaz
2023-09-12 13:00 ` muni-corn [this message]
2023-09-12 13:01 ` muni-corn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230912130037.hMoRl5HOGIrwaO7cSLVF7b4gmZ-zSzgvhExk8FsFirY@z \
--to=muni-corn@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).