Wireshark-dev: Re: [Wireshark-dev] rev 28759: /trunk/ /trunk/: CMakeLists.txt
From: Kovarththanan Rajaratnam <[email protected]>
Date: Fri, 28 Aug 2009 18:06:10 +0200

[email protected] wrote:

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

 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