[riot-devel] undefined reference to "gnrc_pktdump_getpid"

Oleg Hahm oliver.hahm at inria.fr
Mon Feb 15 11:43:33 CET 2016

Hi Bernhard!

On Sat, Feb 13, 2016 at 11:09:40PM +0100, Bernhard Nägele wrote:
> another Problem I got today was a failure message which pointing to line 58
> in the main.c of the "examples/default/"-Project. "undefined reference to
> 'gnrc_pktdump_getpid". I get this message even if I enable "netif" in the
> Makefile.dep of the board.
> USEMODULE += at86rf232
> USEMODULE +=gnrc_nomac
> USEMODULE +=netif
> When the module netif is enabled this should include net/gnrc/pktdump.h
> file with the declaration inside.
> What am I doing wrong here?

You have to add your board to BOARD_PROVIDES_NETIF in the default example's

panic("esp_handle: current_SC == penguin within interrupt!");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160215/f902f813/attachment.sig>

More information about the devel mailing list