Issue #17
git build fails due to missing config_rev.h
| Status: | Closed | Start: | 07/04/2008 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | Wilson Snyder | % Done: | 0% |
|
| Category: | Configure/Make/Compiling | |||
| Target version: | - | |||
Description
Hi, since config_rev.h is generated from the SVN versioning number by config_rev.pl, this approach fails when using the git tree: the .svn directories are missing. I'm not sure about the correct fix, should a special git tag or number be used? best regards,
History
07/14/2008 01:36 PM - Wilson Snyder
- Category set to Configure/Make/Compiling
- Status changed from New to Closed
- Assigned to set to Wilson Snyder
This was ok in the HEAD, but as you also noted in a separate mail, the git HEAD wasn't properly visible outside. I fixed the permissions on the repository, and a "git fetch" will now properly get this change along with the others.
07/14/2008 02:35 PM - Holger Wächtler
now your latest commits after verilator_3_665 are visible in "git log" and the source tree, but still the same problem:
g++ -I/Users/holger/verilog-stuff/3rdparty/include -MMD -I. -I.. -I../../include -DYYDEBUG -ggdb -DVL_DEBUG -DDEFENV_SYSTEMC=\"\" -DDEFENV_SYSTEMC_ARCH=\"\" -DDEFENV_SYSTEMPERL=\"\" -DDEFENV_VERILATOR_ROOT=\"/Users/holger/verilog-stuff/3rdparty/share/verilator\" -c ../V3Options.cpp ../V3Options.cpp:41:24: error: config_rev.h: No such file or directory ../V3Options.cpp: In static member function `static std::string V3Options::version()': ../V3Options.cpp:411: error: 'DTVERSION_rev' was not declared in this scope make[2]: *** [V3Options.o] Error 1 make[1]: *** [../verilator_bin_dbg] Error 2 make: *** [verilator_exe] Error 2
Providing the file from an old revision allows building the source, but is probably not the intended solution...
![[logo]](/img/veripool_small.gif)