[bwm-tools-tech] Compilation error.... Please Help
Brought to you by:
nkukard
From: rajveer s. <raj...@re...> - 2006-02-22 07:24:59
|
=0AHello guys=0A=0AI'm trying to install BWM-tools. I followed the follow= ing steps.=0A=0A#./configure=0AIt executes successfully and completed witho= ut any error message.=0Athis is it's output.=0A=0Alinux:/tmp/bwmbuild/bwm_t= ools-0.2.2 # ./configure=0Achecking for a BSD-compatible install... /usr/bi= n/install -c=0Achecking whether build environment is sane... yes=0Achecking= for gawk... gawk=0Achecking whether make sets $(MAKE)... yes=0Achecking fo= r gcc... gcc=0Achecking for C compiler default output file name... a.out=0A= checking whether the C compiler works... yes=0Achecking whether we are cros= s compiling... no=0Achecking for suffix of executables...=0Achecking for su= ffix of object files... o=0Achecking whether we are using the GNU C compile= r... yes=0Achecking whether gcc accepts -g... yes=0Achecking for gcc option= to accept ANSI C... none needed=0Achecking for style of include used by ma= ke... GNU=0Achecking dependency style of gcc... gcc3=0Achecking for a BSD-c= ompatible install... /usr/bin/install -c=0Achecking build system type... i6= 86-pc-linux-gnu=0Achecking host system type... i686-pc-linux-gnu=0Achecking= for a sed that does not truncate output... /usr/bin/sed=0Achecking for egr= ep... grep -E=0Achecking for ld used by gcc... /usr/i586-suse-linux/bin/ld= =0Achecking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes=0A= checking for /usr/i586-suse-linux/bin/ld option to reload object files... -= r=0Achecking for BSD-compatible nm... /usr/bin/nm -B=0Achecking whether ln = -s works... yes=0Achecking how to recognise dependent libraries... pass_all= =0Achecking how to run the C preprocessor... gcc -E=0Achecking for ANSI C h= eader files... yes=0Achecking for sys/types.h... yes=0Achecking for sys/sta= t.h... yes=0Achecking for stdlib.h... yes=0Achecking for string.h... yes=0A= checking for memory.h... yes=0Achecking for strings.h... yes=0Achecking for= inttypes.h... yes=0Achecking for stdint.h... yes=0Achecking for unistd.h..= . yes=0Achecking dlfcn.h usability... yes=0Achecking dlfcn.h presence... ye= s=0Achecking for dlfcn.h... yes=0Achecking for g++... no=0Achecking for c++= ... no=0Achecking for gpp... no=0Achecking for aCC... no=0Achecking for CC.= .. no=0Achecking for cxx... no=0Achecking for cc++... no=0Achecking for cl.= .. no=0Achecking for FCC... no=0Achecking for KCC... no=0Achecking for RCC.= .. no=0Achecking for xlC_r... no=0Achecking for xlC... no=0Achecking whethe= r we are using the GNU C++ compiler... no=0Achecking whether g++ accepts -g= ... no=0Achecking dependency style of g++... none=0Achecking how to run the= C++ preprocessor... /lib/cpp=0Achecking for g77... no=0Achecking for f77..= . no=0Achecking for xlf... no=0Achecking for frt... no=0Achecking for pgf77= ... no=0Achecking for fort77... no=0Achecking for fl32... no=0Achecking for= af77... no=0Achecking for f90... no=0Achecking for xlf90... no=0Achecking = for pgf90... no=0Achecking for epcf90... no=0Achecking for f95... no=0Achec= king for fort... no=0Achecking for xlf95... no=0Achecking for ifc... no=0Ac= hecking for efc... no=0Achecking for pgf95... no=0Achecking for lf95... no= =0Achecking for gfortran... no=0Achecking whether we are using the GNU Fort= ran 77 compiler... no=0Achecking whether accepts -g... no=0Achecking the m= aximum length of command line arguments... 32768=0Achecking command to pars= e /usr/bin/nm -B output from gcc object... ok=0Achecking for objdir... .lib= s=0Achecking for ar... ar=0Achecking for ranlib... ranlib=0Achecking for st= rip... strip=0Achecking if gcc static flag works... yes=0Achecking if gcc = supports -fno-rtti -fno-exceptions... no=0Achecking for gcc option to produ= ce PIC... -fPIC=0Achecking if gcc PIC flag -fPIC works... yes=0Achecking if= gcc supports -c -o file.o... yes=0Achecking whether the gcc linker (/usr/i= 586-suse-linux/bin/ld) supports shared libraries... yes=0Achecking whether = -lc should be explicitly linked in... no=0Achecking dynamic linker characte= ristics... GNU/Linux ld.so=0Achecking how to hardcode library paths into pr= ograms... immediate=0Achecking whether stripping libraries is possible... y= es=0Achecking if libtool supports shared libraries... yes=0Achecking whethe= r to build shared libraries... yes=0Achecking whether to build static libra= ries... yes=0Aconfigure: creating libtool=0Aappending configuration tag "CX= X" to libtool=0Achecking whether the g++ linker (/usr/i586-suse-linux/bin/l= d) supports shared libraries... yes=0Alibtool.m4: error: problem compiling = CXX test program=0Achecking for g++ option to produce PIC...=0Achecking if = g++ supports -c -o file.o... no=0Achecking whether the g++ linker (/usr/i58= 6-suse-linux/bin/ld) supports shared libraries... yes=0Achecking dynamic li= nker characteristics... GNU/Linux ld.so=0Achecking how to hardcode library = paths into programs... unsupported=0Achecking whether stripping libraries i= s possible... yes=0Aappending configuration tag "F77" to libtool=0Achecking= whether ln -s works... yes=0Achecking whether make sets $(MAKE)... (cached= ) yes=0Achecking for ranlib... (cached) ranlib=0Achecking for new_menu in -= lmenu... no=0Achecking for curses_version in -lncurses... no=0Achecking for= panel_window in -lpanel... no=0Achecking for rrd_create in -lrrd... yes=0A= checking for ANSI C header files... (cached) yes=0Achecking for sys/wait.h = that is POSIX.1 compatible... yes=0Achecking arpa/inet.h usability... yes= =0Achecking arpa/inet.h presence... yes=0Achecking for arpa/inet.h... yes= =0Achecking fcntl.h usability... yes=0Achecking fcntl.h presence... yes=0Ac= hecking for fcntl.h... yes=0Achecking netinet/in.h usability... yes=0Acheck= ing netinet/in.h presence... yes=0Achecking for netinet/in.h... yes=0Acheck= ing for stdlib.h... (cached) yes=0Achecking for string.h... (cached) yes=0A= checking sys/socket.h usability... yes=0Achecking sys/socket.h presence... = yes=0Achecking for sys/socket.h... yes=0Achecking sys/time.h usability... y= es=0Achecking sys/time.h presence... yes=0Achecking for sys/time.h... yes= =0Achecking syslog.h usability... yes=0Achecking syslog.h presence... yes= =0Achecking for syslog.h... yes=0Achecking for unistd.h... (cached) yes=0Ac= hecking for stdbool.h that conforms to C99... yes=0Achecking for _Bool... y= es=0Achecking for an ANSI C-conforming const... yes=0Achecking for inline..= . inline=0Achecking for size_t... yes=0Achecking whether time.h and sys/tim= e.h may both be included... yes=0Achecking whether struct tm is in sys/time= .h or time.h... time.h=0Achecking for working alloca.h... yes=0Achecking fo= r alloca... yes=0Achecking for stdlib.h... (cached) yes=0Achecking for GNU = libc compatible malloc... yes=0Achecking for stdlib.h... (cached) yes=0Ache= cking for sys/time.h... (cached) yes=0Achecking for unistd.h... (cached) ye= s=0Achecking for alarm... yes=0Achecking for working mktime... yes=0Achecki= ng for stdlib.h... (cached) yes=0Achecking for GNU libc compatible realloc.= .. yes=0Achecking sys/select.h usability... yes=0Achecking sys/select.h pre= sence... yes=0Achecking for sys/select.h... yes=0Achecking for sys/socket.h= ... (cached) yes=0Achecking types of arguments for select... int,fd_set *,s= truct timeval *=0Achecking return type of signal handlers... void=0Acheckin= g whether lstat dereferences a symlink specified with a trailing slash... y= es=0Achecking whether stat accepts an empty string... no=0Achecking for str= ftime... yes=0Achecking for vprintf... yes=0Achecking for _doprnt... no=0Ac= hecking for gettimeofday... yes=0Achecking for inet_ntoa... yes=0Achecking = for memset... yes=0Achecking for select... yes=0Achecking for socket... yes= =0Achecking for strcasecmp... yes=0Achecking for strchr... yes=0Achecking f= or strdup... yes=0Achecking for strerror... yes=0Achecking for strncasecmp.= .. yes=0Achecking for strndup... yes=0Achecking for pkg-config... /usr/bin/= pkg-config=0Achecking for GLIB - version >=3D 2.2.0... yes (version 2.8.1)= =0Achecking for xml2-config... /usr/bin/xml2-config=0Achecking for libxml -= version >=3D 2.5.0... yes (version 2.6.20)=0Aconfigure: creating ./config.= status=0Aconfig.status: creating Makefile=0Aconfig.status: creating lib/Mak= efile=0Aconfig.status: creating bwm_firewall/Makefile=0Aconfig.status: crea= ting bwm_graph/Makefile=0Aconfig.status: creating bwmd/Makefile=0Aconfig.st= atus: creating bwm_monitor/Makefile=0Aconfig.status: creating doc/Makefile= =0Aconfig.status: creating config.h=0Aconfig.status: config.h is unchanged= =0Aconfig.status: executing depfiles commands=0Alinux:/tmp/bwmbuild/bwm_too= ls-0.2.2 #=0A=0A=0A=0Aafter it i execute command make it gives error as bel= ow:-=0A=0A=0Alinux:/tmp/bwmbuild/bwm_tools-0.2.2 # make=0Amake all-recursi= ve=0Amake[1]: Entering directory `/tmp/bwmbuild/bwm_tools-0.2.2'=0AMaking a= ll in lib=0Amake[2]: Entering directory `/tmp/bwmbuild/bwm_tools-0.2.2/lib'= =0Amake[3]: Entering directory `/tmp/bwmbuild/bwm_tools-0.2.2'=0Amake[3]: L= eaving directory `/tmp/bwmbuild/bwm_tools-0.2.2'=0Amake[2]: Nothing to be d= one for `all'.=0Amake[2]: Leaving directory `/tmp/bwmbuild/bwm_tools-0.2.2/= lib'=0AMaking all in bwm_firewall=0Amake[2]: Entering directory `/tmp/bwmbu= ild/bwm_tools-0.2.2/bwm_firewall'=0Amake[3]: Entering directory `/tmp/bwmbu= ild/bwm_tools-0.2.2'=0Amake[3]: Leaving directory `/tmp/bwmbuild/bwm_tools-= 0.2.2'=0A/bin/sh ../libtool --tag=3DCC --mode=3Dlink gcc -g -O2 -o bwm_f= irewall -pthread -L/opt/gnome/lib -lgthread-2.0 -lglib-2.0 -L/usr/lib -lx= ml2 -lz -lm -lpanel -lncurses -lmenu bwm_firewall-bwm_firewall.o ../lib/lib= bwm.la=0Agcc -g -O2 -o .libs/bwm_firewall bwm_firewall-bwm_firewall.o -pth= read -L/opt/gnome/lib -L/usr/lib -lpanel -lncurses -lmenu ../lib/.libs/libb= wm.so /opt/gnome/lib/libgthread-2.0.so -lpthread /opt/gnome/lib/libglib-2.0= .so /usr/lib/libxml2.so -ldl -lz -lm=0A/usr/lib/gcc/i586-suse-linux/4.0.2/.= ./../../../i586-suse-linux/bin/ld: cannot find -lpanel=0Acollect2: ld retur= ned 1 exit status=0Amake[2]: *** [bwm_firewall] Error 1=0Amake[2]: Leaving = directory `/tmp/bwmbuild/bwm_tools-0.2.2/bwm_firewall'=0Amake[1]: *** [all-= recursive] Error 1=0Amake[1]: Leaving directory `/tmp/bwmbuild/bwm_tools-0.= 2.2'=0Amake: *** [all] Error 2=0Alinux:/tmp/bwmbuild/bwm_tools-0.2.2 #=0A= =0A=0A=0ASo please help me what should i do.=0A=0A=0AWith thanks & regards= =0A=0ARajveer Singh |