emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS checkout (2009-04-16) fails to link under Solaris 9 and AIX 5L


From: Harald Maier
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (darwin)

Harald Maier <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]