Wireshark-dev: Re: [Wireshark-dev] error with packet.h
From: "Jaap Keuter" <jaap.keuter@xxxxxxxxx>
Date: Fri, 7 Dec 2007 12:35:46 +0100 (CET)
Hi, You will have to tell us what version of the sourcecode you are using before we can find what this output references. Thanx, Jaap > > Hello , > > I tried including a file packet-test.c in the wireshark/plugin/test > directory to understand the inclusion of dissection for a test protocol. > But the compilation fails with the following error : > > Error : > In file included from > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/proto.h:52, > from > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/packet.h:37, > from packet-test.c:14: > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/ftypes/ftypes.h:248: > error: syntax error before "union" > In file included from > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/packet.h:37, > from packet-test.c:14: > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/proto.h:55: > error: syntax error before "int" > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/proto.h:1511: > error: syntax error before "gboolean" > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/proto.h:1515: > error: syntax error before "int" > In file included from > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/epan.h:33, > from > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/proto.h:1531, > from > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/packet.h:37, > from packet-test.c:14: > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/dfilter/dfilter.h:72: > error: syntax error before "gchar" > .......................................... > .......................................... > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/tfs.h:56: > error: syntax error before "const" > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/tfs.h:57: > error: syntax error before "const" > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/tfs.h:63: > error: syntax error before "const" > In file included from packet-test.c:15: > /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epan/prefs.h:156: > error: syntax error before "e_prefs" > make[3]: *** [packet-test.o] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > > Since these errors are pointing towards standard files( packet.h , prefs.h > , etc ) , could anyone please suggest what may be going wrong. > > Thanks in advance. > > Regards , > atdev > > > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you > are not the intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and destroy all > copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com_______________________________________________ > Wireshark-dev mailing list > Wireshark-dev@xxxxxxxxxxxxx > http://www.wireshark.org/mailman/listinfo/wireshark-dev >
- Follow-Ups:
- Re: [Wireshark-dev] error with packet.h
- From: atdev.queries
- Re: [Wireshark-dev] error with packet.h
- Prev by Date: [Wireshark-dev] error with packet.h
- Next by Date: Re: [Wireshark-dev] Get Captured Data
- Previous by thread: [Wireshark-dev] error with packet.h
- Next by thread: Re: [Wireshark-dev] error with packet.h
- Index(es):