Wireshark-dev: [Wireshark-dev] Tap Compilation Error
From: eymanm <[email protected]>
Date: Thu, 15 Jul 2010 13:48:17 -0400
I'm trying to create a tap by mimicking approach described in README.tapping. Compiler spits the following errors on the "const myprot_call_info_value *ri = arg2;" line:

myprot_stat.c(106) : error C2143: syntax error : missing ';' before '*'
myprot_stat.c(106) : error C2065: 'ri' : undeclared identifier
myprot_stat.c(106) : error C2100: illegal indirection
myprot_stat.c(106) : warning C4047: '=' : 'int' differs in levels of indirection from 'const void *'

Can somebody tell what's going wrong?