6 years, 1 month ago.

Offline Compiler bug when trying RPC HTTP

Hello All,

I am trying to get a .bin file for RPC_HTTP using GNU compiler and getting below errors:

main.cpp:(.text.startup.main+0x24): undefined reference to `EthernetNetIf::setup(int)' main.cpp:(.text.startup.main+0x4c): undefined reference to `FSHandler::mount(std::string const&, std::string const&)' main.cpp:(.text.startup.main+0x74): undefined reference to `FSHandler::mount(std::string const&, std::string const&)' main.cpp:(.text.startup.main+0xd0): undefined reference to `HTTPServer::bind(int)' main.cpp:(.text.startup.main+0xe6): undefined reference to `Net::poll()' .\OS\main.o: In function `_GLOBALsub_I_myled': main.cpp:(.text.startup._GLOBALsub_I_myled+0x42): undefined reference to `EthernetNetIf::EthernetNetIf()' main.cpp:(.text.startup._GLOBALsub_I_myled+0x54): undefined reference to `HTTPServer::HTTPServer()' main.cpp:(.text.startup._GLOBALsub_I_myled+0x9c): undefined reference to `EthernetNetIf::EthernetNetIf()' main.cpp:(.text.startup._GLOBALsub_I_myled+0xa0): undefined reference to `HTTPServer::HTTPServer()'

The only difference from export of project is that I am using the latest MBED Library. I haven't tried to use the ild MBED Library.

Any help is much appreciated.

Be the first to answer this question.