From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: trunk build failure on Solaris 2.6 Date: Fri, 19 Oct 2007 15:48:51 -0400 Message-ID: <87myuenavw.fsf@stupidchicken.com> References: <871wbr4x1v.fsf@stupidchicken.com> <87y7dz4tsx.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192823397 2704 80.91.229.12 (19 Oct 2007 19:49:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2007 19:49:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Katsumi Yamaoka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 19 21:49:58 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iixr2-0002zf-Ec for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 21:49:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iixqv-00016o-5g for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 15:49:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iixqq-00014g-4N for emacs-devel@gnu.org; Fri, 19 Oct 2007 15:49:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iixqo-00011G-Fx for emacs-devel@gnu.org; Fri, 19 Oct 2007 15:49:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iixqo-00011B-8z for emacs-devel@gnu.org; Fri, 19 Oct 2007 15:49:42 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iixqo-00029e-0j for emacs-devel@gnu.org; Fri, 19 Oct 2007 15:49:42 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id EC2364E379; Fri, 19 Oct 2007 15:48:51 -0400 (EDT) In-Reply-To: <87y7dz4tsx.fsf@stupidchicken.com> (Chong Yidong's message of "Fri\, 19 Oct 2007 00\:22\:54 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81248 Archived-At: Could you try the following patch on Solaris? William Xu said it didn't work on the Mac, but I am not familiar with the mac build system; I'd like to first see if it works on a non-gnu Unix. *** trunk/src/Makefile.in.~1.355.~ 2007-10-12 13:33:38.000000000 -0400 --- trunk/src/Makefile.in 2007-10-19 00:21:18.000000000 -0400 *************** *** 459,464 **** --- 459,471 ---- #define LIBGPM #endif /* not HAVE_GPM */ + #if HAVE_LIBRESOLV + #ifndef LIBRESOLV + #define LIBRESOLV -lresolv + #endif /* not defined LIBRESOLV */ + #else /* not HAVE_LIBRESOLV */ + #define LIBRESOLV + #endif /* not HAVE_LIBRESOLV */ LIBSOUND= @LIBSOUND@ CFLAGS_SOUND= @CFLAGS_SOUND@ *************** *** 940,946 **** duplicated symbols. If the standard libraries were compiled with GCC, we might need gnulib again after them. */ LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(RSVG_LIBS) LIBGPM \ ! LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \ LIBS_DEBUG $(GETLOADAVG_LIBS) $(GNULIB_VAR) LIB_MATH LIB_STANDARD \ $(GNULIB_VAR) --- 947,953 ---- duplicated symbols. If the standard libraries were compiled with GCC, we might need gnulib again after them. */ LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(RSVG_LIBS) LIBGPM \ ! LIBRESOLV LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \ LIBS_DEBUG $(GETLOADAVG_LIBS) $(GNULIB_VAR) LIB_MATH LIB_STANDARD \ $(GNULIB_VAR)