Il giorno Thu, 10 Sep 2015 16:32:58 -0500 Brent Busby <brent@xxxxxxxxxxxxx> ha scritto: > After a recent update to my system, it seems I can now no longer compile > LinuxSampler. I've tried both 1.0.0 and the new 2.0.0. > > My versions of the dependencies are all the latest stable: > > libgig 4.0.0 > liblscp 0.5.7 > > Should I be going with the latest SVN, or are the releases ok? > > > Below is the spillage I get. Liblscp and libgig get built and installed > fine, and then this happens during the build of linuxsampler itself: > > > /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libgig -Wreturn-type -ffast-math -O2 -march=athlon64 -pipe -pthread -c -o lscpevent.lo lscpevent.cpp > libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libgig -Wreturn-type -ffast-math -O2 -march=athlon64 -pipe -pthread -c lscpevent.cpp -fPIC -DPIC -o .libs/lscpevent.o > lscp.y: In function 'bool _isRuleTerminalSymbol(int)': > lscp.y:1380:18: error: 'yyprhs' was not declared in this scope > for (int i = yyprhs[rule]; yyrhs[i] != -1; ++i) > ^ > lscp.y:1380:32: error: 'yyrhs' was not declared in this scope > for (int i = yyprhs[rule]; yyrhs[i] != -1; ++i) > ^ > lscpserver.cpp: In member function 'String LinuxSampler::LSCPServer::GetChannelInfo(uint)': > lscpserver.cpp:1253:101: warning: 'LinuxSampler::MidiInputDevice* LinuxSampler::SamplerChannel::GetMidiInputDevice()' is deprecated (declared at ../Sampler.h:258) [-Wdeprecated-declarations] > INPUT_DEVICE", GetMidiInputDeviceIndex(pSamplerChannel->GetMidiInputDevice())); > ^ > lscpserver.cpp:1254:73: warning: 'int LinuxSampler::SamplerChannel::GetMidiInputPort()' is deprecated (declared at ../Sampler.h:237) [-Wdeprecated-declarations] > result.Add("MIDI_INPUT_PORT", pSamplerChannel->GetMidiInputPort()); > ^ > In file included from lscpparser.h:41:0, > from lscpserver.h:45, > from lscpserver.cpp:28: > lscpserver.cpp: In member function 'String LinuxSampler::LSCPServer::GetMidiInputDriverParameterInfo(String, String, std::map<std::basic_string<char>, std::basic_string<char> >)': > lscpserver.cpp:1452:161: warning: format '%d' expects argument of type 'int', but argument 4 has type 'std::map<std::basic_string<char>, std::basic_string<char> >::size_type {aka long unsigned int}' [-Wformat=] > ndencyListSize=%d)\n",Driver.c_str(),Parameter.c_str(),DependencyList.size())); > ^ > ../common/global_private.h:39:76: note: in definition of macro 'dmsg' > ne dmsg(debuglevel,x) if (CONFIG_DEBUG_LEVEL >= debuglevel) {printf x; fflush(s > ^ > lscpserver.cpp: In member function 'String LinuxSampler::LSCPServer::GetAudioOutputDriverParameterInfo(String, String, std::map<std::basic_string<char>, std::basic_string<char> >)': > lscpserver.cpp:1480:163: warning: format '%d' expects argument of type 'int', but argument 4 has type 'std::map<std::basic_string<char>, std::basic_string<char> >::size_type {aka long unsigned int}' [-Wformat=] > ndencyListSize=%d)\n",Driver.c_str(),Parameter.c_str(),DependencyList.size())); > ^ > ../common/global_private.h:39:76: note: in definition of macro 'dmsg' > ne dmsg(debuglevel,x) if (CONFIG_DEBUG_LEVEL >= debuglevel) {printf x; fflush(s > ^ > lscpserver.cpp: In member function 'String LinuxSampler::LSCPServer::SetMIDIInputPort(uint, uint)': > lscpserver.cpp:2004:51: warning: 'void LinuxSampler::SamplerChannel::SetMidiInputPort(int)' is deprecated (declared at ../Sampler.h:169) [-Wdeprecated-declarations] > pSamplerChannel->SetMidiInputPort(MIDIPort); > ^ > lscpserver.cpp: In member function 'String LinuxSampler::LSCPServer::SetMIDIInputDevice(uint, uint)': > lscpserver.cpp:2035:52: warning: 'void LinuxSampler::SamplerChannel::SetMidiInputDevice(LinuxSampler::MidiInputDevice*)' is deprecated (declared at ../Sampler.h:143) [-Wdeprecated-declarations] > pSamplerChannel->SetMidiInputDevice(pDevice); > ^ > lscpserver.cpp: In member function 'String LinuxSampler::LSCPServer::SetMIDIInputType(String, uint)': > lscpserver.cpp:2073:52: warning: 'void LinuxSampler::SamplerChannel::SetMidiInputDevice(LinuxSampler::MidiInputDevice*)' is deprecated (declared at ../Sampler.h:143) [-Wdeprecated-declarations] > pSamplerChannel->SetMidiInputDevice(pDevice); > ^ > lscpserver.cpp: In member function 'String LinuxSampler::LSCPServer::SetMIDIInput(uint, uint, uint, uint)': > lscpserver.cpp:2094:83: warning: 'void LinuxSampler::SamplerChannel::SetMidiInput(LinuxSampler::MidiInputDevice*, int, LinuxSampler::midi_chan_t)' is deprecated (declared at ../Sampler.h:207) [-Wdeprecated-declarations] > pSamplerChannel->SetMidiInput(pDevice, MIDIPort, (midi_chan_t) MIDIChannel); > ^ > Makefile:441: recipe for target 'lscpparser.lo' failed > make[3]: *** [lscpparser.lo] Error 1 > make[3]: *** Waiting for unfinished jobs.... > make[3]: Leaving directory '/var/tmp/portage/media-sound/linuxsampler-2.0.0/work/linuxsampler-2.0.0/src/network' > Makefile:674: recipe for target 'all-recursive' failed > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory '/var/tmp/portage/media-sound/linuxsampler-2.0.0/work/linuxsampler-2.0.0/src' > Makefile:496: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/var/tmp/portage/media-sound/linuxsampler-2.0.0/work/linuxsampler-2.0.0' > Makefile:400: recipe for target 'all' failed > make: *** [all] Error 2 there is a related bug w/ the Gentoo ebuild of linuxsampler-2.0.0: https://bugs.gentoo.org/show_bug.cgi?id=556204 for now the workaround is the upgrade bison >= 3.0.0. hope this helps. peace, w _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user