I don't know if my suggestion makes sense as I haven't used FreeBSD for years, but did you use gmake and bash? cheers Benny On Fri, Apr 3, 2009 at 1:30 PM, Antony <ddjjzz at mail.ru> wrote: > Hi all. > I have FreeBSD 6.2-RELEASE. > And when I'm doing "./configure && make dep" it fails with following > errors: > "build.mak", line 14: Need an operator > "build.mak", line 16: Missing dependency operator > "build.mak", line 19: Need an operator > "build.mak", line 21: Missing dependency operator > "build.mak", line 24: Need an operator > "build.mak", line 26: Missing dependency operator > "build.mak", line 29: Need an operator > "build.mak", line 31: Missing dependency operator > "build.mak", line 34: Need an operator > "build.mak", line 78: Need an operator > "Makefile", line 6: Need an operator > "Makefile", line 8: Need an operator > make: fatal errors encountered -- cannot continue > > here's what I have in "build.mak": > $ cat -n "build.mak"|less > 1 # build.mak. Generated from build.mak.in by configure. > 2 export MACHINE_NAME := auto > 3 export OS_NAME := auto > 4 export HOST_NAME := unix > 5 export CC_NAME := gcc > 6 export TARGET_NAME := i386-unknown-freebsd6.2 > 7 export CROSS_COMPILE := > 8 export LINUX_POLL := select > 9 > 10 LIB_SUFFIX = $(TARGET_NAME).a > 11 > 12 # Determine which party libraries to use > 13 export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) > -lmilenage-$(TARGET_NAME) -lsrtp-$(TARGET_NAME) > 14 export APP_THIRD_PARTY_LIB_FILES = > $(PJ_DIR)/third_party/lib/libresample-$(LIB_SUFFIX) > $(PJ_DIR)/third_party/lib/libmilenage-$(LIB_SUFFIX) $(PJ_DIR)/ > third_party/lib/libsrtp-$(LIB_SUFFIX) > 15 > 16 ifneq (,1) > 17 APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME) > 18 APP_THIRD_PARTY_LIB_FILES += > $(PJ_DIR)/third_party/lib/libgsmcodec-$(LIB_SUFFIX) > 19 endif > 20 > 21 ifneq (,1) > 22 APP_THIRD_PARTY_LIBS += -lspeex-$(TARGET_NAME) > 23 APP_THIRD_PARTY_LIB_FILES += > $(PJ_DIR)/third_party/lib/libspeex-$(LIB_SUFFIX) > 24 endif > 25 > 26 ifneq (,1) > 27 APP_THIRD_PARTY_LIBS += -lilbccodec-$(TARGET_NAME) > 28 APP_THIRD_PARTY_LIB_FILES += > $(PJ_DIR)/third_party/lib/libilbccodec-$(LIB_SUFFIX) > 29 endif > 30 > 31 ifneq ($(findstring pa,pa_unix),) > 32 APP_THIRD_PARTY_LIBS += -lportaudio-$(TARGET_NAME) > 33 APP_THIRD_PARTY_LIB_FILES += > $(PJ_DIR)/third_party/lib/libportaudio-$(LIB_SUFFIX) > 34 endif > ................ > > Can anyone suggest how can I get it compiled? (Actually I need only pjsua) > Thanks in advance. > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090406/af8d9b3d/attachment.html>