wireshark-dev October 2010 archive
Main Archive Page > Month Archives  > wireshark-dev archives
wireshark-dev: [Wireshark-dev] Building pruned-down version of t

[Wireshark-dev] Building pruned-down version of tshark

From: Tharaneedharan Vilwanathan <vdharani_at_nospam>
Date: Mon Oct 25 2010 - 18:45:29 GMT
To: wireshark-dev@wireshark.org

Hi All,

I am new to wireshark development and this mailing list.

I am porting wireshark to an embedded platform. I managed to cross-compile
wireshark (tshark, mainly) and run it on the 32-bit PowerPC target. However,
the executables and shared libraries take about 80MB. Please see the file
sizes below:

dharani$ du -c -B 1024 `find . -type f`
12 ./tshark
948 ./.libs/lt-tshark
77540 ./epan/.libs/libwireshark.so.0.0.1
912 ./wiretap/.libs/libwiretap.so.0.0.1
12 ./test.pcap
76 ./wsutil/.libs/libwsutil.so.0.0.0
*79500 total <<<<----*

I am trying to reduce the size. I would like to explore various ways like
remove support for some protocols (USB, ATM, etc) and do static build, etc.
I did see some pointers related to this but it looks like they are outdated.

So here are my questions:

- Is there an updated patch file for the latest version with which I can
remove unwanted protocols from wireshark? If so, I can use it.
- Any suggestions on how I can build a static version? Because the shared
library takes lot of space and I believe there may be many unwanted

Request any pointers/suggestions. Thanks in advance.


Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev