[sr-dev] [kamailio/kamailio] Makefile.defs: default locks review (#1035)

SubnetsRU notifications at github.com
Wed Mar 15 12:46:05 CET 2017


There is not enough add arch to Makefile.defs, because build aborts with error:
```
gmake[2]: Entering directory '/usr/ports/net/kamailio/work/kamailio-4.4.5'
CC (gcc) [kamailio]             nonsip_hooks.o
In file included from parser/../mem/../lock_ops.h:92:0,
                 from parser/../mem/shm.h:39,
                 from parser/../mem/shm_mem.h:34,
                 from parser/../ut.h:45,
                 from parser/../ip_addr.h:40,
                 from parser/msg_parser.h:37,
                 from nonsip_hooks.h:35,
                 from nonsip_hooks.c:31:
parser/../mem/../fastlock.h:112:2: error: #error "unknown architecture"
 #error "unknown architecture"
  ^
parser/../mem/../fastlock.h: In function 'tsl':
parser/../mem/../fastlock.h:260:2: error: #error "unknown architecture"
 #error "unknown architecture"
  ^
parser/../mem/../fastlock.h: In function 'get_lock':
parser/../mem/../fastlock.h:282:2: warning: implicit declaration of function 'membar_getlock' [-Wimplicit-function-declaration]
  membar_getlock();
  ^
parser/../mem/../fastlock.h: In function 'release_lock':
parser/../mem/../fastlock.h:379:2: error: #error "unknown architecture"
 #error "unknown architecture"
  ^
gmake[2]: *** [Makefile.rules:97: nonsip_hooks.o] Error 1
gmake[2]: Leaving directory '/usr/ports/net/kamailio/work/kamailio-4.4.5'
```


-- 
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/1035#issuecomment-286718462
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170315/d6db54f2/attachment-0001.html>


More information about the sr-dev mailing list