emacs-pretest-bug
[Top][All Lists]
Advanced

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

GNU Emacs 23 with font-backend enabled forgets libX11


From: Peter Dyballa
Subject: GNU Emacs 23 with font-backend enabled forgets libX11
Date: Sat, 18 Nov 2006 20:38:37 +0100

Hello!

Compilation ends like:

        echo "dispnew.o ...   widget.o  " > buildobj.lst
gcc -I/sw/include -L/sw/lib -prebind -Xlinker -headerpad -Xlinker 690 -dead_strip -bind_at_load -L/sw/lib/freetype219/lib -L/sw/lib/ fontconfig2/lib -L/sw/lib/ncurses -L/usr/local/lib -L/sw/lib -L/usr/ X11R6/lib -L/usr/X11R6/lib -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o font.o xfont.o ftfont.o xftfont.o ftxfont.o terminfo.o lastfile.o widget.o ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw3d - lXmu -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -L/sw/lib/freetype219/lib -L/usr/X11R6/lib -L/sw/lib/fontconfig2/lib - lXft -lfreetype -lXrender -lfontconfig -lncurses -L/usr/local/lib -lotf
        /sw/lib/odcctools/bin/ld: Undefined symbols:
        _XParseGeometry
        _XLookupKeysym
        _XMapWindow
        _XQueryPointer
        _XTranslateCoordinates
        _XCreateGC
        _XFreeColors
        _XFreeFont
        _XFreeGC
        _XrmGetDatabase
        _XrmPutLineResource
        _XAllocColor
        _XBell
        _XChangeGC
        _XChangeProperty
        _XClearArea
        _XClearWindow
        _XCloseDisplay
        _XCloseIM
        _XCopyArea
        _XCopyColormapAndFree
        _XCreateColormap
        _XCreateFontCursor
        _XCreatePixmap
        _XCreatePixmapFromBitmapData
        _XDefineCursor
        _XDestroyWindow
        _XDisplayCells
        _XDisplayKeycodes
        _XDrawImageString
        _XDrawImageString16
        _XDrawLine
        _XDrawRectangle
        _XDrawString
        _XDrawString16
        _XFillRectangle
        _XFilterEvent
        _XFlush
        _XFree
        _XFreeFontNames
        _XFreeModifiermap
        _XFreePixmap
        _XGetAtomName
        _XGetErrorText
        _XGetFontProperty
        _XGetGCValues
        _XGetGeometry
        _XGetIMValues
        _XGetKeyboardMapping
        _XGetModifierMapping
        _XGetWMNormalHints
        _XIconifyWindow
        _XInternAtom
        _XKeysymToString
        _XListFonts
        _XLoadQueryFont
        _XLookupString
        _XLowerWindow
        _XMoveWindow
        _XNextEvent
        _XNoOp
        _XOpenDisplay
        _XOpenIM
        _XParseColor
        _XPending
        _XQueryColors
        _XQueryFont
        _XRaiseWindow
        _XRefreshKeyboardMapping
        _XRegisterIMInstantiateCallback
        _XResizeWindow
        _XScreenNumberOfScreen
        _XSendEvent
        _XSetClipMask
        _XSetClipRectangles
        _XSetCommand
        _XSetErrorHandler
        _XSetFillStyle
        _XSetFont
        _XSetForeground
        _XSetICFocus
        _XSetIMValues
        _XSetIOErrorHandler
        _XSetWMHints
        _XSetWMIconName
        _XSetWMNormalHints
        _XSetWindowBorder
        _XSetWindowBorderPixmap
        _XSync
        _XSynchronize
        _XTextExtents16
        _XUnregisterIMInstantiateCallback
        _XUnsetICFocus
        _XWarpPointer
        _XWithdrawWindow
        _XmbLookupString
        _XrmSetDatabase
        _XChangeWindowAttributes
        _XCreateBitmapFromData
        _XCreateFontSet
        _XCreateIC
        _XCreateWindow
        _XDeleteProperty
        _XDestroyIC
        _XFreeCursor
        _XFreeFontSet
        _XFreeStringList
        _XGetICValues
        _XGetVisualInfo
        _XGetWindowProperty
        _XKeysymToKeycode
        _XMapRaised
        _XMatchVisualInfo
        _XMaxRequestSize
        _XMoveResizeWindow
        _XQueryTree
        _XRecolorCursor
        _XSetBackground
        _XSetClassHint
        _XSetCloseDownMode
        _XSetICValues
        _XSetInputFocus
        _XSetWMName
        _XSetWindowBackground
        _XUnmapWindow
        _XVaCreateNestedList
        _XVisualIDFromVisual
        _XkbFreeClientMap
        _XkbFreeNames
        _XkbGetMap
        _XkbGetNames
        _XkbLibraryVersion
        _XkbQueryExtension
        _XConvertSelection
        _XGetSelectionOwner
        _XRotateWindowProperties
        _XSelectInput
        _XSetSelectionOwner
        _XResourceManagerString
        _XScreenResourceString
        _XrmGetFileDatabase
        _XrmGetStringDatabase
        _XrmMergeDatabases
        _XrmQGetResource
        _XrmStringToQuark
        _XrmStringToQuarkList
        _XCreateSimpleWindow
        _XStoreName
        _XCreateImage
        _XGetImage
        _XPutImage
        _XReadBitmapFile
        _XLoadFont
        _XDrawPoints
        _XExtentsOfFontSet
        _XFillPolygon
        _XTextExtents
        _XmbDrawString
        _XmbTextExtents
        collect2: ld returned 1 exit status
        make[1]: *** [temacs] Error 1
        make[1]: Target `all' not remade because of errors.
        make: *** [src] Error 2


As long as I do not configure with '--enable-font-backend' an emacs binary gets build. src/Makefile contains this comment:

        # Don't use LIBS.  configure puts stuff in it that either shouldn't be
        # linked with Emacs or is duplicated by the cpp stuff below.
# LIBS = -lintl -lncurses -lm -L/sw/lib/freetype219/lib -L/usr/X11R6/ lib -L/sw/lib/fontconfig2/lib -lXft -lfreetype -lXrender - lfontconfig -lXext -lXmu -lXt -lSM -lICE -lX11

and this has -lX11 mentioned ...

In GNU Emacs 23.0.0.1 (powerpc-apple-darwin8.8.0, X toolkit, Xaw3d scroll bars)
of 2006-11-18 on Latsche
X server distributor `The XFree86 Project, Inc', version 11.0.40400000
configured using `configure '--without-ns' '--without-carbon' '--with- x' '--without-sound' '--without-pop' '--with-xpm' '--with-jpeg' '-- with-tiff' '--with-gif' '--with-png' '--enable-locallisppath=/Library/ Application Support/Emacs/calendar23:/Library/Application Support/ Emacs/preview:/Library/Application Support/Emacs/auctex/images:/ Library/Application Support/Emacs/auctex:/Library/Application Support/ Emacs' '--enable-font-backend' '--with-freetype' '--with-xft' 'CFLAGS=-gdwarf-2 -g3 -gfull -pipe -fPIC -O0 -mcpu=7450 -mtune=7450' 'CPPFLAGS=-no-cpp-precomp -I/usr/include/openssl -I/sw/include/ pango-1.0 -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/ freetype2 -I/sw/lib/fontconfig2/include -I/sw/include/libpng12 -I/usr/ local/include -I/sw/include -idirafter /usr/X11R6/include' 'LDFLAGS=- dead_strip -bind_at_load -L/sw/lib/freetype219/lib -L/sw/lib/ fontconfig2/lib -L/sw/lib/ncurses -L/usr/local/lib -L/sw/lib -L/usr/ X11R6/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Completion List

Minor modes in effect:
  TeX-PDF-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  display-time-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Mac OS X 10.4.8, GCC 4.0.1.

--
Greetings

  Pete

"No man was ever taken to hell by a woman unless he already had a ticket in his pocket, or at least had been fooling around with timetables."
                                       -- Archie Goodwin






reply via email to

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