bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build problem compiling gdb-6.0 on OpenBSD


From: Han Boetes
Subject: Build problem compiling gdb-6.0 on OpenBSD
Date: Sun, 8 Feb 2004 17:21:31 +0100
User-agent: Mutt/1.5.5.1i

Hi,

On OpenBSD-current i386 I tried to build gdb-6.0 with the following
options:

    ./configure \
        --prefix=/usr/local \
        --disable-nls \
        --verbose \
        --program-transform-name=s,^,e, \
        --without-mmalloc

No patches or anything else applied. I got the following error:

egcc -c -O2 -march=i686 -pipe  -DYYDEBUG=0   -I. -I. -I./config 
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode 
-I./../readline/..  -I../bfd -I./../bfd  -I./../include  -I../intl -I./../intl  
-DMI_OUT=1  -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat 
-Wparentheses -Wpointer-arith -Wuninitialized  solib-sunos.c
In file included from solib-sunos.c:33:
/usr/include/link.h:66: error: redefinition of `struct so_map'
solib-sunos.c: In function `solib_add_common_symbols':
solib-sunos.c:179: error: storage size of `inferior_rtc_symb' isn't known
solib-sunos.c: In function `first_link_map_member':
solib-sunos.c:318: error: invalid application of `sizeof' to an incomplete type
solib-sunos.c:319: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:323: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:323: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:324: error: invalid application of `sizeof' to an incomplete type
solib-sunos.c:325: error: invalid use of undefined type `struct 
section_dispatch_table'
solib-sunos.c:325: error: invalid use of undefined type `struct 
section_dispatch_table'
solib-sunos.c: In function `disable_break':
solib-sunos.c:488: error: invalid application of `sizeof' to an incomplete type
solib-sunos.c:494: error: invalid use of undefined type `struct so_debug'
solib-sunos.c:494: error: invalid use of undefined type `struct so_debug'
solib-sunos.c:495: error: invalid use of undefined type `struct so_debug'
solib-sunos.c:496: error: invalid use of undefined type `struct so_debug'
solib-sunos.c: In function `enable_break':
solib-sunos.c:564: error: invalid application of `sizeof' to an incomplete type
solib-sunos.c:573: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:573: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:577: error: invalid use of undefined type `struct so_debug'
solib-sunos.c: In function `sunos_special_symbol_handling':
solib-sunos.c:622: error: invalid application of `sizeof' to an incomplete type
solib-sunos.c:633: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:633: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:640: error: invalid application of `sizeof' to an incomplete type
solib-sunos.c:646: error: invalid use of undefined type `struct so_debug'
solib-sunos.c:648: error: invalid use of undefined type `struct so_debug'
solib-sunos.c:648: error: invalid use of undefined type `struct so_debug'
solib-sunos.c: At top level:
solib-sunos.c:84: error: storage size of `dynamic_copy' isn't known
solib-sunos.c:85: error: storage size of `ld_2_copy' isn't known
solib-sunos.c:86: error: storage size of `debug_copy' isn't known
*** Error code 1



# Han





reply via email to

[Prev in Thread] Current Thread [Next in Thread]