building 'netinfo' extension
creating build/temp.linux-x86_64-3.4
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c netinfo.c -o build/temp.linux-x86_64-3.4/netinfo.o
netinfo.c:39:16: error: conflicting types for ‘initnetinfo’
PyMODINIT_FUNC initnetinfo(void)
^
In file included from netinfo.c:14:0:
netinfo.h:2:6: note: previous declaration of ‘initnetinfo’ was here
void initnetinfo(void);
^
netinfo.c: In function ‘initnetinfo’:
netinfo.c:41:5: warning: implicit declaration of function ‘Py_InitModule’ [-Wimplicit-function-declaration]
(void) Py_InitModule("netinfo", netinfo_methods);
^
netinfo.c:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
it failed with
python3 setup.py install
: