Menu

install problem

Help
2003-03-15
2013-04-15
  • Richard Foxworthy

    I ran ./configure, and found that mutella needs readline, so I downloaded and installed readline 4.3. Seemed to all go OK.

    THen I ran ./configure again and all seems well

    The make and still all seems OK

    But make install fails... :-(

    Any ideas what is wrong?

    [root mutella-0.4.3]# make install
    Making install in mutella
    make[1]: Entering directory `/usr/src/mutella-0.4.3/mutella'
    Making install in docs
    make[2]: Entering directory `/usr/src/mutella-0.4.3/mutella/docs'
    Making install in en
    make[3]: Entering directory `/usr/src/mutella-0.4.3/mutella/docs/en'
    make[4]: Entering directory `/usr/src/mutella-0.4.3/mutella/docs/en'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/usr/src/mutella-0.4.3/mutella/docs/en'
    make[3]: Leaving directory `/usr/src/mutella-0.4.3/mutella/docs/en'
    make[3]: Entering directory `/usr/src/mutella-0.4.3/mutella/docs'
    make[4]: Entering directory `/usr/src/mutella-0.4.3/mutella/docs'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/usr/src/mutella-0.4.3/mutella/docs'
    make[3]: Leaving directory `/usr/src/mutella-0.4.3/mutella/docs'
    make[2]: Leaving directory `/usr/src/mutella-0.4.3/mutella/docs'
    make[2]: Entering directory `/usr/src/mutella-0.4.3/mutella'
    g++  -g  -O0   -o mutella  -L/usr/local/lib sha1.o sha1thread.o gnuwordhash.o gnulogcentre.o asyncdns.o gnuwebcache.o uiterminal.o uiremote.o asyncproxysocket.o messages.o lineinput.o rcobject.o event.o term_help.o mprintf.o readline4fix.o asyncfile.o tstring.o dir.o inifile.o property.o byteorder.o mui.o gnusearch.o mthread_unix.o asyncsocket.o controller.o preferences.o packet.o gnuupload.o gnusock.o gnushare.o gnunode.o gnuhash.o gnudownload.o gnudirector.o gnucache.o conversions.o common.o main.o  -lpthread -lreadline  -lz
    term_help.o: In function `my_setupterm':
    /usr/src/mutella-0.4.3/mutella/term_help.c:222: undefined reference to `tgetent'
    term_help.o: In function `my_tgetnum':
    /usr/src/mutella-0.4.3/mutella/term_help.c:227: undefined reference to `tgetnum'
    term_help.o: In function `my_tgetflag':
    /usr/src/mutella-0.4.3/mutella/term_help.c:232: undefined reference to `tgetflag'
    /usr/local/lib/libreadline.so: undefined reference to `tgoto'
    /usr/local/lib/libreadline.so: undefined reference to `BC'
    /usr/local/lib/libreadline.so: undefined reference to `tputs'
    /usr/local/lib/libreadline.so: undefined reference to `PC'
    /usr/local/lib/libreadline.so: undefined reference to `UP'
    /usr/local/lib/libreadline.so: undefined reference to `tgetstr'
    collect2: ld returned 1 exit status
    make[2]: *** [mutella] Error 1
    make[2]: Leaving directory `/usr/src/mutella-0.4.3/mutella'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/usr/src/mutella-0.4.3/mutella'
    make: *** [install-recursive] Error 1
    [root mutella-0.4.3]#

     
    • Richard Foxworthy

      I thought make ran OK - actually it seems to have failed.

      Sorry for so many mails but any hjelp much appreciated...

      [root mutella-0.4.3]# ./configure
      checking build system type... i586-pc-linux-gnu
      checking host system type... i586-pc-linux-gnu
      checking target system type... i586-pc-linux-gnu
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for gawk... gawk
      checking whether make sets ${MAKE}... yes
      checking for gcc... gcc
      checking for C compiler default output... a.out
      checking whether the C compiler works... yes
      checking whether we are cross compiling... no
      checking for suffix of executables...
      checking for suffix of object files... o
      checking whether we are using the GNU C compiler... yes
      checking whether gcc accepts -g... yes
      checking for style of include used by make... GNU
      checking dependency style of gcc... gcc
      checking for g++... g++
      checking whether we are using the GNU C++ compiler... yes
      checking whether g++ accepts -g... yes
      checking dependency style of g++... gcc
      checking for extra includes... (none)
      checking for extra libs... (none)
      checking how to run the C++ preprocessor... g++ -E
      checking for ANSI C header files... yes
      checking for sys/types.h... yes
      checking for sys/stat.h... yes
      checking for stdlib.h... yes
      checking for string.h... yes
      checking for memory.h... yes
      checking for strings.h... yes
      checking for inttypes.h... yes
      checking for stdint.h... yes
      checking for unistd.h... yes
      checking limits usability... no
      checking limits presence... no
      checking for limits... no
      checking whether byte ordering is bigendian... no
      checking how to run the C preprocessor... gcc -E
      checking for working alloca.h... yes
      checking for alloca... yes
      checking whether time.h and sys/time.h may both be included... yes
      checking for nanosleep... yes
      checking whether nanosleep is declared... yes
      checking sys/poll.h usability... yes
      checking sys/poll.h presence... yes
      checking for sys/poll.h... yes
      checking for poll in -lpoll... no
      checking for compress in -lz... yes
      checking pthread.h usability... yes
      checking pthread.h presence... yes
      checking for pthread.h... yes
      checking for pthread_create in -lpthread... yes
      checking errno.h usability... yes
      checking errno.h presence... yes
      checking for errno.h... yes
      checking termcap.h usability... yes
      checking termcap.h presence... yes
      checking for termcap.h... yes
      checking term.h usability... yes
      checking term.h presence... yes
      checking for term.h... yes
      checking termios.h usability... yes
      checking termios.h presence... yes
      checking for termios.h... yes
      checking ncurses.h usability... yes
      checking ncurses.h presence... yes
      checking for ncurses.h... yes
      checking curses.h usability... yes
      checking curses.h presence... yes
      checking for curses.h... yes
      checking for tcgetattr... yes
      checking readline/readline.h usability... yes
      checking readline/readline.h presence... yes
      checking for readline/readline.h... yes
      checking for readline in readline.h... yes
      checking for rl_get_screen_size... no
      configure: WARNING: You must have, at minimum, readline 4.2 in order to have command completion!
      checking "if term_help.c links with empty"... "yes"
      checking for socket in libc... yes
      checking for socklen_t... yes
      checking for va_copy... no
      checking for __va_copy... yes
      checking for pthread_condattr_init... yes
      checking for pthread_condattr_destroy... yes
      configure: creating ./config.status
      config.status: creating Makefile
      config.status: creating mutella/Makefile
      config.status: creating mutella/docs/Makefile
      config.status: creating mutella/docs/en/Makefile
      config.status: creating share/Makefile
      config.status: creating share/remote/Makefile
      config.status: creating share/remote/template/Makefile
      config.status: creating share/remote/template/modules/Makefile
      config.status: creating share/remote/template/images/Makefile
      config.status: creating man1/Makefile
      config.status: creating config.h
      config.status: config.h is unchanged
      config.status: executing depfiles commands

      >>>>
      >>>> configure seems to run OK, but make fails with error 2. What does that mean??...
      >>>>

      [root mutella-0.4.3]# make
      make  all-recursive
      make[1]: Entering directory `/usr/src/mutella-0.4.3'
      Making all in mutella
      make[2]: Entering directory `/usr/src/mutella-0.4.3/mutella'
      Making all in docs
      make[3]: Entering directory `/usr/src/mutella-0.4.3/mutella/docs'
      Making all in en
      make[4]: Entering directory `/usr/src/mutella-0.4.3/mutella/docs/en'
      make[4]: Nothing to be done for `all'.
      make[4]: Leaving directory `/usr/src/mutella-0.4.3/mutella/docs/en'
      make[4]: Entering directory `/usr/src/mutella-0.4.3/mutella/docs'
      make[4]: Nothing to be done for `all-am'.
      make[4]: Leaving directory `/usr/src/mutella-0.4.3/mutella/docs'
      make[3]: Leaving directory `/usr/src/mutella-0.4.3/mutella/docs'
      make[3]: Entering directory `/usr/src/mutella-0.4.3/mutella'
      source='sha1.c' object='sha1.o' libtool=no \ depfile='.deps/sha1.Po' tmpdepfile='.deps/sha1.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -D_REENTRANT -D_MIT_POSIX_THREADS -g  -O0 -c `test -f 'sha1.c' || echo './'`sha1.c
      source='sha1thread.cpp' object='sha1thread.o' libtool=no \ depfile='.deps/sha1thread.Po' tmpdepfile='.deps/sha1thread.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o sha1thread.o `test -f 'sha1thread.cpp' || echo './'`sha1thread.cpp
      source='gnuwordhash.cpp' object='gnuwordhash.o' libtool=no \ depfile='.deps/gnuwordhash.Po' tmpdepfile='.deps/gnuwordhash.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnuwordhash.o `test -f 'gnuwordhash.cpp' || echo './'`gnuwordhash.cpp
      source='gnulogcentre.cpp' object='gnulogcentre.o' libtool=no \ depfile='.deps/gnulogcentre.Po' tmpdepfile='.deps/gnulogcentre.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnulogcentre.o `test -f 'gnulogcentre.cpp' || echo './'`gnulogcentre.cpp
      source='asyncdns.cpp' object='asyncdns.o' libtool=no \ depfile='.deps/asyncdns.Po' tmpdepfile='.deps/asyncdns.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o asyncdns.o `test -f 'asyncdns.cpp' || echo './'`asyncdns.cpp
      source='gnuwebcache.cpp' object='gnuwebcache.o' libtool=no \ depfile='.deps/gnuwebcache.Po' tmpdepfile='.deps/gnuwebcache.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnuwebcache.o `test -f 'gnuwebcache.cpp' || echo './'`gnuwebcache.cpp
      source='uiterminal.cpp' object='uiterminal.o' libtool=no \ depfile='.deps/uiterminal.Po' tmpdepfile='.deps/uiterminal.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o uiterminal.o `test -f 'uiterminal.cpp' || echo './'`uiterminal.cpp
      source='uiremote.cpp' object='uiremote.o' libtool=no \ depfile='.deps/uiremote.Po' tmpdepfile='.deps/uiremote.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o uiremote.o `test -f 'uiremote.cpp' || echo './'`uiremote.cpp
      uiremote.cpp:611: warning: #warning generate error page here
      source='asyncproxysocket.cpp' object='asyncproxysocket.o' libtool=no \ depfile='.deps/asyncproxysocket.Po' tmpdepfile='.deps/asyncproxysocket.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o asyncproxysocket.o `test -f 'asyncproxysocket.cpp' || echo './'`asyncproxysocket.cpp
      asyncproxysocket.cpp:660: warning: #warning GetHostByName() call with no locking!
      asyncproxysocket.cpp:911: warning: #warning I Guess This Will Fail On Bin Endian
      source='messages.cpp' object='messages.o' libtool=no \ depfile='.deps/messages.Po' tmpdepfile='.deps/messages.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o messages.o `test -f 'messages.cpp' || echo './'`messages.cpp
      source='lineinput.cpp' object='lineinput.o' libtool=no \ depfile='.deps/lineinput.Po' tmpdepfile='.deps/lineinput.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o lineinput.o `test -f 'lineinput.cpp' || echo './'`lineinput.cpp
      source='rcobject.cpp' object='rcobject.o' libtool=no \ depfile='.deps/rcobject.Po' tmpdepfile='.deps/rcobject.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o rcobject.o `test -f 'rcobject.cpp' || echo './'`rcobject.cpp
      source='event.cpp' object='event.o' libtool=no \ depfile='.deps/event.Po' tmpdepfile='.deps/event.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o event.o `test -f 'event.cpp' || echo './'`event.cpp
      source='term_help.c' object='term_help.o' libtool=no \ depfile='.deps/term_help.Po' tmpdepfile='.deps/term_help.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -D_REENTRANT -D_MIT_POSIX_THREADS -g  -O0 -c `test -f 'term_help.c' || echo './'`term_help.c
      source='mprintf.cpp' object='mprintf.o' libtool=no \ depfile='.deps/mprintf.Po' tmpdepfile='.deps/mprintf.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o mprintf.o `test -f 'mprintf.cpp' || echo './'`mprintf.cpp
      source='readline4fix.c' object='readline4fix.o' libtool=no \ depfile='.deps/readline4fix.Po' tmpdepfile='.deps/readline4fix.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -D_REENTRANT -D_MIT_POSIX_THREADS -g  -O0 -c `test -f 'readline4fix.c' || echo './'`readline4fix.c
      source='asyncfile.cpp' object='asyncfile.o' libtool=no \ depfile='.deps/asyncfile.Po' tmpdepfile='.deps/asyncfile.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o asyncfile.o `test -f 'asyncfile.cpp' || echo './'`asyncfile.cpp
      asyncfile.cpp:201: warning: #warning This requires no requests to be sent before OPEN or ATTACH competes
      asyncfile.cpp:270: warning: #warning call error notifiers here!!!
      source='tstring.cpp' object='tstring.o' libtool=no \ depfile='.deps/tstring.Po' tmpdepfile='.deps/tstring.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o tstring.o `test -f 'tstring.cpp' || echo './'`tstring.cpp
      source='dir.cpp' object='dir.o' libtool=no \ depfile='.deps/dir.Po' tmpdepfile='.deps/dir.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o dir.o `test -f 'dir.cpp' || echo './'`dir.cpp
      source='inifile.cpp' object='inifile.o' libtool=no \ depfile='.deps/inifile.Po' tmpdepfile='.deps/inifile.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o inifile.o `test -f 'inifile.cpp' || echo './'`inifile.cpp
      source='property.cpp' object='property.o' libtool=no \ depfile='.deps/property.Po' tmpdepfile='.deps/property.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o property.o `test -f 'property.cpp' || echo './'`property.cpp
      source='byteorder.cpp' object='byteorder.o' libtool=no \ depfile='.deps/byteorder.Po' tmpdepfile='.deps/byteorder.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o byteorder.o `test -f 'byteorder.cpp' || echo './'`byteorder.cpp
      source='mui.cpp' object='mui.o' libtool=no \ depfile='.deps/mui.Po' tmpdepfile='.deps/mui.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o mui.o `test -f 'mui.cpp' || echo './'`mui.cpp
      source='gnusearch.cpp' object='gnusearch.o' libtool=no \ depfile='.deps/gnusearch.Po' tmpdepfile='.deps/gnusearch.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnusearch.o `test -f 'gnusearch.cpp' || echo './'`gnusearch.cpp
      source='mthread_unix.cpp' object='mthread_unix.o' libtool=no \ depfile='.deps/mthread_unix.Po' tmpdepfile='.deps/mthread_unix.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o mthread_unix.o `test -f 'mthread_unix.cpp' || echo './'`mthread_unix.cpp
      In file included from mthread_unix.cpp:169:
      mthread_p.h:1198: warning: `class MWaitConditionPrivate' only defines a private destructor and has no friends
      source='asyncsocket.cpp' object='asyncsocket.o' libtool=no \ depfile='.deps/asyncsocket.Po' tmpdepfile='.deps/asyncsocket.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o asyncsocket.o `test -f 'asyncsocket.cpp' || echo './'`asyncsocket.cpp
      source='controller.cpp' object='controller.o' libtool=no \ depfile='.deps/controller.Po' tmpdepfile='.deps/controller.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o controller.o `test -f 'controller.cpp' || echo './'`controller.cpp
      source='preferences.cpp' object='preferences.o' libtool=no \ depfile='.deps/preferences.Po' tmpdepfile='.deps/preferences.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o preferences.o `test -f 'preferences.cpp' || echo './'`preferences.cpp
      source='packet.cpp' object='packet.o' libtool=no \ depfile='.deps/packet.Po' tmpdepfile='.deps/packet.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o packet.o `test -f 'packet.cpp' || echo './'`packet.cpp
      source='gnuupload.cpp' object='gnuupload.o' libtool=no \ depfile='.deps/gnuupload.Po' tmpdepfile='.deps/gnuupload.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnuupload.o `test -f 'gnuupload.cpp' || echo './'`gnuupload.cpp
      gnuupload.cpp:64: warning: `class MUploadFile' only defines a private destructor and has no friends
      source='gnusock.cpp' object='gnusock.o' libtool=no \ depfile='.deps/gnusock.Po' tmpdepfile='.deps/gnusock.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnusock.o `test -f 'gnusock.cpp' || echo './'`gnusock.cpp
      gnusock.cpp:212: warning: #warning by this we break compatibility with 0.4 clients
      source='gnushare.cpp' object='gnushare.o' libtool=no \ depfile='.deps/gnushare.Po' tmpdepfile='.deps/gnushare.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnushare.o `test -f 'gnushare.cpp' || echo './'`gnushare.cpp
      gnushare.cpp:534: warning: #warning we shall remove the file from the hash here!
      source='gnunode.cpp' object='gnunode.o' libtool=no \ depfile='.deps/gnunode.Po' tmpdepfile='.deps/gnunode.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnunode.o `test -f 'gnunode.cpp' || echo './'`gnunode.cpp
      gnunode.cpp:610: warning: #warning we are a bit rude with this Close() here!
      gnunode.cpp:2749: warning: #warning Pong Caching !!!
      source='gnuhash.cpp' object='gnuhash.o' libtool=no \ depfile='.deps/gnuhash.Po' tmpdepfile='.deps/gnuhash.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnuhash.o `test -f 'gnuhash.cpp' || echo './'`gnuhash.cpp
      source='gnudownload.cpp' object='gnudownload.o' libtool=no \ depfile='.deps/gnudownload.Po' tmpdepfile='.deps/gnudownload.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnudownload.o `test -f 'gnudownload.cpp' || echo './'`gnudownload.cpp
      gnudownload.cpp:393: warning: #warning may be we have to call OnFileCompleted() after the move?
      gnudownload.cpp:448: warning: #warning may be we have to call OnFileCompleted() after the move?
      gnudownload.cpp:575: warning: #warning REMOVE THIS
      gnudownload.cpp:764: warning: #warning Update Error Counters here! (and remove it from the other places)
      gnudownload.cpp:1445: warning: #warning status will be lost here
      gnudownload.cpp:1595: warning: #warning POST_MESSAGE here
      gnudownload.cpp:1848: warning: #warning status will be lost here
      gnudownload.cpp:1886: warning: #warning status will be lost here
      gnudownload.cpp:1902: warning: #warning MGnuDownload::OnSegmentCompleted(MDownloader* pDownloader, bool bSuccess) is not implemented
      source='gnudirector.cpp' object='gnudirector.o' libtool=no \ depfile='.deps/gnudirector.Po' tmpdepfile='.deps/gnudirector.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnudirector.o `test -f 'gnudirector.cpp' || echo './'`gnudirector.cpp
      source='gnucache.cpp' object='gnucache.o' libtool=no \ depfile='.deps/gnucache.Po' tmpdepfile='.deps/gnucache.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o gnucache.o `test -f 'gnucache.cpp' || echo './'`gnucache.cpp
      source='conversions.cpp' object='conversions.o' libtool=no \ depfile='.deps/conversions.Po' tmpdepfile='.deps/conversions.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o conversions.o `test -f 'conversions.cpp' || echo './'`conversions.cpp
      source='common.cpp' object='common.o' libtool=no \ depfile='.deps/common.Po' tmpdepfile='.deps/common.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o common.o `test -f 'common.cpp' || echo './'`common.cpp
      source='main.cpp' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -D_REENTRANT -D_MIT_POSIX_THREADS -fno-exceptions -fno-check-new     -g  -O0 -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
      g++  -g  -O0   -o mutella  -L/usr/local/lib sha1.o sha1thread.o gnuwordhash.o gnulogcentre.o asyncdns.o gnuwebcache.o uiterminal.o uiremote.o asyncproxysocket.o messages.o lineinput.o rcobject.o event.o term_help.o mprintf.o readline4fix.o asyncfile.o tstring.o dir.o inifile.o property.o byteorder.o mui.o gnusearch.o mthread_unix.o asyncsocket.o controller.o preferences.o packet.o gnuupload.o gnusock.o gnushare.o gnunode.o gnuhash.o gnudownload.o gnudirector.o gnucache.o conversions.o common.o main.o  -lpthread -lreadline  -lz
      term_help.o: In function `my_setupterm':
      /usr/src/mutella-0.4.3/mutella/term_help.c:222: undefined reference to `tgetent'
      term_help.o: In function `my_tgetnum':
      /usr/src/mutella-0.4.3/mutella/term_help.c:227: undefined reference to `tgetnum'
      term_help.o: In function `my_tgetflag':
      /usr/src/mutella-0.4.3/mutella/term_help.c:232: undefined reference to `tgetflag'
      /usr/local/lib/libreadline.so: undefined reference to `tgoto'
      /usr/local/lib/libreadline.so: undefined reference to `BC'
      /usr/local/lib/libreadline.so: undefined reference to `tputs'
      /usr/local/lib/libreadline.so: undefined reference to `PC'
      /usr/local/lib/libreadline.so: undefined reference to `UP'
      /usr/local/lib/libreadline.so: undefined reference to `tgetstr'
      collect2: ld returned 1 exit status
      make[3]: *** [mutella] Error 1
      make[3]: Leaving directory `/usr/src/mutella-0.4.3/mutella'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/usr/src/mutella-0.4.3/mutella'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/usr/src/mutella-0.4.3'
      make: *** [all] Error 2

       
    • Max Zaitsev

      Max Zaitsev - 2003-03-31

      you seem to have two readline libraries in yor box, say one under /usr and another under /usr/local. check if it the case

       
    • Anonymous

      Anonymous - 2003-07-09

      Just like foxyloxy I ran ./configure [on my PowerMac G4 with OSX v. 10.2.6] and found mutella needing readline.

      Downloading and installing that library didn't improve things however; the ./configure script stalls with the message about realine missing.

      What's going on? How can I get mutella to work under OSX?

      OUTPUT ./configure:
      #############

      checking readline/readline.h usability... no
      checking readline/readline.h presence... no
      checking for readline/readline.h... no
      checking for readline in readline.h... no
      checking for readline in readline.h with curses... no
      checking for readline in readline.h with ncurses... no
      checking for readline in readline.h with termcap... no
      configure: error: You must have readline library!

      OUTPUT OF SEARCH FOR READLINE:
      ######################

      [:~] ads% sudo find / -name "readline" -print

      /Applications/darwinports/dports/devel/readline
      /opt/local/include/readline
      /System/Library/PrivateFrameworks/
                             readline.framework/readline
      /System/Library/PrivateFrameworks/
                  readline.framework/Versions/A/readline

      OUTPUT OF SEARCH PRIOR TO INSTALLING READLINE:
      #################################

      /Applications/darwinports/dports/devel/readline
      /System/Library/PrivateFrameworks/
                             readline.framework/readline
      /System/Library/PrivateFrameworks/
                  readline.framework/Versions/A/readline

       
    • Anonymous

      Anonymous - 2003-07-11

      [just checking]

       
    • Max Zaitsev

      Max Zaitsev - 2003-07-30

      you seem to have some remains of the other readline version, which confuses the configure script. Make sure there is only one 'readline.h' on your system and it matches the version you've just installed.

      --Max

       
    • Anonymous

      Anonymous - 2003-07-31

      Hmmm. How could it get confused? Where does the script look for "readline.h"?

      (Judging from the logfile it was able to find it...)

       
  • abe

    abe - 2012-02-21

    same problem here,
    too sad i will give up on mutella

     

Log in to post a comment.