[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] Docu patches
From: |
Theodore A. Roth |
Subject: |
Re: [Simulavr-devel] Docu patches |
Date: |
Thu, 3 Jan 2002 17:20:10 -0700 (MST) |
On Thu, 3 Jan 2002, address@hidden wrote:
:)After executing bootstrap and configure, I couldn't compile any longer.
:)The reason was, that a make rule was added to rerun autoheader.
:)This rule doesn't add the autoheader options given in bootstrap.
:)I found a hint in the autoconf docu. This took me several hours to find.
When you say you couldn't compile, what did the failure look like?
I don't think the extra-cmds are needed in AC_OUTPUT. If you look at the
generated config.status file, the last command is:
test -z "$CONFIG_HEADERS" || echo timestamp > src/stamp-h
When you spec the extra-cmds, they just go after this and do essentially
the same thing.
The failure I was seeing was that autoheader was run without specifying
the config dir, thus it couldn't find the acconfig.h file and a few things
where'd added to the config.h file (namely defining UNSIGNED_8_BIT_T and
friends). I beleive the real solution is to just move acconfig.h into the
top level directory and remove the '--localdir=config' from the bootstrap
script.
I just verified that this indeed solves the failure I'm seeing. Here's a
sample of the failure output:
In file included from ../../simulavr/src/avr.h:449,
from ../../simulavr/src/main.c:32:
../../simulavr/src/vdevs.h:38: field `reg' declared as a function
../../simulavr/src/vdevs.h:40: field `C' declared as a function
../../simulavr/src/vdevs.h:41: field `Z' declared as a function
../../simulavr/src/vdevs.h:42: field `N' declared as a function
../../simulavr/src/vdevs.h:43: field `V' declared as a function
../../simulavr/src/vdevs.h:44: field `S' declared as a function
../../simulavr/src/vdevs.h:45: field `H' declared as a function
../../simulavr/src/vdevs.h:46: field `T' declared as a function
../../simulavr/src/vdevs.h:47: field `I' declared as a function
../../simulavr/src/vdevs.h:40: bit-field `C' has invalid type
../../simulavr/src/vdevs.h:41: bit-field `Z' has invalid type
../../simulavr/src/vdevs.h:42: bit-field `N' has invalid type
../../simulavr/src/vdevs.h:43: bit-field `V' has invalid type
../../simulavr/src/vdevs.h:44: bit-field `S' has invalid type
../../simulavr/src/vdevs.h:45: bit-field `H' has invalid type
../../simulavr/src/vdevs.h:46: bit-field `T' has invalid type
../../simulavr/src/vdevs.h:47: bit-field `I' has invalid type
../../simulavr/src/vdevs.h:71: field `parent' has incomplete type
../../simulavr/src/vdevs.h:73: confused by earlier errors, bailing out
make[2]: *** [main.o] Error 1
I was seeing this failure occur when I issued a make from within the src
dir after changing the configure.in file and running bootstrap but not
running configure again.
Ted
- [Simulavr-devel] Docu patches, reinhard . jessich, 2002/01/02
- Re: [Simulavr-devel] Docu patches, Theodore Roth, 2002/01/02
- Re: [Simulavr-devel] Docu patches,
Theodore A. Roth <=
- Re: [Simulavr-devel] Docu patches, reinhard . jessich, 2002/01/03
- Re: [Simulavr-devel] Docu patches, Theodore A. Roth, 2002/01/03
- Re: [Simulavr-devel] Docu patches, scott, 2002/01/03
- [Simulavr-devel] asm and --gstabs, Theodore A. Roth, 2002/01/04
- Re: [Simulavr-devel] asm and --gstabs, ken restivo, 2002/01/04
- Re: [Simulavr-devel] asm and --gstabs, scott, 2002/01/04
- Re: [Simulavr-devel] asm and --gstabs, Theodore A. Roth, 2002/01/04
- Re: [Simulavr-devel] asm and --gstabs, Theodore A. Roth, 2002/01/04
- Re: [Simulavr-devel] asm and --gstabs, Tak Auyeung, 2002/01/04
- Message not available
- Re: [Simulavr-devel] asm and --gstabs, reinhard . jessich, 2002/01/06