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

Refactor the libraries #37

Open
jussihi opened this issue Mar 11, 2019 · 0 comments
Open

Refactor the libraries #37

jussihi opened this issue Mar 11, 2019 · 0 comments

Comments

@jussihi
Copy link

jussihi commented Mar 11, 2019

Hello,

just a little suggestion; could you refactor the libraries so that all the .so files could be found from the same place?

I'm currently compiling in-tree, and I need to include a whopping list of

-L../media-server/libdash/release.linux -L../sdk/libaio/release.linux \
-I../media-server/libdash/include -I../sdk/libaio/include \
-L../media-server/libflv/release.linux -I../media-server/libflv/include \
-L../media-server/libmov/release.linux -I../media-server/libmov/include \
-L../sdk/libhttp/release.linux -I../sdk/libhttp/include \
-I../sdk/include 

libraries. This is not nice. Also, when linking against these with the sample application, I get the linker error when linking against libhttp.a:

/usr/bin/ld: ../sdk/libhttp/release.linux/libhttp.a(http-server-route.o): in function `http_server_route':
/home/jussi/kurssit/IP/project/sdk/libhttp/source/http-server-route.cpp:42: undefined reference to `uri_parse'
/usr/bin/ld: /home/jussi/kurssit/IP/project/sdk/libhttp/source/http-server-route.cpp:43: undefined reference to `url_decode'
/usr/bin/ld: /home/jussi/kurssit/IP/project/sdk/libhttp/source/http-server-route.cpp:44: undefined reference to `uri_free'

because the url/uri functions are not embedded into the libhttp.a. Please fix this.

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

No branches or pull requests

1 participant