Build error lscp.y:1380:18: error: 'yyprhs' was not declared

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.

Build error lscp.y:1380:18: error: 'yyprhs' was not declared

Postby ddwmusic » Mon Dec 12, 2016 2:14 am

I'm having problems building linuxsampler, Ubuntu 14.04.

Current main problem: building linuxsampler itself, I get:

Code: Select all
make[3]: Entering directory `/home/dlm/share/linuxsampler/src/network'
depbase=`echo lscpparser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/libgig     -Wreturn-type -ffast-math  -g -O2 -pthread -MT lscpparser.lo -MD -MP -MF $depbase.Tpo -c -o lscpparser.lo lscpparser.cpp &&\
   mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include/libgig -Wreturn-type -ffast-math -g -O2 -pthread -MT lscpparser.lo -MD -MP -MF .deps/lscpparser.Tpo -c lscpparser.cpp  -fPIC -DPIC -o .libs/lscpparser.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)
                                ^


How I got to this point:

I downloaded libgig.tar.bz2, compiled, no problem.

I tried to download the liblscp source package link from the download page, but the link is broken. It might simply be a typo (should be 0.5.6?).

http://download.linuxsampler.org/packag ... .7.tar.bz2

So then I did:

svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp
cd liblscp
./configure

And... there is no "configure" in the SVN repository. So, for this component, we're at two strikes.

So then I found, the Ubuntu package repositories have liblscp 0.5.6. I installed that through synaptic, and continued to build linuxsampler, but got the error above.

I need to get this working pretty quickly. Thanks in advance for assistance.

James
ddwmusic
Newbie
 
Posts: 2
Joined: Mon Dec 12, 2016 1:52 am

Re: Build error lscp.y:1380:18: error: 'yyprhs' was not decl

Postby ddwmusic » Mon Dec 12, 2016 5:41 am

I did eventually get past this. I needed to copy the path, remove "liblscp-0.5.7.tar.bz2" from it to see if I could access the packages/ directory -- which I could, and there I found that liblscp is actually .tar.gz -- so, somebody needs to fix the Downloads page.

Using the http://download.linuxsampler.org/packag ... 5.8.tar.gz source package, I could build successfully, and then linuxsampler built fine as well.

Now I'm having another problem, which should go into another thread (but I think it won't let me post right away). A lot of free sample libraries use .wav, but I get messages in the console saying that it couldn't load the samples because they are not RIFF files. ?? That's... inconvenient.

In any case, this thread may be closed.

James
ddwmusic
Newbie
 
Posts: 2
Joined: Mon Dec 12, 2016 1:52 am

Re: Build error lscp.y:1380:18: error: 'yyprhs' was not decl

Postby cuse » Mon Dec 12, 2016 4:12 pm

ddwmusic wrote:I did eventually get past this. I needed to copy the path, remove "liblscp-0.5.7.tar.bz2" from it to see if I could access the packages/ directory -- which I could, and there I found that liblscp is actually .tar.gz -- so, somebody needs to fix the Downloads page.

Fixed. Thanks!

ddwmusic wrote:Now I'm having another problem, which should go into another thread (but I think it won't let me post right away). A lot of free sample libraries use .wav, but I get messages in the console saying that it couldn't load the samples because they are not RIFF files. ?? That's... inconvenient.

In any case, this thread may be closed.

James

Which format? SFZ? SF2? Giga?
User avatar
cuse
Developer
 
Posts: 291
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany


Return to Newbies & Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron