Всем привет.
Нужна помощь)
Исходные данные: OS - NetBSD/amd64
Пытаюсь скомпилировать вот эту штуку: https://github.com/ghaerr/microwindows Это маленький X-сервер.
make выдает кучу ошибок:
# make
make: "/usr/temp/src/Makefile" line 6: Need an operator
make: "/usr/temp/src/Makefile" line 8: Need an operator
make: "/usr/temp/src/Makefile" line 10: Cannot open /Path.rules
make: "/usr/temp/src/Makefile" line 11: Could not find
make: "/usr/temp/src/Makefile" line 28: Missing dependency operator
make: "/usr/temp/src/Makefile" line 30: Need an operator
make: "/usr/temp/src/Makefile" line 32: Missing dependency operator
make: "/usr/temp/src/Makefile" line 35: Need an operator
make: "/usr/temp/src/Makefile" line 38: Missing dependency operator
make: "/usr/temp/src/Makefile" line 40: Need an operator
make: "/usr/temp/src/Makefile" line 42: Missing dependency operator
make: "/usr/temp/src/Makefile" line 43: warning: duplicate script for target "ifeq" ignored
make: "/usr/temp/src/Makefile" line 39: warning: using previous script for "ifeq" defined here
make: "/usr/temp/src/Makefile" line 43: warning: duplicate script for target "(,)" ignored
make: "/usr/temp/src/Makefile" line 39: warning: using previous script for "(,)" defined here
make: "/usr/temp/src/Makefile" line 44: Need an operator
make: "/usr/temp/src/Makefile" line 49: Missing dependency operator
make: "/usr/temp/src/Makefile" line 50: warning: duplicate script for target "ifeq" ignored
make: "/usr/temp/src/Makefile" line 39: warning: using previous script for "ifeq" defined here
make: "/usr/temp/src/Makefile" line 50: warning: duplicate script for target "(,)" ignored
make: "/usr/temp/src/Makefile" line 39: warning: using previous script for "(,)" defined here
make: "/usr/temp/src/Makefile" line 51: warning: duplicate script for target "ifeq" ignored
make: "/usr/temp/src/Makefile" line 39: warning: using previous script for "ifeq" defined here
make: "/usr/temp/src/Makefile" line 51: warning: duplicate script for target "(,)" ignored
make: "/usr/temp/src/Makefile" line 39: warning: using previous script for "(,)" defined here
make: "/usr/temp/src/Makefile" line 52: Need an operator
make: "/usr/temp/src/Makefile" line 89: Cannot open /Makefile.rules
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/temp/src
Вот содержимое Makefile:
##############################################################################
# Microwindows top-level Makefile
# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
##############################################################################
ifndef MW_DIR_SRC
MW_DIR_SRC := $(CURDIR)
endif
MW_DIR_RELATIVE :=
include $(MW_DIR_SRC)/Path.rules
include $(CONFIG)
############################# targets section ################################
# If you want to create a library with the objects files, define the name here
LIBNAME =
LIBNAMESO =
# List of objects to compile
OBJS =
# demos should be built after the libs !
dirs := \
$(MW_DIR_SRC)/drivers \
$(MW_DIR_SRC)/engine \
$(MW_DIR_SRC)/fonts
ifeq ($(MICROWIN), Y)
dirs += $(MW_DIR_SRC)/mwin
endif
ifeq ($(NANOX), Y)
dirs += $(MW_DIR_SRC)/nanox
dirs += $(MW_DIR_SRC)/nxlib
endif
all: default
ifeq ($(ARCH), RTEMS)
$(MAKE) -C $(MW_DIR_SRC)/rtems
endif
-$(MAKE) -C $(MW_DIR_SRC)/demos
ifeq ($(ARCH), ECOS)
$(MAKE) -C $(MW_DIR_SRC)/ecos
endif
.PHONY: realclean
realclean: clean
ifeq ($(MW_DIR_OBJ),$(MW_DIR_SRC))
$(MAKE) -C $(MW_DIR_SRC)/fonts realclean
$(MAKE) -C $(MW_DIR_SRC)/mwin/bmp realclean
endif
#
# Documentation targets:
#
# doc - All HTML docs.
# pdfdoc - All HTML and PDF docs - i.e. everything.
# doc-nanox - Documentation for public API - HTML.
# pdfdoc-nanox - Documentation for public API - HTML and PDF.
# doc-internal - Documentation for everything, including internal
# functions - HTML.
#
# Note that there are no internal PDF docs - the internal APIs
# change, so printed docs are less useful.
#
# Also note that PDF requires a working LaTEX install. HTML will
# work without LaTEX.
#
# The docs end up in microwin/doc/{nano-X,internal}/{html,latex}/
#
.PHONY: doc doc-internal doc-nanox pdfdoc pdfdoc-nanox
doc: doc-internal doc-nanox
@#
pdfdoc: doc-internal pdfdoc-nanox
@#
doc-internal:
doxygen Doxyfile-internal
doc-nanox:
doxygen Doxyfile-nanox
pdfdoc-nanox: doc-nanox
cd ../doc/nano-X/latex && $(MAKE)
doc-clean:
rm -rf ../doc/nano-X ../doc/internal
######################### Makefile.rules section #############################
include $(MW_DIR_SRC)/Makefile.rules
######################## Tools targets section ###############################
например, 6 линия ( ifndef MW_DIR_SRC ) что не так ? какой оператор нужен ?