From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: trunk build failure on Solaris 2.6 Date: Fri, 19 Oct 2007 09:45:31 +0900 Organization: Emacsen advocacy group Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192754757 26645 80.91.229.12 (19 Oct 2007 00:45:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2007 00:45:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 19 02:45:57 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 1Iifzv-0002YU-RR for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 02:45:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iifzn-0006Cz-QP for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 20:45:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iifzl-0006Cu-6N for emacs-devel@gnu.org; Thu, 18 Oct 2007 20:45:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iifzi-0006Ci-MP for emacs-devel@gnu.org; Thu, 18 Oct 2007 20:45:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iifzi-0006Cf-Hx for emacs-devel@gnu.org; Thu, 18 Oct 2007 20:45:42 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iifzi-0005m7-AX for emacs-devel@gnu.org; Thu, 18 Oct 2007 20:45:42 -0400 Original-Received: from [66.225.201.151] (port=43867 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1Iifzc-0005wv-TG for emacs-devel@gnu.org; Thu, 18 Oct 2007 19:45:37 -0500 X-Hashcash: 1:20:071019:emacs-devel@gnu.org::wuhtyrWkTZhsJMjh:0000000000000000000000000000000000000000004kC4 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:JYhywwq731u9Q903rr3VcGU1BGk= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:81174 Archived-At: Hi, I don't know at all what's going on but this change 2007-10-17 Chong Yidong * configure.in (HAVE_RES_INIT): Define if res_init() exists. (HAVE_LIBRESOLV): Also define if we are using res_init(). makes Solaris 2.6 with Gcc 3.3 use res_init and fail to build Emacs trunk. config.log ========== configure:19614: checking for res_init [...] configure:19693: result: no configure:19704: checking for res_init with -lresolv configure:19729: gcc -o conftest -I/usr/local/include -I/usr/local/X11/include\ -g -O2 -I/usr/local/include -I/usr/local/X11/include -L/usr/local/lib\ -L/usr/local/X11/lib conftest.c -lmail -lm -lXext -lXmu -lXt -lSM -lICE -lX11\ -lsocket -lnsl -lkstat -lresolv >&5 configure:19735: $? = 0 configure:19751: result: yes make bootstrap ============== gcc [...] -o temacs [...] Undefined first referenced symbol in file res_init process.o (symbol belongs to implicit dependency /usr/lib/libresolv.so.2) ld: fatal: Symbol referencing errors. No output written to temacs Removing the `#define HAVE_RES_INIT 1' line in config.h does the trick. Does adding something to s/sol2*.h solve it? Sorry, I have no Solaris machine other than 2.6 (this is in the office, so I cannot fiddle it in the week end). Regards,