[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] Docu patches
From: |
reinhard . jessich |
Subject: |
Re: [Simulavr-devel] Docu patches |
Date: |
Fri, 4 Jan 2002 01:44:59 +0100 |
On Fri, 04 Jan 2002, Theodore A. Roth wrote:
> 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.
No they doesn't!
I have added "echo timestamp > ${srcdir}/src/stamp-h.in 2> /dev/null", which
will create the stamp-h.in file in the real src directory. If you run configure
from an other build directory it is needed.
> 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.
This might be a solution. But I didn't like to change this, to get it easier
approved by you:-)
> 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 had an other error output. The reason was, that UNSIGNED_8_BIT_T
and friends was not declared.
> 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.
I have done (in an other build dir) configure and make. The make has
regenerated the config.h file (AFAIR), which was wrong, because of the
missing --localdir parameter to automake.
It's now 1:56 o'clock, my wife is crying -> good night!
Regards,
Reinhard
PS: I am ready with the script to build avr-gdb. If you are interrested get it
from http://members.telering.at/jessich/reinhard/avr/index.html
-> AVR GDB
--
Ing. Reinhard Jessich mailto: address@hidden
A-1190 Vienna, Goergengasse 2/2/1 phone: +43/1/3692600
http://members.telering.at/jessich mobile: +43/664/1735439
- [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, 2002/01/03
- Re: [Simulavr-devel] Docu patches,
reinhard . jessich <=
- 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
- Re: [Simulavr-devel] Docu patches, reinhard . jessich, 2002/01/04