Greetings - I'm trying to add support for phone models in sipxecs 4.6. I did the work in sipxecs 4.4 and everything works as expected. When trying to build 4.6 after making my changes I ran into errors, so as a sanity check I tried to compile stock sipxecs 4.6 straight from git; it still presents the same error:
make -C sipXsqa make[2]: Entering directory `/home/sbates/sipxecs/sipXsqa' Making all in . make[3]: Entering directory `/home/sbates/sipxecs/sipXsqa' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/sbates/sipxecs/sipXsqa' Making all in include make[3]: Entering directory `/home/sbates/sipxecs/sipXsqa/include' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/sbates/sipxecs/sipXsqa/include' Making all in src make[3]: Entering directory `/home/sbates/sipxecs/sipXsqa/src' make all-recursive make[4]: Entering directory `/home/sbates/sipxecs/sipXsqa/src' Making all in . make[5]: Entering directory `/home/sbates/sipxecs/sipXsqa/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I../include -DSIPX_LOGDIR=\"/usr/local/sipx/var/log/sipxpbx\" -DSIPX_RUNDIR=\"/usr/local/sipx/var/run/sipxpbx\" -DSIPX_TMPDIR=\"/usr/local/sipx/var/sipxdata/tmp\" -DSIPX_CONFDIR=\"/usr/local/sipx/etc/sipxpbx\" -I/usr/local/sipx/include -I/usr/local/sipx/include -I/usr/include -I/usr/local/sipx/include -g -O2 -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -Wno-strict-aliasing -fno-strict-aliasing -Wno-unused-result -fno-strict-aliasing -I/usr/include -MT libsipXsqa_la-StateQueueAgent.lo -MD -MP -MF .deps/libsipXsqa_la-StateQueueAgent.Tpo -c -o libsipXsqa_la-StateQueueAgent.lo `test -f 'StateQueueAgent.cpp' || echo './'`StateQueueAgent.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I../include -DSIPX_LOGDIR=\"/usr/local/sipx/var/log/sipxpbx\" -DSIPX_RUNDIR=\"/usr/local/sipx/var/run/sipxpbx\" -DSIPX_TMPDIR=\"/usr/local/sipx/var/sipxdata/tmp\" -DSIPX_CONFDIR=\"/usr/local/sipx/etc/sipxpbx\" -I/usr/local/sipx/include -I/usr/local/sipx/include -I/usr/include -I/usr/local/sipx/include -g -O2 -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -Wno-strict-aliasing -fno-strict-aliasing -Wno-unused-result -fno-strict-aliasing -I/usr/include -MT libsipXsqa_la-StateQueueAgent.lo -MD -MP -MF .deps/libsipXsqa_la-StateQueueAgent.Tpo -c StateQueueAgent.cpp -fPIC -DPIC -o .libs/libsipXsqa_la-StateQueueAgent.o In file included from ../include/sqa/StateQueuePersistence.h:23, from ../include/sqa/StateQueueAgent.h:27, from StateQueueAgent.cpp:16: ../include/sqa/RedisClient.h:21:31: error: hiredis/hiredis.h: No such file or directory In file included from ../include/sqa/StateQueueAgent.h:34, from StateQueueAgent.cpp:16: ../include/sqa/RedisClientAsync.h:22:29: error: hiredis/async.h: No such file or directory ../include/sqa/RedisClientAsync.h:24:24: error: libev/ev.h: No such file or directory In file included from ../include/sqa/StateQueuePersistence.h:23, from ../include/sqa/StateQueueAgent.h:27, from StateQueueAgent.cpp:16: ../include/sqa/RedisClient.h:96: error: ISO C++ forbids declaration of âredisReplyâ with no type ../include/sqa/RedisClient.h:96: error: expected â;â before â*â token In file included from /usr/include/mongo/client/../util/../db/lasterror.h:20, from /usr/include/mongo/client/../util/assert_util.h:21, from /usr/include/mongo/client/../pch.h:162, from /usr/include/mongo/client/dbclient.h:23, from /usr/local/sipx/include/sipdb/MongoDB.h:43, from /usr/local/sipx/include/sipdb/MongoOpLog.h:19, from ../include/sqa/StateQueueAgent.h:33, from StateQueueAgent.cpp:16: /usr/include/mongo/client/../util/../db/../bson/oid.h:24: error: expected â;â before end of line /usr/include/mongo/client/../util/../db/../bson/oid.h:24: error: expected â}â before end of line In file included from ../include/sqa/StateQueuePersistence.h:23, from ../include/sqa/StateQueueAgent.h:27, from StateQueueAgent.cpp:16: ../include/sqa/RedisClient.h: In constructor âRedisClient::RedisClient()â: ../include/sqa/RedisClient.h:62: error: class âRedisClientâ does not have any field named â_contextâ ../include/sqa/RedisClient.h:63: error: class âRedisClientâ does not have any field named â_typeâ ../include/sqa/RedisClient.h:64: error: class âRedisClientâ does not have any field named â_tcpHostâ ../include/sqa/RedisClient.h:65: error: class âRedisClientâ does not have any field named â_tcpPortâ ../include/sqa/RedisClient.h:66: error: class âRedisClientâ does not have any field named â_dbâ ../include/sqa/RedisClient.h: In constructor âRedisClient::RedisClient(const std::string&, int)â: ../include/sqa/RedisClient.h:72: error: class âRedisClientâ does not have any field named â_contextâ ../include/sqa/RedisClient.h:73: error: class âRedisClientâ does not have any field named â_typeâ ../include/sqa/RedisClient.h:74: error: class âRedisClientâ does not have any field named â_tcpHostâ ../include/sqa/RedisClient.h:75: error: class âRedisClientâ does not have any field named â_tcpPortâ ../include/sqa/RedisClient.h:76: error: class âRedisClientâ does not have any field named â_dbâ ../include/sqa/RedisClient.h: In constructor âRedisClient::RedisClient(const std::string&)â: ../include/sqa/RedisClient.h:81: error: class âRedisClientâ does not have any field named â_contextâ ../include/sqa/RedisClient.h:82: error: class âRedisClientâ does not have any field named â_typeâ ../include/sqa/RedisClient.h:83: error: class âRedisClientâ does not have any field named â_tcpPortâ ../include/sqa/RedisClient.h:84: error: class âRedisClientâ does not have any field named â_unixSocketPathâ ../include/sqa/RedisClient.h:85: error: class âRedisClientâ does not have any field named â_dbâ ../include/sqa/RedisClient.h: In destructor âRedisClient::~RedisClient()â: ../include/sqa/RedisClient.h:91: error: âdisconnectâ was not declared in this scope In file included from /usr/include/mongo/client/../util/../db/lasterror.h:20, from /usr/include/mongo/client/../util/assert_util.h:21, from /usr/include/mongo/client/../pch.h:162, from /usr/include/mongo/client/dbclient.h:23, from /usr/local/sipx/include/sipdb/MongoDB.h:43, from /usr/local/sipx/include/sipdb/MongoOpLog.h:19, from ../include/sqa/StateQueueAgent.h:33, from StateQueueAgent.cpp:16: /usr/include/mongo/client/../util/../db/../bson/oid.h: At global scope: /usr/include/mongo/client/../util/../db/../bson/oid.h:24: error: expected unqualified-id before end of line /usr/include/mongo/client/../util/../db/../bson/oid.h:24: error: expected declaration before end of line cc1plus: warning: unrecognized command line option "-Wno-unused-result" make[5]: *** [libsipXsqa_la-StateQueueAgent.lo] Error 1 make[5]: Leaving directory `/home/sbates/sipxecs/sipXsqa/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/sbates/sipxecs/sipXsqa/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/sbates/sipxecs/sipXsqa/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/sbates/sipxecs/sipXsqa' make[1]: *** [sipXsqa.all] Error 2 make[1]: Leaving directory `/home/sbates/sipxecs' make: *** [sipx] Error 2 I haven't altered any files and this still happens - is this a known issue? Is more info required? Thanks, Shaun
_______________________________________________ sipx-dev mailing list sipx-dev@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-dev/