9 years, 6 months ago.

I got compile error.. could you help me?

I was trying to compile this source.

But error happened!

And I searched on the internet, then I saw this posting http://developer.mbed.org/questions/3661/I-have-compile-error-after-update-mbed-s/

I think this post is written by you.. So.. did u solve this problem??

I don't know how to fix it.

if you help me, It must be helpful to me..

:)

Question relating to:

This is library for using WizFi250 wifi, WiFi Shield, WizFi250

1 Answer

9 years, 6 months ago.

Saying what the error was rather than just "I got compile error" is normally a good idea if you want people to be able to help you.

If it is exactly the error that is mentioned in the post you linked to then the solution is also in that post:

File WizFi250.h, line 148. Change getDebug to be

    Serial *getDebug() {
        return &_debug;
    }

Accepted Answer

Sorry about my fault :).. I thought I didn't have to say what error was, Sorry for my rude. And I changed source code as he did, furthermore I thought that the solution is not a complete thing. Anyway, after changing source code, it doesn't work. the error message is below..

Error: Undefined symbol $Super$$main (referred from retarget.cpp.NUCLEO_F411RE.o).

I saw the error reference "https://developer.mbed.org/cookbook/Compiler-Error-L6218E"

I've tried other ways but it didn't work neither.. I tried to change reference, pointer .. and I'm still try to fixing it.

any idea? :)

posted by JongMin Choi 13 Oct 2014

That error is because there is no main() function anywhere in the code.

This is purely a library, you need a program that uses the library for it to compile completely.

http://developer.mbed.org/users/kaizen/code/WizFi250TcpUdpExample/ would be a good starting point.

posted by Andy A 13 Oct 2014