Ethereal-dev: Re: [Ethereal-dev] Problems in Compiling Ethereal-0.10.8

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Syed Shabir Zakiullah <syed.shabir@xxxxxxxxx>
Date: Wed, 22 Dec 2004 18:32:56 +0530
> Look in config.log for the exact error message from the pcap_open_live test
> and post it to the list if you don't find a way to fix it.

configure:12615: checking for pcap.h
configure:12622: result: yes
configure:12645: checking for pcap_open_live in -lpcap
configure:12675: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g 
-O2 -I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I/usr/include/pcap  -I/usr/local/include 
-I/usr/include/pcap  -L/usr/local/lib conftest.c -lpcap    >&5
/usr/bin/ld: conftest: hidden symbol `__stack_smash_handler' 
in /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/libgcc.a(_stack_smash_handler.oS) 
is referenced by DSO
collect2: ld returned 1 exit status
configure:12681: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "ethereal"
| #define VERSION "0.10.8"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define YYTEXT_POINTER 1
| #define DATAFILE_DIR "/usr/share/ethereal"
| #define HAVE_INTTYPES_H 1
| #define INTTYPES_H_DEFINES_FORMATS
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
......
configure:12707: result: no
configure:12720: checking for pcap_open_live in -lpcap -lcfg -lodm
configure:12744: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g 
-O2 -I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I/usr/include/pcap  -I/usr/local/include 
-I/usr/include/pcap  -L/usr/local/lib conftest.c -lpcap -lcfg -lodm >&5
/usr/bin/ld: cannot find -lcfg
collect2: ld returned 1 exit status
configure:12750: $? = 1
configure: failed program was:
| /* confdefs.h.  */


Thanks & Regards,
Syed Shabir Zakiullah
Registered Linux User #374309


-- 
"And the worldly life is not but amusement and 
diversion but the home of Hereafter is best for 
those who fear Allah. Will you not then reason?"
Source: Al-Quran Surah al-An'am, Ayah:32
----