Comments (13)
Can you pull and try again? I think you must have a newer version of autoconf.
from nvc.
➜ nvc git:(master) ./autogen.sh
configure.ac:61: error: possibly undefined macro: AC_MSG_WARN
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
from nvc.
Which version of autoconf, automake, etc do you have installed?
sudo apt-get install autoconf autoconf-archive automake pkg-config libreadline-dev
Should cover the dependencies needed to generate the configure script.
from nvc.
According to http://stackoverflow.com/questions/8811381/possibly-undefined-macro-ac-msg-error
I apt-get the pkg-config
and now
➜ nvc git:(master) ✗ ./autogen.sh
configure.ac:4: require Automake 1.12, but have 1.11.6
autoreconf: automake failed with exit status: 1
from nvc.
Try applying this patch to your local copy, or else upgrade to a newer automake if it's easily available.
diff --git a/configure.ac b/configure.ac
index e0a0ba6..eb19713 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
AC_INIT([nvc], [0.1],
[Nick Gasson <[email protected]>],
[nvc])
-AM_INIT_AUTOMAKE([1.12 color-tests serial-tests])
+AM_INIT_AUTOMAKE([1.11 color-tests])
AM_SILENT_RULES([yes])
AC_CONFIG_MACRO_DIR([m4])
from nvc.
checking for BZ2_bzclose in -lbz2... no
configure: error: bzip2 not found
from nvc.
You can install that with
sudo apt-get install libbz2-dev
from nvc.
tcl-dev
is also needed. and also bison
.
declared with attribute warn_unused_result [-Werror=unused-result]
from nvc.
Is that an error message you get when building? Can you include a bit more of it? (File/line specifically.)
from nvc.
..have hacked cover.c
char *t = fgets(buf, sizeof(buf), fp);
t =t;
Making all in lxt
Making all in fst
Making all in src
Making all in rt
CC lib.o
../../src/lib.c: In function ‘lib_default_search_paths’:
../../src/lib.c:248:18: error: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors
make[4]: *** [lib.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
from nvc.
Should be fixed by commit c169897
from nvc.
flex
Making all in lxt
Making all in fst
Making all in src
Making all in rt
LEX lexer.c
make[4]: *** [lexer.c] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
from nvc.
by doing a clean build, finally got it done.
maybe you should consider adding the dependencies to the README file.
and also tools/fetch-ieee.sh
sudo apt-get install autoconf autoconf-archive automake pkg-config libreadline-dev bison flex tcl-dev pkg-config
from nvc.
Related Issues (20)
- Running testbench causes segmentation fault (protected types) HOT 1
- Cannot handle tree kind T_EXIT in wait expression HOT 1
- Analysing file causes segmentation fault (unaffected keyword) HOT 3
- Assert ERROR = fatal? HOT 1
- Segmentation faults running vunit-based testbenches HOT 5
- Force/release on signal with only initial value HOT 1
- Testbench does not stop HOT 2
- Segfault when indexing (non-array) record
- Package references only resolved when explicitly `use`d HOT 4
- Record element with type as name breaks compilation HOT 1
- Architecture with same name hides library HOT 1
- issues building nvc with TCL interface on macos HOT 1
- Records in 2D arrays causes sim to crash (SEGV_MAPERR) HOT 3
- IEEE Synopsys STD_LOGIC_MISC is missing from 08 library HOT 5
- Assertion `tree_params(fcall) == 2' failed
- String with leading NUL characters doesn't get printed in report HOT 3
- Subtypes with `open` don't count as fully-constrained HOT 4
- GTKW output HOT 2
- Signals missing from waveform HOT 6
- Matching select statements (select?) are not implemented. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvc.