ashish wrote: > Hi All, > > I am trying to install "pylibpcap-0.6.1" but i am getting these errors . > > > python ./setup.py install > > . > . > . > . > . > > constants.c:172: (near initialization for `pcapmodule_DLT[52]') > pcap.c: In function `init_pcap': > pcap.c:4246: structure has no member named `value' > pcap.c:4260: warning: passing arg 3 of `PyModule_AddStringConstant' > discards qualifiers from pointer target type > error: command 'gcc' failed with exit status 1 > > Please tell me how to solve this problem.Do i have to install anything > else before installing this library.
Seems like a version-conflict. See which structure pcap.c:4246 refers to, and from what include it stems. If it's a 3rd-party-lib, install the proper version. Diez -- http://mail.python.org/mailman/listinfo/python-list