build/2490: make[2]: *** [solib-pa64.o] Error 1
John David Anglin
dave@hiauly1.hia.nrc.ca
Mon Aug 4 01:08:00 GMT 2008
The following reply was made to PR build/2490; it has been noted by GNATS.
From: John David Anglin <dave@hiauly1.hia.nrc.ca>
To: gdb-gnats@sources.redhat.com, nobody@sources.redhat.com
Cc: dave.anglin@nrc-cnrc.gc.ca
Subject: Re: build/2490: make[2]: *** [solib-pa64.o] Error 1
Date: Sun, 3 Aug 2008 21:05:20 -0400
--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
The attached simple fix appears to resolve the problem.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="solib-pa64.c.d"
Index: solib-pa64.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-pa64.c,v
retrieving revision 1.10
diff -u -3 -p -r1.10 solib-pa64.c
--- solib-pa64.c 1 Jan 2008 22:53:13 -0000 1.10
+++ solib-pa64.c 4 Aug 2008 00:38:43 -0000
@@ -46,7 +46,7 @@
/* We can build this file only when running natively on 64-bit HP/UX.
We check for that by checking for the elf_hp.h header file. */
-#ifdef HAVE_ELF_HP_H
+#if defined(HAVE_ELF_HP_H) && defined(__LP64__)
/* FIXME: kettenis/20041213: These includes should be eliminated. */
#include <dlfcn.h>
--envbJBWh7q8WU6mo--
More information about the Gdb-prs
mailing list