nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: make errors in 0.89pre2
From: ªü­õ
Date: Wed, 4 Oct 2000 22:30:15 +0800 (CST)

If the option SHAREDLIBS is turned on and T1LIB support
or FREETYPE support is also turned on,
the compilation of nano-X will fail.

Need to modify Makefile.rules:

From:
ifeq ($(HAVE_T1LIB_SUPPORT), Y)
MWINLIBS += $(LIBT1LIB)
CCMWINLIBS += $(LIBT1LIB)
NANOXLIBS += $(LIBT1LIB)
NANOXSERVERLIBS += $(LIBT1LIB)
ifeq ($(LINK_APP_INTO_SERVER), Y)
NANOXCLIENTLIBS += $(LIBT1LIB)
endif
endif

To:
ifeq ($(HAVE_T1LIB_SUPPORT), Y)
MWINLIBS += $(LIBT1LIB)
CCMWINLIBS += $(LIBT1LIB)
NANOXLIBS += $(LIBT1LIB)
NANOXSERVERLIBS += $(LIBT1LIB)
ifeq ($(SHAREDLIBS), Y)
        CCNANOXSERVERLIBS += $(LIBT1LIB)
endif
ifeq ($(LINK_APP_INTO_SERVER), Y)
NANOXCLIENTLIBS += $(LIBT1LIB)
endif
endif

From:
ifeq ($(HAVE_FREETYPE_SUPPORT), Y)
MWINLIBS += $(LIBFTLIB)
CCMWINLIBS += $(LIBFTLIB)
NANOXLIBS += $(LIBFTLIB)
NANOXSERVERLIBS += $(LIBFTLIB)
ifeq ($(LINK_APP_INTO_SERVER), Y)
NANOXCLIENTLIBS += $(LIBFTLIB)
endif
endif

To:
ifeq ($(HAVE_FREETYPE_SUPPORT), Y)
MWINLIBS += $(LIBFTLIB)
CCMWINLIBS += $(LIBFTLIB)
NANOXLIBS += $(LIBFTLIB)
NANOXSERVERLIBS += $(LIBFTLIB)
ifeq ($(LINK_APP_INTO_SERVER), Y)
NANOXCLIENTLIBS += $(LIBFTLIB)
endif
endif


Murphy C. Chen                          murphychen@kimo.com.tw
HsinChu, Taiwan, ROC.                   http://murphy.somewhere.net/



nanogui@linuxhacker.org