This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb 4.18: compilation problems on i86pc Solaris 2.7


Hi!

I am having problems compiling gdb 4.18 on i86pc Solaris 2.7.

Here is the error text:

make[1]: Entering directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/libiberty'
make[1]: Leaving directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/libiberty'
make[1]: Entering directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/intl'
make[1]: Entering directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd'
make  all-recursive
make[2]: Entering directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd'
Making all in doc
make[3]: Entering directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd/doc'
Making all in po
make[3]: Entering directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd/po'
make[3]: Entering directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-D_GNU_SOURCE     -I. -I. -I./../include  -I./../intl -I../intl    -g
-O2 -c elf32-hppa.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I./../include
-I./../intl -I../intl -g -O2 -c -fPIC -DPIC elf32-hppa.c
In file included from elf32-hppa.h:36,
                 from elf32-hppa.c:199:
../include/elf/hppa.h:184: `elf32_hppa_reloc_type' redeclared as
different kind of symbol
../include/elf/hppa.h:100: previous declaration of
`elf32_hppa_reloc_type'
make[3]: *** [elf32-hppa.lo] Error 1
make[3]: Leaving directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/export/home/nardmann/CompilationTmp/gdb-4.18/bfd'
make: *** [all-bfd] Error 2

Probably you need to know the configuration so here is the config.status
file:

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
./configure --host=i386-pc-solaris2.7 --prefix=/opt/gdb-4.18
--exec-prefix=/opt/gdb-4.18 --enable-shared --enable-targets=all
--norecursion
# using "mh-frag" and "mt-frag"

I am using gcc-2.95.2 and make-3.78.1 on this machine.

Any other info I have to give?

Thanks in advance for any hint.

--
Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development

secunet Security Networks AG - Sicherheit in Netzwerken
(www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]