Subject: pkg/15626: devel/gdb -- gdb-4.18 won't build on NetBSD-1.5W i386 or sparc
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 02/15/2002 16:37:55
>Number: 15626
>Category: pkg
>Synopsis: devel/gdb -- gdb-4.18 won't build on NetBSD-1.5W i386 or sparc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 15 13:38:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Greg A. Woods
>Release: pkgsrc 2002/01/28
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD 1.5W
Architecture: i386 & sparc
Machine: i386 & sparc
>Description:
It seems a great pity to have devel/gdb-4.18 in pkgsrc, but not
be able to use it on NetBSD. Unfortunately it won't build on
either i386 or sparc if the package is enabled.....
>How-To-Repeat:
the same compilation errors happen on both i386 and sparc....
gcc -c -g -O2 -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -I./tui solib.c
solib.c:204: warning: `struct rt_symbol' declared inside parameter list
solib.c:204: warning: its scope is only this definition or declaration, which is probably not what you want.
solib.c: In function `solib_map_sections':
solib.c:336: structure has no member named `som_addr'
solib.c:337: structure has no member named `som_addr'
solib.c: In function `solib_add_common_symbols':
solib.c:397: argument `rtc_symp' doesn't match prototype
solib.c:204: prototype declaration
solib.c:398: storage size of `inferior_rtc_symb' isn't known
solib.c: In function `first_link_map_member':
solib.c:861: sizeof applied to an incomplete type
solib.c:862: invalid use of undefined type `struct _dynamic'
solib.c:866: invalid use of undefined type `struct _dynamic'
solib.c:867: sizeof applied to an incomplete type
solib.c:868: invalid use of undefined type `struct section_dispatch_table'
solib.c: In function `find_solib':
solib.c:935: structure has no member named `som_next'
solib.c:944: structure has no member named `som_next'
solib.c:989: structure has no member named `som_path'
solib.c: In function `symbol_add_stub':
solib.c:1032: structure has no member named `som_addr'
solib.c: In function `info_sharedlibrary_command':
solib.c:1249: structure has no member named `som_addr'
solib.c: In function `solib_address':
solib.c:1298: structure has no member named `som_addr'
solib.c: In function `disable_break':
solib.c:1401: sizeof applied to an incomplete type
solib.c:1407: invalid use of undefined type `struct so_debug'
solib.c:1408: invalid use of undefined type `struct so_debug'
solib.c:1409: invalid use of undefined type `struct so_debug'
solib.c: In function `enable_break':
solib.c:1493: sizeof applied to an incomplete type
solib.c:1502: invalid use of undefined type `struct _dynamic'
solib.c:1506: invalid use of undefined type `struct so_debug'
solib.c: In function `special_symbol_handling':
solib.c:1793: sizeof applied to an incomplete type
solib.c:1804: invalid use of undefined type `struct _dynamic'
solib.c:1811: sizeof applied to an incomplete type
solib.c:1817: invalid use of undefined type `struct so_debug'
solib.c:1819: invalid use of undefined type `struct so_debug'
solib.c: At top level:
solib.c:115: storage size of `dynamic_copy' isn't known
solib.c:116: storage size of `ld_2_copy' isn't known
solib.c:117: storage size of `debug_copy' isn't known
*** Error code 1
Stop.
make: stopped in /var/obj/package/devel/gdb/work/gdb-4.18/gdb
*** Error code 1
Stop.
make: stopped in /var/obj/package/devel/gdb/work/gdb-4.18
*** Error code 1
Stop.
make: stopped in /work/woods/m-NetBSD-pkgsrc/devel/gdb
*** Error code 1
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: