Subject: FVWM: fvwm 2.0.40 XLoadQueryFont error

From: Mark Powell <[email-masked]>
Date: Thu, 21 Dec 1995 12:12:57 GMT

I too fell over this one (under HPUX 9), you get a linker error making fvwm2:

        /bin/ld: Unsatisfied symbols:
           XLoadQueryFont (code)

The libfvwm2.a library should be the first in the list, here is the patch to
makefile.h:

*** makefile.h.orig	Wed Oct 18 20:10:19 1995
--- makefile.h	Thu Dec 21 12:07:26 1995
***************
*** 58,70 ****
  
  #ifdef AlphaArchitecture
! LOCAL_LIBRARIES = XPM_LIBRARIES $(ADD_LIB) $(XLIB) -ldnet_stub -L$(FVWM_SRCDIR)/libs -l$(LIB)
  #else
  #ifdef HPArchitecture
! LOCAL_LIBRARIES = XPM_LIBRARIES $(ADD_LIB) $(XLIB) -lV3 -L$(FVWM_SRCDIR)/libs -l$(LIB)
  #else
  #ifdef i386SVR4Architecture
! LOCAL_LIBRARIES = XPM_LIBRARIES $(ADD_LIB) $(XLIB) -lnsl -lsocket -L$(FVWM_SRCDIR)/libs -l$(LIB)
  #else
! LOCAL_LIBRARIES = XPM_LIBRARIES $(ADD_LIB) $(XLIB) $(FVWM_SRCDIR)/libs/lib$(LIB).a
  #endif /* i386SVR4Architecture */
  #endif /* HPArchitecture */
--- 58,70 ----
  
  #ifdef AlphaArchitecture
! LOCAL_LIBRARIES = -L$(FVWM_SRCDIR)/libs -l$(LIB) XPM_LIBRARIES $(ADD_LIB) $(XLIB) -ldnet_stub
  #else
  #ifdef HPArchitecture
! LOCAL_LIBRARIES = -L$(FVWM_SRCDIR)/libs -l$(LIB) XPM_LIBRARIES $(ADD_LIB) $(XLIB) -lV3
  #else
  #ifdef i386SVR4Architecture
! LOCAL_LIBRARIES = -L$(FVWM_SRCDIR)/libs -l$(LIB) XPM_LIBRARIES $(ADD_LIB) $(XLIB) -lnsl -lsocket
  #else
! LOCAL_LIBRARIES = $(FVWM_SRCDIR)/libs/lib$(LIB).a XPM_LIBRARIES $(ADD_LIB) $(XLIB)
  #endif /* i386SVR4Architecture */
  #endif /* HPArchitecture */

-- 
Mark Powell, Senior Software Engineer <[email-masked]>
Primagraphics Limited, Graphics Court, Melbourn Science Park,
Melbourn, Royston, Herts SG8 6EJ, England. Tel. +44 1763 262041
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [email-masked].
To report problems, send mail to [email-masked].