Seems that the mail from Martin Küttler in another thread a few minutes ago solved my problem. Surrounding the ankhif_init() prototype in main.cc like this: extern "C" { extern err_t ankhif_init(struct netif*); } leads to a successful compilation. Thanks! Josef