From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Maier Newsgroups: gmane.emacs.devel Subject: Re: CVS checkout (2009-04-16) fails to link under Solaris 9 and AIX 5L Date: Fri, 17 Apr 2009 18:45:17 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239986755 22423 80.91.229.12 (17 Apr 2009 16:45:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2009 16:45:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 17 18:47:14 2009 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 1LurDZ-0003kS-DY for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2009 18:47:09 +0200 Original-Received: from localhost ([127.0.0.1]:54528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LurCA-0002e9-C7 for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2009 12:45:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LurC4-0002dJ-23 for emacs-devel@gnu.org; Fri, 17 Apr 2009 12:45:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LurBz-0002aa-Fc for emacs-devel@gnu.org; Fri, 17 Apr 2009 12:45:35 -0400 Original-Received: from [199.232.76.173] (port=36435 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LurBz-0002aX-AO for emacs-devel@gnu.org; Fri, 17 Apr 2009 12:45:31 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:59669 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LurBy-0005mA-SX for emacs-devel@gnu.org; Fri, 17 Apr 2009 12:45:31 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LurBu-0006p7-Vg for emacs-devel@gnu.org; Fri, 17 Apr 2009 16:45:26 +0000 Original-Received: from p54983a01.dip.t-dialin.net ([84.152.58.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Apr 2009 16:45:26 +0000 Original-Received: from harald by p54983a01.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Apr 2009 16:45:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54983a01.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (darwin) Cancel-Lock: sha1:VDudbXEZlB7lO4bULNLJukhfD2w= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:110324 Archived-At: Harald Maier writes: > Hello all, > > the CVS version of today (2009-04-16) fails to link on Solaris 9 and AIX > 5L. The link command of "temacs" reports the following undefined > symbols: > > Solaris 9 > --------- > Undefined first referenced > symbol in file > Qja xfont.o > Qko xfont.o > > AIX 5L > ------ > ld: 0711-317 ERROR: Undefined symbol: Qja > ld: 0711-317 ERROR: Undefined symbol: Qko > > On GNU/Linux and OS X X11 version all works fine. The problem exists too unter GNU/Linux if emacs is build only with xfont.o. The symbols "Qja" and "Qko" are defined in "ftfont.c" and used in xfont.c and xftfont.c. If we can place the defintion in xfont.c and use in ftfont.c and xftfont.c "extern" references all works fine. ,----[ src/Makefile.in ] | #ifdef HAVE_WINDOW_SYSTEM | #ifdef HAVE_X_WINDOWS | #if defined (HAVE_XFT) | FONT_DRIVERS = xfont.o ftfont.o xftfont.o ftxfont.o | #elif defined (HAVE_FREETYPE) | FONT_DRIVERS = xfont.o ftfont.o ftxfont.o | #else /* ! defined (HAVE_XFT) && ! defined (HAVE_FREETYPE) */ | FONT_DRIVERS = xfont.o | #endif /* ! defined (HAVE_XFT) && ! defined (HAVE_FREETYPE) */ | #endif /* HAVE_X_WINDOWS */ | #endif /* HAVE_WINDOW_SYSTEM */ `---- Harald