Hi,
Liza Przyllas wrote:
We are running Fedora 11 and sems 1.1.1 and are getting the follow errors:
g++ -Wall -Wno-reorder -fPIC -g -O2 -I lib_dbase/ -DWITH_OPENSSL -I lib_dbase/ -DWITH_OPENSSL -D_DEBUG
-D_THREAD_SAFE -D_REENTRANT -DSEMS_VERSION='"1.1.1"' -DARCH='"i386"'
-DOS='"linux"' -I ../../core -I lib_dbase/ -DWITH_OPENSSL -I ../../core -I lib_dbase/
-DWITH_OPENSSL -c ServerConnection.cpp -o ServerConnection.o
In file included from ServerConnection.cpp:29:
ServerConnection.h:120: error: ‘uint32_t’ does not name a type
ServerConnection.cpp: In member function ‘int ServerConnection::init(const std::string&, int, const
std::string&, const std::string&, const std::string&, const std::string&, const
std::string&, AAAApplicationId, unsigned int, const std::string&, int)’:
ServerConnection.cpp:141: error: ‘vendorID’ was not declared in this scope
ServerConnection.cpp: In member function ‘void
ServerConnection::openConnection()’:
ServerConnection.cpp:193: error: ‘vendorID’ was not declared in this scope
ServerConnection.cpp:217: error: ‘vendorID’ was not declared in this scope
make[3]: *** [ServerConnection.o] Error 1
make[3]: Leaving directory `/home/a/SEMS/sems-1.1.1/apps/diameter_client'
make[2]: [all] Error 2 (ignored)
make[2]: Leaving directory `/home/a/SEMS/sems-1.1.1/apps/diameter_client'
Any suggestions?
either try it with this include:
Index: ServerConnection.h
===================================================================
--- ServerConnection.h (revision 1607)
+++ ServerConnection.h (working copy)
@@ -27,6 +27,7 @@
#ifndef _DIAMETER_SERVER_CONNECTION_H
#define _DIAMETER_SERVER_CONNECTION_H
+#include <stdint.h>
#include "diameter_client.h"
or just do
exclude_modules="mp3 examples py_sems xmlrpc2di gateway
diameter_client" make -C apps
(or exclude_modules="mp3 examples py_sems xmlrpc2di gateway
diameter_client monitoring" make -C apps if you are not using the
monitoring; see Makefile.defs)
to exclude diameter_client module from building which you probably
don't need anyway.
hth
Stefan
Liza
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
--
Stefan Sayer
VoIP Services Development
Warschauer Str. 24
10243 Berlin
tel:+491621366449
sip:[email protected]
email/xmpp:[email protected]
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems