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] rev 28759: /trunk/ /trunk/: CMakeLists.txt

From: Kovarththanan Rajaratnam <kovarththanan.rajaratnam@xxxxxxxxx>
Date: Fri, 28 Aug 2009 18:06:10 +0200
Hey,

jmayer@xxxxxxxxxxxxx wrote:
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=28759

User: jmayer
Date: 2009/06/15 10:37 PM

Log:
 Build the other tools that don't depend on libwireshark
 (editcap, capinfo, text2pcap, mergecap).

I've just tried this and I'm getting the following linking errors:

Linking C executable capinfos
/usr/bin/gcc CMakeFiles/capinfos.dir/capinfos.c.o -o capinfos -rdynamic -Lwiretap -Lwsutil lib/libwiretap.so lib/libwsutil.so -lgmodule-2.0 -lgthread-2.0 -Wl,-rpath,wiretap:wsutil:/home/krj/build/wireshark-build/lib
CMakeFiles/capinfos.dir/capinfos.c.o: In function `main':
capinfos.c:(.text+0x9b1): undefined reference to `init_progfile_dir'
capinfos.c:(.text+0xa11): undefined reference to `init_report_err'
capinfos.c:(.text+0xa16): undefined reference to `init_plugins'

Is this supposed to work?

Best regards,
Kovarththanan Rajaratnam