Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build switch #8

Open
rohan-kharade opened this issue Apr 18, 2018 · 0 comments
Open

Unable to build switch #8

rohan-kharade opened this issue Apr 18, 2018 · 0 comments

Comments

@rohan-kharade
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant