Wireshark mailing list archives
Building ASN.1 dissectors on Linux
From: "Pawlowsky, Marc" <mpawlowsky () rbbn com>
Date: Wed, 11 Jul 2018 16:32:23 +0000
I am trying to build the ASN.1 dissectors on Linux but cannot actually make them compile. git clone https://github.com/wireshark/wireshark.git wireshark-2.6.1<https://github.com/wireshark/wireshark.git%20wireshark-2.6.1> # Introduce errors to show files are not being compiled sed -i 's/void/ERROR/' wireshark-2.6.1/epan/dissectors/asn1/*/*.c # Following build instructions from # https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcBuildFirstTime.html#_building_on_unix mkdir wireshark-ninja cd wireshark-ninja/ cmake -G Ninja ../wireshark-2.6.1/ # Build files written ninja # Build succeeds - I expected it to break Edit wireshark-2.6.1/epan/dissectors/CMakeLists.txt Change add_subdirectory(asn1 EXCLUDE_FROM_ALL) to add_subdirectory(asn1) And repeat the build steps above, and still the asn1 .c files are not compiled cmake -G Ninja ../wireshark-2.6.1/ # Build files written ninja # Build succeeds - I expected it to break What am I missing? How do I
___________________________________________________________________________ Sent via: Wireshark-users mailing list <wireshark-users () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-users Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-users mailto:wireshark-users-request () wireshark org?subject=unsubscribe
Current thread:
- Building ASN.1 dissectors on Linux Pawlowsky, Marc (Jul 12)
- Re: Building ASN.1 dissectors on Linux Pascal Quantin (Jul 12)