[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  SVN::S4
  SystemPerl
  Voneline
  WFH
General Info
  Papers

Issue #217

Mac OS X build issues with 3.800

Added by Trevor Williams over 3 years ago. Updated about 3 years ago.

Status:Closed Start date:02/08/2010
Priority:Normal Due date:
Assignee:Wilson Snyder % Done:

0%

Category:Configure/Make/Compiling
Target version:-

Description

After downloading the new verilator-3.800, I get the following compiler error (I'm compiling on Mac OS X 10.6). It appears that yy_size_t is not an "int" type on my system, thus the discrepancy during the build.

Macintosh:verilator-3.800 trevorw$ make
making verilator in src mkdir obj_dbg cd obj_dbg && make -j 1 TGT=../../verilator_bin_dbg VL_DEBUG=1 -f ../Makefile_obj serial /opt/local/bin/perl ../astgen -I.. --classes If you get errors from verilog.y below, try upgrading bison to version 1.875 or newer. /opt/local/bin/perl ../bisonpre --yacc /usr/bin/bison -d -v -o V3ParseBison.c ../verilog.y edit ../verilog.y V3ParseBison_pretmp.y /usr/bin/bison -d -v --report=itemset --report=lookahead -b V3ParseBison_pretmp -o V3ParseBison_pretmp.c V3ParseBison_pretmp.y edit V3ParseBison_pretmp.output V3ParseBison.output edit V3ParseBison_pretmp.c V3ParseBison.c edit V3ParseBison_pretmp.h V3ParseBison.h cd obj_dbg && make TGT=../../verilator_bin_dbg VL_DEBUG=1 -f ../Makefile_obj Compile flags: g++ -I/Users/trevorw/install/include -MMD -I. -I.. -I.. -I../../include -DYYDEBUG -ggdb -DVL_DEBUG -DDEFENV_SYSTEMC="" -DDEFENV_SYSTEMC_ARCH="" -DDEFENV_SYSTEMPERL="" -DDEFENV_SYSTEMPERL_INCLUDE="" -DDEFENV_VERILATOR_ROOT="/Users/trevorw/install/share/verilator" g++ -I/Users/trevorw/install/include -MMD -I. -I.. -I.. -I../../include -DYYDEBUG -ggdb -DVL_DEBUG -c ../V3ParseImp.cpp g++ -I/Users/trevorw/install/include -MMD -I. -I.. -I.. -I../../include -DYYDEBUG -ggdb -DVL_DEBUG -c ../V3ParseGrammar.cpp /usr/bin/flex --version flex 2.5.35 /usr/bin/flex -d -oV3Lexer_pregen.yy.cpp ../verilog.l /opt/local/bin/perl ../flexfix <V3Lexer_pregen.yy.cpp >V3Lexer.yy.cpp g++ -I/Users/trevorw/install/include -MMD -I. -I.. -I.. -I../../include -DYYDEBUG -ggdb -DVL_DEBUG -c ../V3ParseLex.cpp /usr/bin/flex --version flex 2.5.35 /usr/bin/flex -d -oV3PreLex_pregen.yy.cpp ../V3PreLex.l /opt/local/bin/perl ../flexfix <V3PreLex_pregen.yy.cpp >V3PreLex.yy.cpp g++ -I/Users/trevorw/install/include -MMD -I. -I.. -I.. -I../../include -DYYDEBUG -ggdb -DVL_DEBUG -c ../V3PreProc.cpp In file included from ../V3PreProc.cpp:44: V3PreLex_pregen.yy.cpp:223: error: conflicting declaration ‘yy_size_t V3PreLexleng’ ../V3PreLex.h:96: error: ‘V3PreLexleng’ has a previous declaration as ‘int V3PreLexleng’ V3PreLex_pregen.yy.cpp:361: error: conflicting declaration ‘yy_size_t V3PreLexleng’ ../V3PreLex.h:96: error: ‘V3PreLexleng’ has a previous declaration as ‘int V3PreLexleng’ make2: *** [V3PreProc.o] Error 1 make1: *** [../verilator_bin_dbg] Error 2 make: *** [verilator_exe] Error 2

History

Updated by Wilson Snyder about 3 years ago

  • Status changed from New to Resolved

Found a system I could borrow.

Fixed in git for 3.801.

Updated by Wilson Snyder about 3 years ago

  • Status changed from Resolved to Closed

In 3.801

Also available in: Atom