-
Notifications
You must be signed in to change notification settings - Fork 140
Compile error on Ubuntu 12.04 #167
Comments
Maybe you are using protobuf version 3? You need protobuf version 2.x Unless you are fairly sure its a bug or issue, please use the mailing list for such queries - there are more people there that can help you. Closing the issue for now. Will reopen if a bug is indeed identified. |
It was confirmed on the mailing list that the compilation issue reported here was indeed caused by protobuf version 3.x. See https://groups.google.com/forum/#!topic/ostinato/NVNGltYVobw |
Hello, **QT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../rpc -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -o pcapport.o pcapport.cpp |
I use QT4 - not QT5. And all ok) Install packages sudo apt-get install qt4-default https://github.com/pstavirs/ostinato/wiki/BuildingFromSource git clone https://github.com/pstavirs/ostinato.git to run. 2.run ostinato |
@pstavirs wrote:
Debian is migrating to protobuf 3.x and the ostinato package failed to build due to this issue as reported in Debian Bug #835435. Please consider re-opening this issue and supporting protobuf 3.x. |
As @sebastic mentioned. Otherwise, package need to removed from Debian :/ |
Have opened #193 to track protobuf 3.x support |
Updates to this issue are available on #193 - please subscribe to that issue for further updates |
Hello.
If you know, please help me.
I try to compile Ostinato from source by manual
https://github.com/pstavirs/ostinato/wiki/BuildingFromSource
But while I try to make then I receive error message:
/home/user/Documents/ostinato/ostinato_1/rpc/rpcconn.cpp:380: error: 'NewCallback' is not a member of 'google::protobuf'
google::protobuf::NewCallback(this, &RpcConnection::sendRpcReply,
My steps to do this:
$ sudo apt-get install qt4-default
$ sudo apt-get install qt4-qmake
git clone https://github.com/google/protobuf
$ ./configure
$ make
$ make check
$ make install
$ sudo apt-geanothert install libpcap
$ qmake
$ make
And after compiling some files I have error message:
/home/user/Documents/ostinato/ostinato_1/rpc/rpcconn.cpp:380: error: 'NewCallback' is not a member of 'google::protobuf'
google::protobuf::NewCallback(this, &RpcConnection::sendRpcReply,
Why it's happens? Can you help me?
Thanks.
The text was updated successfully, but these errors were encountered: