generic netlink example fails to compile: 'sock' doesn't name a type

Micah Nordland mpnordland at gmail.com
Thu Dec 29 21:16:06 EST 2011


I have copied and pasted the example from url below and tried to compile it
and it always fails with this error:
/home/micah/Documents/C++/Socket_fun/Socket_fun/src/main.cpp|5|error:
‘sock’ does not name a type|

I have the latest version installed, and I have the paths set up correctly.

http://www.infradead.org/~tgr/libnl/doc/api/group__genl.html


-- 
Praising my Savior all the day long,
Micah Nordland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20111229/841d754c/attachment.html>


More information about the libnl mailing list