You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getting error while compiling client
/switch/client$ make
Client.cc:4:41: error: no matching function for call to ‘OFClient::OFClient(int, const char [10], int)’ OFClient client(0, "127.0.0.1", 6653);
^ In file included from Client.cc:1:0: OFClient.hh:29:5: note: candidate: OFClient::OFClient(int, std::__cxx11::string, int, uint64_t, fluid_base::OFServerSettings) OFClient(int id, std::string address, int port, uint64_t datapath_id,
^ OFClient.hh:29:5: note: candidate expects 5 arguments, 3 provided OFClient.hh:27:7: note: candidate: OFClient::OFClient(const OFClient&) class OFClient : private BaseOFClient, public OFHandler {
^ OFClient.hh:27:7: note: candidate expects 1 argument, 3 provided Makefile:4: recipe for target 'client' failed make: *** [client] Error 1
Aslo tried to compile
/switch$ make /usr/bin/ld: /tmp/ccTx4Ow8.o: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:4: recipe for target 'switch' failed make: *** [switch] Error 1
The text was updated successfully, but these errors were encountered:
getting error while compiling client
/switch/client$ make
Client.cc:4:41: error: no matching function for call to ‘OFClient::OFClient(int, const char [10], int)’ OFClient client(0, "127.0.0.1", 6653);
^
In file included from Client.cc:1:0:
OFClient.hh:29:5: note: candidate: OFClient::OFClient(int, std::__cxx11::string, int, uint64_t, fluid_base::OFServerSettings)
OFClient(int id, std::string address, int port, uint64_t datapath_id,
^
OFClient.hh:29:5: note: candidate expects 5 arguments, 3 provided
OFClient.hh:27:7: note: candidate: OFClient::OFClient(const OFClient&)
class OFClient : private BaseOFClient, public OFHandler {
^
OFClient.hh:27:7: note: candidate expects 1 argument, 3 provided
Makefile:4: recipe for target 'client' failed
make: *** [client] Error 1
Aslo tried to compile
/switch$ make
/usr/bin/ld: /tmp/ccTx4Ow8.o: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
Makefile:4: recipe for target 'switch' failed
make: *** [switch] Error 1
The text was updated successfully, but these errors were encountered: