A bug probably?

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.
Post Reply
pixdigit
Newbie
Posts: 1
Joined: Sat Nov 18, 2017 9:29 pm

A bug probably?

Post by pixdigit » Sat Nov 18, 2017 9:33 pm

I followed the installation instructions for JSampler and therefore began installing libgig-4.0.0 without effort.
But when it came to LinuxSampler itself I got the following message while compiling:

Code: Select all

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)
                                ^~~~~
The building subsequently failed.
Due to the nature of the error I believe this to be a bug.

User avatar
cuse
Developer
Posts: 366
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: A bug probably?

Post by cuse » Thu Dec 13, 2018 6:10 pm

Make sure bison is installed on your machine then from the sampler's toplevel source directory execute

Code: Select all

make parser
make
The problem there seems to be that this auto generated parser file is not regenerated automatically for some reason. Most probably because the file's time stamps is in future.

Post Reply