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

HTTPServer_WebSockets example not building #133

Closed
smitjj opened this issue Jun 23, 2015 · 5 comments
Closed

HTTPServer_WebSockets example not building #133

smitjj opened this issue Jun 23, 2015 · 5 comments
Labels

Comments

@smitjj
Copy link

smitjj commented Jun 23, 2015

Cannot build Websockets example, getting following error.

LD out/build/app.out
out/build/app_app.a(application.o):(.text._Z14startWebServerv+0x38): undefined reference to HttpServer::setWebSocketBinaryHandler(Delegate<void (WebSocket&, unsigned char*, unsigned int)>)' out/build/app_app.a(application.o): In functionDelegate':
/opt/Sming/Sming/SmingCore/Delegate.h:96: undefined reference to `HttpServer::setWebSocketBinaryHandler(Delegate<void (WebSocket&, unsigned char*, unsigned int)>)'
collect2: error: ld returned 1 exit status
make: * [out/build/app.out] Error 1

Any ideas?

@robotiko
Copy link

Same here with latest code from today .
Tested yesterday without issues.

2015-06-23 22:13 GMT+02:00 smitjj notifications@github.com:

Cannot build Websockets example, getting following error.

LD out/build/app.out
out/build/app_app.a(application.o):(.text._Z14startWebServerv+0x38):
undefined reference to HttpServer::setWebSocketBinaryHandler(Delegate)'
out/build/app_app.a(application.o): In functionDelegate':
/opt/Sming/Sming/SmingCore/Delegate.h:96: undefined reference to
`HttpServer::setWebSocketBinaryHandler(Delegate)'
collect2: error: ld returned 1 exit status
make: * [out/build/app.out] Error 1

Any ideas?


Reply to this email directly or view it on GitHub
#133.

@anakod
Copy link
Member

anakod commented Jun 23, 2015

Pease rebuild SmingFramework project.

@robotiko
Copy link

@anakod,
I did but didn't solve the issue.

@anakod
Copy link
Member

anakod commented Jun 24, 2015

Try full SmingProject rebuild again please.

@robotiko
Copy link

Fixed!
Thanks a lot

@anakod anakod closed this as completed Jun 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants