Skip to content

Instantly share code, notes, and snippets.

@rickytato
Created January 6, 2012 10:24
Show Gist options
  • Save rickytato/1569999 to your computer and use it in GitHub Desktop.
Save rickytato/1569999 to your computer and use it in GitHub Desktop.
pylibpcap-0.6.3 failed
python setup.py build
running build
running build_ext
building '_pcapmodule' extension
swig -Wall -python -shadow -ISWIG -o pcap.c pcap.i
/root/sandbox/env/pcap/bin/python ./build-tools/docify.py pcap.c
/root/sandbox/env/pcap/bin/python ./build-tools/docify-shadow.py pcap.py
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DSWIG_COBJECT_TYPES -I/usr/include/python2.7 -c pcap.c -o build/temp.linux-x86_64-2.7/pcap.o
pcap.c:4143:41: error: ‘_wrap_SWIG_PyInstanceMethod_New’ undeclared here (not in a function)
pcap.c:4143:88: error: ‘_doc_SWIG_PyInstanceMethod_New’ undeclared here (not in a function)
pcap.c: In function ‘init_pcap’:
pcap.c:4762:21: warning: variable ‘md’ set but not used [-Wunused-but-set-variable]
error: command 'gcc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment