FVWM: fvwm 2.0.40 XLoadQueryFont error

From: Mark Powell <medp_at_primag.co.uk>
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 <medp_at_primag.co.uk>
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 majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Dec 21 1995 - 07:25:25 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST