Mkdir wireshark-build cd wireshark-build cmake. edit CMakeOptions.txt and disable everything BUILD_* except tshark.configure -enable-static -enable-mini-gmp configure -without-p11-kit -enable-static -with-included-libtasn1 -with-included-unistring -enable-ssl3-support configure -enable-static -without-libffi -disable-ldap -disable-ldaps -disable-rtsp -without-librtmp -with-gnutls disable-warnings-as-errors -disable-udpdump disable-ciscodump -disable-sshdump -disable-randpktdump -disable-text2pcap -disable-dumpcap -without-snappy -disable-sharkd \ LDFLAGS="-L/opt/libc/lib -Wl,-allow-multiple-definition". Sed -i 's/-Wl,-export-dynamic//g' MakefileĪdd "-lgpg-error -ldl -lpcre -lgmp" to the end of this line: "$(AM_V_CCLD)$(tshark_LINK) $(tshark_OBJECTS) $(tshark_LDADD) $(LIBS)"Ĭhange this line: "$(AM_V_CCLD)$(LINK) $(mergecap_OBJECTS) $(mergecap_LDADD) $(LIBS)" to this: "$(AM_V_CCLD)$(tshark_LINK) $(mergecap_OBJECTS) $(mergecap_LDADD) $(LIBS) -lpcre -ldl" disable-ciscodump -disable-sshdump -disable-randpktdump -disable-text2pcap -disable-dumpcap disable-wireshark -enable-static=yes -enable-shared=no -disable-androiddump -disable-rawshark -disable-dftest \ Static tshark build wget LDFLAGS="-L/opt/libc/lib -Wl,-allow-multiple-definition".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |