From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: Alexandre Oliva , gdb@sources.redhat.com Subject: Re: GDB CVS won't build on HP-UX 10.20 Date: Tue, 29 May 2001 09:46:00 -0000 Message-id: <1010529164521.ZM28182@ocotillo.lan> References: X-SW-Source: 2001-05/msg00335.html On May 29, 7:14am, Alexandre Oliva wrote: > The problem is that remote.c calls no_shared_libraries(), but solib.c > is not used on this platform, and in 10 seconds I couldn't find > anything remotely similar in somsolib.c. Should the #ifdef test that > decides whether to call no_shared_libraries() be made stricter, or > should no_shared_libraries() be defined in somsolib.c too? IMO, the "right" way to fix this is to convert somsolib.c into a solib.c back end (perhaps solib-som.c?) and make HP-UX use solib.c. (As an example of how this might be done, see Nick Duffek's recent work in converting osfsolib.c to solib-osf.c) However, in this case, the right way is not necessarily easy, so the expedient solution of adding no_shared_libraries() to somsolib.c is acceptable as a short term solution. Kevin