ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Linking error tfshark

Date: Fri, 10 Jan 2014 07:33:23 -0500 (EST)
Unfortunately, yes it still needs to link with libwiretap.  I believe my initial copy/paste tried to remove it but I ended up restoring it so I could at least commit the "initial" version of fileshark.  Perhaps I didn't restore it in all build configurations.  You can send me a patch for autotools and I can commit it.
 
Michael
 
-----Original Message-----
From: Michal Labedzki <michal.labedzki@xxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Sent: Fri, Jan 10, 2014 5:09 am
Subject: Re: [Wireshark-dev] Linking error tfshark

Hello Michael,

I still have a problem building tfshark with autotools:

  CCLD   tfshark
/usr/bin/ld: tfshark-cfile.o: undefined reference to symbol
'wtap_file_get_idb_info'
/usr/bin/ld: note: 'wtap_file_get_idb_info' is defined in DSO
src/wireshark/wiretap/.libs/libwiretap.so.0 so try adding it to the
linker command line
src/wireshark/wiretap/.libs/libwiretap.so.0: could not read symbols:
Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [tfshark] Error 1

It seems that tfshark should (?) be linking with libwiretap.


-- 

Pozdrawiam / Best regards
-------------------------------------------------------------------------------------------------------------
Michał Łabędzki, Software Engineer
Tieto Corporation

Product Development Services

http://www.tieto.com / http://www.tieto.pl
---
ASCII: Michal Labedzki
location: Swobodna 1 Street, 50-088 Wrocław, Poland
room: 5.01 (desk next to 5.08)
---
Please note: The information contained in this message may be legally
privileged and confidential and protected from disclosure. If the
reader of this message is not the intended recipient, you are hereby
notified that any unauthorised use, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to
the message and deleting it from your computer. Thank You.
---
Please consider the environment before printing this e-mail.
---
Tieto Poland spółka z ograniczoną odpowiedzialnością z siedzibą w
Szczecinie, ul. Malczewskiego 26. Zarejestrowana w Sądzie Rejonowym
Szczecin-Centrum w Szczecinie, XIII Wydział Gospodarczy Krajowego
Rejestru Sądowego pod numerem 0000124858. NIP: 8542085557. REGON:
812023656. Kapitał zakładowy: 4 271500 PLN
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe