[sr-dev] [kamailio/kamailio] Change to Makefiles.def to support building on recent versions of Solaris (#963)

Henry Unger notifications at github.com
Wed Feb 1 17:47:11 CET 2017


### Description

The version of yacc on Solaris is ancient and fails to process cfg.lex.

#### Reproduction

Run gmake

### Possible Solutions

Based on kamailio-4.4.5, change Makefiles.defs to comment out "YACC=yacc" on line 1838 for the block beginning "ifeq  ($(OS), solaris)" on line 1804.

$ diff -c Makefile.defs~ Makefile.defs
*** Makefile.defs~      Wed Jan 18 07:00:21 2017
--- Makefile.defs       Wed Feb  1 07:58:49 2017
***************
*** 1835,1841 ****
                #LDFLAGS=-g $(PROFILE)
                #MOD_LDFLAGS=-g -G
        endif
!       YACC=yacc

  ifeq ($(CC_NAME), suncc)
        LIBS= -ldl -lresolv
--- 1835,1841 ----
                #LDFLAGS=-g $(PROFILE)
                #MOD_LDFLAGS=-g -G
        endif
! #     YACC=yacc

  ifeq ($(CC_NAME), suncc)
        LIBS= -ldl -lresolv

* **Operating System**:

Solaris 11.3

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/963
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170201/77e8eff7/attachment.html>


More information about the sr-dev mailing list