* [ECOS] GDB-insight build errors.
@ 2007-07-25 7:46 ariga masahiro
2007-07-25 12:38 ` Gary Thomas
0 siblings, 1 reply; 2+ messages in thread
From: ariga masahiro @ 2007-07-25 7:46 UTC (permalink / raw)
To: ecos-discuss
Hi everyone,
Please help me next problem.
I tried to install GDB-insight
but encountered next build errors.
I downloaded insight-6.6.tar.bz2
and configureed for sh-elf
and did make using next commands.
$ cd username
$ tar jxvf insight-6.1.tar.bz2
$ mkdir build-insight
$ cd build-insight
$ /home/username/insight-6.1/configure --target=sh-elf
$ make all install
And next errors occured.
Since top portion was dropped out of console window,
possibly there were others.
/home/username/insight-6.6/bfd/archive.c:1074: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1078: error: `amt' undeclared
(first use in this function)
/home/username/insight-6.6/bfd/archive.c:1082: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1083: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1084: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1091: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1095: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1096: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1106: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1120: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1121: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1122: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c: At top level:
/home/username/insight-6.6/bfd/archive.c:1196: error: parse error before
"bfd_size_type"
/home/username/insight-6.6/bfd/archive.c:1198: warning: function declaration
isn't a prototype
/home/username/insight-6.6/bfd/archive.c: In function
`_bfd_archive_bsd_construct_extended_name_table':
/home/username/insight-6.6/bfd/archive.c:1199: error: assignment of
read-only location
/home/username/insight-6.6/bfd/archive.c:1199: warning: assignment makes
integer from pointer without a cast
/home/username/insight-6.6/bfd/archive.c:1200: error: `abfd' undeclared
(first use in this function)
/home/username/insight-6.6/bfd/archive.c:1200: error: `tabloc' undeclared
(first use in this function)
/home/username/insight-6.6/bfd/archive.c:1200: error: `tablen' undeclared
(first use in this function)
/home/username/insight-6.6/bfd/archive.c: At top level:
/home/username/insight-6.6/bfd/archive.c:1208: error: parse error before
"bfd_size_type"
/home/username/insight-6.6/bfd/archive.c:1210: warning: function declaration
isn't a prototype
/home/username/insight-6.6/bfd/archive.c: In function
`_bfd_archive_coff_construct_extended_name_table':
/home/username/insight-6.6/bfd/archive.c:1211: error: assignment of
read-only location
/home/username/insight-6.6/bfd/archive.c:1211: warning: assignment makes
integer from pointer without a cast
and more,I omitted others,
It looks like all errors are related to archive.c.
Please help me how to avoid errors.
I urgently beseech you to help me.
Masahiro Ariga
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] GDB-insight build errors.
2007-07-25 7:46 [ECOS] GDB-insight build errors ariga masahiro
@ 2007-07-25 12:38 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2007-07-25 12:38 UTC (permalink / raw)
To: ariga masahiro; +Cc: ecos-discuss
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ariga masahiro wrote:
> Hi everyone,
>
> Please help me next problem.
>
> I tried to install GDB-insight
> but encountered next build errors.
>
> I downloaded insight-6.6.tar.bz2
> and configureed for sh-elf
> and did make using next commands.
>
> $ cd username
> $ tar jxvf insight-6.1.tar.bz2
> $ mkdir build-insight
> $ cd build-insight
> $ /home/username/insight-6.1/configure --target=sh-elf
> $ make all install
>
> And next errors occured.
> Since top portion was dropped out of console window,
> possibly there were others.
>
> /home/username/insight-6.6/bfd/archive.c:1074: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1078: error: `amt' undeclared
> (first use in this function)
> /home/username/insight-6.6/bfd/archive.c:1082: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1083: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1084: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1091: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1095: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1096: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1106: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1120: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1121: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c:1122: error: dereferencing
> pointer to incomplete type
> /home/username/insight-6.6/bfd/archive.c: At top level:
> /home/username/insight-6.6/bfd/archive.c:1196: error: parse error before
> "bfd_size_type"
> /home/username/insight-6.6/bfd/archive.c:1198: warning: function
> declaration isn't a prototype
> /home/username/insight-6.6/bfd/archive.c: In function
> `_bfd_archive_bsd_construct_extended_name_table':
> /home/username/insight-6.6/bfd/archive.c:1199: error: assignment of
> read-only location
> /home/username/insight-6.6/bfd/archive.c:1199: warning: assignment makes
> integer from pointer without a cast
> /home/username/insight-6.6/bfd/archive.c:1200: error: `abfd' undeclared
> (first use in this function)
> /home/username/insight-6.6/bfd/archive.c:1200: error: `tabloc'
> undeclared (first use in this function)
> /home/username/insight-6.6/bfd/archive.c:1200: error: `tablen'
> undeclared (first use in this function)
> /home/username/insight-6.6/bfd/archive.c: At top level:
> /home/username/insight-6.6/bfd/archive.c:1208: error: parse error before
> "bfd_size_type"
> /home/username/insight-6.6/bfd/archive.c:1210: warning: function
> declaration isn't a prototype
> /home/username/insight-6.6/bfd/archive.c: In function
> `_bfd_archive_coff_construct_extended_name_table':
> /home/username/insight-6.6/bfd/archive.c:1211: error: assignment of
> read-only location
> /home/username/insight-6.6/bfd/archive.c:1211: warning: assignment makes
> integer from pointer without a cast
>
> and more,I omitted others,
>
> It looks like all errors are related to archive.c.
>
> Please help me how to avoid errors.
> I urgently beseech you to help me.
>
> Masahiro Ariga
>
>
This question belongs to the Insight project - you'll have to
ask them (it's not eCos specific).
- --
- ------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFGp0RDmaKbSsQGV8ARApBAAJ4sMNVX11QK96iy9Yn2ZDR/9QipDgCeKxbX
WeZnFFwXR3uZGVe7FUVPTbs=
=nqVB
-----END PGP SIGNATURE-----
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-25 12:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-25 7:46 [ECOS] GDB-insight build errors ariga masahiro
2007-07-25 12:38 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).