From: Doug T. <thi...@gm...> - 2011-06-17 18:54:40
|
I am trying to compile OpenBTS on an OSX 10.6.7 system but I am having an issue when I run the make function. it is telling me that it cannot find the osip.h and ortp.h files. this is the error I am getting: In file included from ../Control/ControlCommon.h:44, from ../GSM/GSMConfig.h:32, from CLI.cpp:38: ../SIP/SIPEngine.h:34:24: error: osip2/osip.h: No such file or directory ../SIP/SIPEngine.h:35:23: error: ortp/ortp.h: No such file or directory In file included from ../Control/ControlCommon.h:44, from ../GSM/GSMConfig.h:32, from CLI.cpp:38: I used macports and have these files in my /opt/local/include directory. the .h files are found by the configure script and they are inserted correctly into the make file. this is from the makefile: ORTP_CFLAGS = -D_REENTRANT -DORTP_INET6 -I/opt/local/include ORTP_LIBS = -L/opt/local/lib -lortp -lpthread -lssl -lcrypto OSIP_CFLAGS = -DOSIP_MT -I/opt/local/include OSIP_LIBS = -L/opt/local/lib -losipparser2 -losip2 one discrepancy I have seen is that in the SIP directory makefile the CFLAGS are defined but never used, instead they seem to be using CPPFLAGS which are not defined this same code from the main branch is building fine on a linux box. I am just having trouble making on my osx snow leopard box. has anybody run into anything like this before? Doug |