Issue #396
autoconf warnings; was: Compilation problems
| Status: | Closed | Start date: | 10/04/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Configure/Make/Compiling | |||
| Target version: | - |
Description
I am having trivial problems compiling Verilator's git head under Ubuntu 10.04, maybe I've missed something when configuring. I have attached a patch that fixes most issues for me.
History
Updated by Wilson Snyder over 1 year ago
- Status changed from New to Assigned
Thanks for the patch. There's something else going on though, as via the .h files there's an include of config_build.h, which has a #include of cstring. cstring should be the same as string.h under the std namespace.
Can you try replacing one of your string.h's with a cstring and see what happens? Thanks.
Updated by R. Diez over 1 year ago
Oh wait, I know what happened. Instead of "autoconf", I issued at the beginning an "autoreconf" command, and that overwrote file config_build.h.in . This is the first line of the new contents:
/* src/config_build.h.in. Generated from configure.ac by autoheader. */
I wonder why autoheader decided to overwrite that file.
So I guess this bug is invalid after all.
Or maybe it's time to clean up the autotools support a little bit:
- autoconf --warnings=all
configure.ac:30: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:30: You should run autoupdate. ../../lib/autoconf/general.m4:2731: AC_TRY_RUN is expanded from... configure.ac:30: the top level configure.ac:30: warning: AC_RUN_IFELSE called without default to allow cross compiling ../../lib/autoconf/general.m4:2715: AC_RUN_IFELSE is expanded from... configure.ac:72: warning: AC_OUTPUT should be used without arguments. configure.ac:72: You should run autoupdate.
Thanks, R. Diez
Updated by Wilson Snyder over 1 year ago
- Subject changed from Compilation problems with git head to autoconf warnings; was: Compilation problems
- Status changed from Assigned to Resolved
autoconf warnings fixed in git head towards 3.822, thanks.
Also available in: Atom
![[logo]](/img/veripool_small.png)