GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Installation and Compilation » ucesb compilation problem (ucesb)
ucesb compilation problem [message #19217] Thu, 14 April 2016 15:58 Go to next message
MarcLabiche is currently offline  MarcLabiche
Messages: 7
Registered: March 2016
Location: UK
occasional visitor
From: *dl.ac.uk


Hi,

I'm trying to compile ucesb unpacker via the command:

make empty/empty

The compilation crashes with the following message:

make[1]: Entering directory `/home/mala/FAIR/ucesb/unpacker/ucesb'
YACC generated/y.tab.c
Usage: yacc [options] filename

Options:
-b file_prefix set filename prefix (default "y.")
-d write definitions (y.tab.h)
-i write interface (y.tab.i)
-g write a graphical description
-l suppress #line directives
-o output_file (default "y.tab.c")
-p symbol_prefix set symbol prefix (default "yy")
-P create a reentrant parser, e.g., "%pure-parser"
-r produce separate code and table files (y.code.c)
-s suppress #define's for quoted names in %token lines
-t add debugging support
-v write description (y.output)
-V show version information and exit
If -W flag unknown, try to compile with 'make NO_YACC_WERROR=1'
CXX ucesb.o
CXX str_set.o
CXX file_line.o
CXX signal_id.o
CXX dumper.o
CXX prefix_unit.o
CXX definitions.o
CXX variable.o
CXX structure.o
CXX signal.o
CXX param_arg.o
CXX bits_spec.o
CXX encode.o
CXX unpack_code.o
CXX match_code.o
CXX signal_errors.o
make[1]: *** No rule to make target `generated/y.tab.c', needed by `generated/parser.cc'. Stop.
make[1]: Leaving directory `/home/mala/FAIR/ucesb/unpacker/ucesb'
make: *** [/home/mala/FAIR/ucesb/unpacker/ucesb/ucesb] Error 2

Please, can anybody help?

Marc


Marc Labiche
STFC Daresbury Lab.
+44 (0)1925603458
Re: ucesb compilation problem [message #19222 is a reply to message #19217] Fri, 15 April 2016 09:49 Go to previous messageGo to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *gsi.de
Hi Marc,

Try if the following solution works: in unpacker/Makefile uncomment lines number 5 and 6. Then make clean and make.

# In case of problems compiling the parsers, ask them to be generated
# with bison instead of yacc (trouble on redhat / bsds) (uncomment
# below)
YACC=bison # needed on SLC
export YACC # SLC

Cheers,
Dima
Re: ucesb compilation problem [message #19223 is a reply to message #19222] Fri, 15 April 2016 10:33 Go to previous message
MarcLabiche is currently offline  MarcLabiche
Messages: 7
Registered: March 2016
Location: UK
occasional visitor
From: *dl.ac.uk
Hi Dima,
It works indeed.
Thanks.
Marc


Marc Labiche
STFC Daresbury Lab.
+44 (0)1925603458
Previous Topic: Installation instructions for R3BRoot with UCESB
Next Topic: r3broot compilation failed
Goto Forum:
  


Current Time: Fri Mar 29 16:25:13 CET 2024

Total time taken to generate the page: 0.00596 seconds