Problemn when including HttpNodeBase - Undefined reference

4 views
Skip to first unread message

Javi

unread,
Oct 20, 2014, 7:00:23 AM10/20/14
to omn...@googlegroups.com
Dear all, 

I am having the strangest problem. I am trying to do some experiments with the httptools implementations of inet. For that, I am also using the internetcould scenario. I have created my own HpptClient (basically copied from HttpBrowser.cc with a few modifications). 

However, when trying to compile the code, I keep on having errors that I think are related with the inclusion of files, like: 

Description Resource Path Location Type
undefined reference to `HttpController::getAnyServerInfo(char*, char*, int&)' HttpCliente.cpp /TestProject/src line 134 C/C++ Problem
Description Resource Path Location Type
undefined reference to `HttpNodeBase::HttpNodeBase()' HttPClientBase.cpp /TestProject/src line 14 C/C++ Problem

I have included all the the inet/src/applications/httptools (amongs others), which is where HttpNodeBase.cc/h are. The problem seem to be with the linker, but I have also included the inet library and its path in eclipse. I have re-done this several times, so I don't believe there is a typo in the paths.

Is there anything else I am missing? 

I am using omnet/inet under windows with mingw, in case it helps. 

I can provide any other information that might be relevant. I am kind of desperate here. 

Best, 

Javier. 
Reply all
Reply to author
Forward
0 new messages