trying to build LinuxSampler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux