unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Harald Maier <harald@maierh.de>
To: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <m24ownxm8y.fsf@ate.maierh> (raw)
In-Reply-To: m2iql4v1xt.fsf@ate.maierh


Harald Maier <harald@maierh.de> 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





  reply	other threads:[~2009-04-17 16:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 19:22 CVS checkout (2009-04-16) fails to link under Solaris 9 and AIX 5L Harald Maier
2009-04-17 16:45 ` Harald Maier [this message]
2009-04-17 18:41   ` Chong Yidong
2009-04-20  0:56     ` Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m24ownxm8y.fsf@ate.maierh \
    --to=harald@maierh.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).