Date: Fri, 22 Feb 2002 13:23:08 -0800 (PST) From: "Dorr H. Clark" <dclark@applmath.scu.edu> To: Jonathan Chen <jonc@chen.org.nz> Cc: freebsd-questions@FreeBSD.ORG Subject: doesn't work for me (was Re: problems building gdb on FreeBSD 4.4) Message-ID: <Pine.GHP.4.21.0202221313130.12628-100000@hpux36.dc.engr.scu.edu> In-Reply-To: <20020221191306.D22670@grimoire.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Feb 2002, Jonathan Chen wrote: > On Wed, Feb 20, 2002 at 07:29:37PM -0800, Dorr H. Clark wrote: > > > > I'm confused. I did an installation through the menu > > from the 4.4 CD, asking for all sources & X but no games. > > Some time later, I did this: > > > > cd /usr/src/contrib/gdb/ > > Just type "make". > Jonathan Chen <jonc@chen.org.nz> > With sufficient thrust, pigs fly just fine. On my system, a bare "make" with no arguments in that directory provokes: make: no target to make which is the normal message when there's no makefile among the standard makefile names. Ditto for the gdb subdirectory beneath it. I left this detail out of my summary. I also presume my shell choice makes no difference, but I'm using bash 2.05. If you're implying there's something wrong with my installation, as in I should have a Makefile in that directory, any tips on possible errors would be appreciated. -Dorr H. Clark (original context repeated for convenience) Date: Wed, 20 Feb 2002 19:29:37 -0800 (PST) From: Dorr H. Clark <dclark@applmath.scu.edu> Subject: problems building gdb on FreeBSD 4.4 I'm confused. I did an installation through the menu from the 4.4 CD, asking for all sources & X but no games. Some time later, I did this: cd /usr/src/contrib/gdb/ ./configure echo4.4-RELEASE: not found Configuring for a i386-unknown-freebsdelf host. ./move-if-change: Can't open ./move-if-change: No such file or directory *** cannot find move-if-change. I also had a gdb 4.18 tarball from the gnu FTP site downloaded last year. I opened that up into the file system in a different area, then did this: cd /home/gdb/gdb_4_18_from_gnu/ ./configure <various stuff happens, persuasively simulating success> make <additional various stuff happens> gcc -c -g -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:212: warning: `struct rt_symbol' declared inside parameter list solib.c:212: 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:344: structure has no member named `som_addr' solib.c:345: structure has no member named `som_addr' solib.c: In function `solib_add_common_symbols': solib.c:405: argument `rtc_symp' doesn't match prototype solib.c:212: prototype declaration solib.c:406: storage size of `inferior_rtc_symb' isn't known solib.c: In function `first_link_map_member': solib.c:892: sizeof applied to an incomplete type solib.c:893: invalid use of undefined type `struct _dynamic' solib.c:897: invalid use of undefined type `struct _dynamic' solib.c:898: sizeof applied to an incomplete type solib.c:899: invalid use of undefined type `struct section_dispatch_table' solib.c: In function `alloc_solib': solib.c:996: structure has no member named `som_path' solib.c: In function `find_solib': solib.c:1080: structure has no member named `som_next' solib.c:1159: structure has no member named `som_path' solib.c: In function `symbol_add_stub': solib.c:1203: structure has no member named `som_addr' solib.c: In function `info_sharedlibrary_command': solib.c:1420: structure has no member named `som_addr' solib.c: In function `solib_address': solib.c:1469: structure has no member named `som_addr' solib.c: In function `disable_break': solib.c:1555: sizeof applied to an incomplete type solib.c:1561: invalid use of undefined type `struct so_debug' solib.c:1562: invalid use of undefined type `struct so_debug' solib.c:1563: invalid use of undefined type `struct so_debug' solib.c: In function `enable_break': solib.c:1647: sizeof applied to an incomplete type solib.c:1656: invalid use of undefined type `struct _dynamic' solib.c:1660: invalid use of undefined type `struct so_debug' solib.c: In function `special_symbol_handling': solib.c:1947: sizeof applied to an incomplete type solib.c:1958: invalid use of undefined type `struct _dynamic' solib.c:1965: sizeof applied to an incomplete type solib.c:1971: invalid use of undefined type `struct so_debug' solib.c:1973: invalid use of undefined type `struct so_debug' solib.c: At top level: solib.c:117: storage size of `dynamic_copy' isn't known solib.c:118: storage size of `ld_2_copy' isn't known solib.c:119: storage size of `debug_copy' isn't known *** Error code 1 Stop in /home/gdb/gdb-4.18_local/gdb. Looking in the code for solib.c, the failing code is inside an #ifndef SVR4_SHARED_LIBRARIES, but even if this flag is thrown solib.c fails a different way. Going to the FreeBSD CVS website, it doesn't appear that "solib.c" has been updated for any recent purpose. Going to the gnu website, I find that all versions before 5.0 have been wiped. The archive location is Redhat, which stores the 4.18 tarball as a .gz2 file. Is this a Pax or RPM storage format? My tar can't seem to make sense of it. Apologies in advance for not being Linux literate... Is there some obvious mistake I'm making? -Dorr H. Clark ps- If FreeBSD 4.x doesn't have SVR4_SHARED_LIBRARIES, then what kind of shared libraries does it have? pps- Please cc me on any response since I am unsubscribed. Thx. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GHP.4.21.0202221313130.12628-100000>