Hi, The files are generated by asn2wrs then used to build the generated packet-xx.[ch] (hence the #includes) the deleted when the script finishes. Using the -k option (when calling asn2wrs) will keep the files. Regards Anders
-----Ursprungligt meddelande----- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Németh Márton Skickat: den 5 januari 2008 14:12 Till: Developer support list for Wireshark Ämne: [Wireshark-dev] where are the #included *.c files? Hi, I am playing with lcov ( http://ltp.sourceforge.net/coverage/lcov.readme.php ), which can create a full html coverage report for the whole Wireshark project. My problem is that there are some source files which I could not find. For example in wireshark/asn1/camel/packet-camel-template.c the following .c files are included: #include "packet-camel-hf.c" #include "packet-camel-ett.c" #include "packet-camel-val.h" #include "packet-camel-table.c" #include "packet-camel-fn.c" #include "packet-camel-table2.c" #include "packet-camel-table11.c" #include "packet-camel-table21.c" #include "packet-camel-dis-tab.c" #include "packet-camel-hfarr.c" #include "packet-camel-ettarr.c" However, none of these files can be found. I found that these files are included in epan/dissectors/packet-camel.c, which is an asn2wrs.phy generated file. In this generated file there is also a reference to the these non-exsistent files through #line 1 "...". This will result later that geninfo and genhtml will not work correctly. (There is a workaround for geninfo if I specify the "--no-checksum" parameter so geninfo is skipping opening the source file.) The original genhtml cannot open the source file mentioned in the #line 1 "..." line, then it dies. So where are those included *.c files coming from? Márton Németh _______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev _______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev
