-
Notifications
You must be signed in to change notification settings - Fork 322
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
issue with adding library #489
Comments
What do you mean by everything is fine when you use the library in elements? Click fully compiles? In which case do you get the undefined symbol then? |
You can use make V=1 to verify the library is indeed linked in libclick.a |
if I use my library in for example classifier element that is in the click project, I can call my library function and it works. where should I use make V=1 in element or in click? include <click/test_library> |
Hi.
i wrote a library in click and i place .cc in click/lib and .hh file in click/include and also add .o file in MakeFile.in in userlevel, linuxevel, ns, minios,tools/lib folders and in DSTFILES.
When I use this library in elements in click, everything is fine.
I also wrote an Element from the sample Package in click/etc/samplepackage and it's working without any error.
But when I add Library that I wrote, in this element, I saw undefined symbol error which means the library not included properly. but library works in click elements. and libraries like glue works in package element.
any idea what's wrong?
thanks.
The text was updated successfully, but these errors were encountered: