[ECOS] GDB-insight build errors.

ariga masahiro ariga@link-lab.co.jp
Wed Jul 25 07:46:00 GMT 2007


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



More information about the Ecos-discuss mailing list