This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: GDB-insight build errors.
- From: Gary Thomas <gary at mlbassoc dot com>
- To: ariga masahiro <ariga at link-lab dot co dot jp>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 25 Jul 2007 06:38:27 -0600
- Subject: Re: [ECOS] GDB-insight build errors.
- References: <000301c7ce8f$f282c4d0$1c0110ac@ariga>
-----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