Loading ...
Sorry, an error occurred while loading the content.
 

Can't get mt-daapd installed

Expand Messages
  • ganachain_99
    Help!! Here s what I ve done so far... 1) clean install 1.45_13 firmware on linkstation 2) move /usr directory to /mnt/usr 3) install *all* of the Kuro
    Message 1 of 6 , Feb 20, 2005
      Help!!

      Here's what I've done so far...

      1) clean install 1.45_13 firmware on linkstation
      2) move /usr directory to /mnt/usr
      3) install *all* of the Kuro binaries (except for perl 5.6.1)
      4) install zlib-1.2.1
      5) install libid3tag-0.15.1b (only using --with-id3tag=/usr/local)
      6) try to install mt-daapd-2.2.1

      Here's what I get for my ./configure...

      loading cache ./config.cache
      checking for a BSD compatible install... (cached) /usr/bin/install -c
      checking whether build environment is sane... yes
      checking whether make sets ${MAKE}... (cached) yes
      checking for working aclocal... found
      checking for working autoconf... found
      checking for working automake... missing
      checking for working autoheader... found
      checking for working makeinfo... found
      checking for gcc... (cached) gcc
      checking whether the C compiler (gcc ) works... yes
      checking whether the C compiler (gcc ) is a cross-compiler... no
      checking whether we are using GNU C... (cached) yes
      checking whether gcc accepts -g... (cached) yes
      checking for bison... (cached) bison -y
      checking how to run the C preprocessor... (cached) gcc -E
      checking for flex... (cached) flex
      checking for flex... (cached) flex
      checking for yywrap in -lfl... (cached) yes
      checking lex output file root... (cached) lex.yy
      checking whether yytext is a pointer... (cached) yes
      checking host system type... powerpc-unknown-linux-gnu
      checking for pthread_creat in -lc_r... (cached) no
      checking for pthread_create in -lpthread... (cached) yes
      Host type is powerpc-unknown-linux-gnu
      checking for gdbm.h... (cached) yes
      checking for gdbm_open in -lgdbm... (cached) yes
      Have gdbm
      Adding dynamic libgdbm
      checking for id3tag.h... (cached) yes
      checking for id3_file_open in -lid3tag... (cached) yes
      Have id3tag
      Adding dynamic libid3tag
      USE_OGGVORBIS is
      checking for strcasestr... (cached) yes
      checking for strsep... (cached) yes
      checking for atoll... (cached) yes
      checking for ANSI C header files... (cached) no
      checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
      checking for fcntl.h... (cached) yes
      checking for sys/ioctl.h... (cached) yes
      checking for sys/time.h... (cached) yes
      checking for syslog.h... (cached) yes
      checking for unistd.h... (cached) yes
      checking for sys/filio.h... (cached) no
      checking for termio.h... (cached) yes
      checking whether time.h and sys/time.h may both be included...
      (cached) yes
      checking whether gcc needs -traditional... (cached) no
      checking whether setpgrp takes no argument... (cached) yes
      checking return type of signal handlers... (cached) void
      checking for select... (cached) yes
      checking for socket... (cached) yes
      checking for strdup... (cached) yes
      checking for strerror... (cached) yes
      checking for socket in -lsocket... (cached) no
      creating ./config.status
      creating src/Makefile
      creating admin-root/Makefile
      creating contrib/Makefile
      creating debian/Makefile
      creating Makefile
      creating config.h
      config.h is unchanged


      Here's what I get for my make install...

      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c main.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c uici.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c webserver.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c configfile.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c err.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c restart.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap-proto.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c db-gdbm.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mp3-scanner.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c playlist.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c lexer.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c parser.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strcasestr.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strsep.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c redblack.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c dynamic-art.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c query.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNS.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSPosix.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSUNP.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-posix.c
      gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
      -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
      _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-unix.c
      gcc -g -O2 -lpthread -L/usr/local/lib -lgdbm -lid3tag -lz -o mt-daapd
      main.o u
      ici.o webserver.o configfile.o err.o restart.o daap-proto.o daap.o
      db-gdbm.o mp3
      -scanner.o playlist.o lexer.o parser.o strcasestr.o strsep.o
      redblack.o dynamic-
      art.o query.o mDNS.o mDNSPosix.o mDNSUNP.o rend-posix.o rend-unix.o
      main.o: In function `start_signal_handler':
      /opt/mt-daapd-0.2.1.1/src/main.c:679: undefined reference to
      `pthread_create'
      /opt/mt-daapd-0.2.1.1/src/main.c:679: relocation truncated to fit:
      R_PPC_REL24 p
      thread_create
      main.o: In function `main':
      /opt/mt-daapd-0.2.1.1/src/main.c:944: undefined reference to
      `pthread_kill'
      /opt/mt-daapd-0.2.1.1/src/main.c:944: relocation truncated to fit:
      R_PPC_REL24 p
      thread_kill
      /opt/mt-daapd-0.2.1.1/src/main.c:945: undefined reference to
      `pthread_join'
      /opt/mt-daapd-0.2.1.1/src/main.c:945: relocation truncated to fit:
      R_PPC_REL24 p
      thread_join
      webserver.o: In function `ws_start':
      /opt/mt-daapd-0.2.1.1/src/webserver.c:227: undefined reference to
      `pthread_creat
      e'
      /opt/mt-daapd-0.2.1.1/src/webserver.c:227: relocation truncated to
      fit: R_PPC_RE
      L24 pthread_create
      webserver.o: In function `ws_stop':
      /opt/mt-daapd-0.2.1.1/src/webserver.c:342: undefined reference to
      `pthread_join'
      /opt/mt-daapd-0.2.1.1/src/webserver.c:342: relocation truncated to
      fit: R_PPC_RE
      L24 pthread_join
      webserver.o: In function `ws_mainthread':
      /opt/mt-daapd-0.2.1.1/src/webserver.c:434: undefined reference to
      `pthread_creat
      e'
      /opt/mt-daapd-0.2.1.1/src/webserver.c:434: relocation truncated to
      fit: R_PPC_RE
      L24 pthread_create
      /opt/mt-daapd-0.2.1.1/src/webserver.c:440: undefined reference to
      `pthread_detac
      h'
      /opt/mt-daapd-0.2.1.1/src/webserver.c:440: relocation truncated to
      fit: R_PPC_RE
      L24 pthread_detach
      db-gdbm.o: In function `db_readlock':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:202: undefined reference to
      `pthread_rwlock_
      rdlock'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:202: relocation truncated to fit:
      R_PPC_REL2
      4 pthread_rwlock_rdlock
      db-gdbm.o: In function `db_writelock':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:215: undefined reference to
      `pthread_rwlock_
      wrlock'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:215: relocation truncated to fit:
      R_PPC_REL2
      4 pthread_rwlock_wrlock
      db-gdbm.o: In function `db_unlock':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:226: undefined reference to
      `pthread_rwlock_
      unlock'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:226: relocation truncated to fit:
      R_PPC_REL2
      4 pthread_rwlock_unlock
      db-gdbm.o: In function `db_init_once':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:272: undefined reference to
      `pthread_rwlock_
      init'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:272: relocation truncated to fit:
      R_PPC_REL2
      4 pthread_rwlock_init
      db-gdbm.o: In function `db_open':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:285: undefined reference to
      `pthread_once'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:285: relocation truncated to fit:
      R_PPC_REL2
      4 pthread_once
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:293: undefined reference to
      `gdbm_open'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:293: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_open
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:298: undefined reference to
      `gdbm_firstkey'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:298: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_firstkey
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:300: undefined reference to
      `gdbm_fetch'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:300: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_fetch
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:305: undefined reference to
      `gdbm_close'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:305: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_close
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:306: undefined reference to
      `gdbm_open'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:306: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_open
      db-gdbm.o: In function `db_init':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:347: undefined reference to
      `gdbm_firstkey'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:347: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_firstkey
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:355: undefined reference to
      `gdbm_fetch'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:355: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_fetch
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:369: undefined reference to
      `gdbm_nextkey'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:369: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_nextkey
      db-gdbm.o: In function `db_deinit':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:394: undefined reference to
      `gdbm_close'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:394: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_close
      db-gdbm.o: In function `db_start_initial_update':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:459: undefined reference to
      `gdbm_firstkey'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:459: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_firstkey
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:473: undefined reference to
      `gdbm_nextkey'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:473: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_nextkey
      db-gdbm.o: In function `db_end_initial_update':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:529: undefined reference to
      `gdbm_reorganize
      '
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:529: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_reorganize
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:530: undefined reference to
      `gdbm_sync'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:530: relocation truncated to fit:
      R_PPC_REL2
      4 gdbm_sync
      db-gdbm.o: In function `db_add':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1035: undefined reference to
      `gdbm_exists'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1035: relocation truncated to fit:
      R_PPC_REL
      24 gdbm_exists
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1053: undefined reference to
      `gdbm_store'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1053: relocation truncated to fit:
      R_PPC_REL
      24 gdbm_store
      db-gdbm.o: In function `db_enum_begin':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1252: undefined reference to
      `gdbm_firstkey'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1252: relocation truncated to fit:
      R_PPC_REL
      24 gdbm_firstkey
      db-gdbm.o: In function `db_enum':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1269: undefined reference to
      `gdbm_fetch'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1269: relocation truncated to fit:
      R_PPC_REL
      24 gdbm_fetch
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1282: undefined reference to
      `gdbm_nextkey'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1282: relocation truncated to fit:
      R_PPC_REL
      24 gdbm_nextkey
      db-gdbm.o: In function `db_find':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1434: undefined reference to
      `gdbm_fetch'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1434: relocation truncated to fit:
      R_PPC_REL
      24 gdbm_fetch
      db-gdbm.o: In function `db_exists':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1585: undefined reference to
      `gdbm_fetch'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1585: relocation truncated to fit:
      R_PPC_REL
      24 gdbm_fetch
      db-gdbm.o: In function `db_delete':
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1657: undefined reference to
      `gdbm_delete'
      /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1657: relocation truncated to fit:
      R_PPC_REL
      24 gdbm_delete
      collect2: ld returned 1 exit status
      make[2]: *** [mt-daapd] Error 1
      make[2]: Leaving directory `/mnt/opt/mt-daapd-0.2.1.1/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/mnt/opt/mt-daapd-0.2.1.1'
      make: *** [all-recursive-am] Error 2

      Any idea what I should do here?
      I actually installed a gdbm package which is giving the gdbm errors at
      the end - but before I installed gdbm - and I had gdb from the Kuro
      binaries installed - I got the same pthread errors at the top.
    • ganachain_99
      ... I reloaded again - installing the Kuro binaries and I didn t install the extra gdbm stuff. Now my make install compile error looks like this.... make
      Message 2 of 6 , Feb 20, 2005
        --- In LinkStation_General@yahoogroups.com, "ganachain_99"
        <andrew_soukup@h...> wrote:
        >
        > Help!!
        >
        > Here's what I've done so far...
        >
        > 1) clean install 1.45_13 firmware on linkstation
        > 2) move /usr directory to /mnt/usr
        > 3) install *all* of the Kuro binaries (except for perl 5.6.1)
        > 4) install zlib-1.2.1
        > 5) install libid3tag-0.15.1b (only using --with-id3tag=/usr/local)
        > 6) try to install mt-daapd-2.2.1
        >
        > Here's what I get for my ./configure...
        >
        > loading cache ./config.cache
        > checking for a BSD compatible install... (cached) /usr/bin/install -c
        > checking whether build environment is sane... yes
        > checking whether make sets ${MAKE}... (cached) yes
        > checking for working aclocal... found
        > checking for working autoconf... found
        > checking for working automake... missing
        > checking for working autoheader... found
        > checking for working makeinfo... found
        > checking for gcc... (cached) gcc
        > checking whether the C compiler (gcc ) works... yes
        > checking whether the C compiler (gcc ) is a cross-compiler... no
        > checking whether we are using GNU C... (cached) yes
        > checking whether gcc accepts -g... (cached) yes
        > checking for bison... (cached) bison -y
        > checking how to run the C preprocessor... (cached) gcc -E
        > checking for flex... (cached) flex
        > checking for flex... (cached) flex
        > checking for yywrap in -lfl... (cached) yes
        > checking lex output file root... (cached) lex.yy
        > checking whether yytext is a pointer... (cached) yes
        > checking host system type... powerpc-unknown-linux-gnu
        > checking for pthread_creat in -lc_r... (cached) no
        > checking for pthread_create in -lpthread... (cached) yes
        > Host type is powerpc-unknown-linux-gnu
        > checking for gdbm.h... (cached) yes
        > checking for gdbm_open in -lgdbm... (cached) yes
        > Have gdbm
        > Adding dynamic libgdbm
        > checking for id3tag.h... (cached) yes
        > checking for id3_file_open in -lid3tag... (cached) yes
        > Have id3tag
        > Adding dynamic libid3tag
        > USE_OGGVORBIS is
        > checking for strcasestr... (cached) yes
        > checking for strsep... (cached) yes
        > checking for atoll... (cached) yes
        > checking for ANSI C header files... (cached) no
        > checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
        > checking for fcntl.h... (cached) yes
        > checking for sys/ioctl.h... (cached) yes
        > checking for sys/time.h... (cached) yes
        > checking for syslog.h... (cached) yes
        > checking for unistd.h... (cached) yes
        > checking for sys/filio.h... (cached) no
        > checking for termio.h... (cached) yes
        > checking whether time.h and sys/time.h may both be included...
        > (cached) yes
        > checking whether gcc needs -traditional... (cached) no
        > checking whether setpgrp takes no argument... (cached) yes
        > checking return type of signal handlers... (cached) void
        > checking for select... (cached) yes
        > checking for socket... (cached) yes
        > checking for strdup... (cached) yes
        > checking for strerror... (cached) yes
        > checking for socket in -lsocket... (cached) no
        > creating ./config.status
        > creating src/Makefile
        > creating admin-root/Makefile
        > creating contrib/Makefile
        > creating debian/Makefile
        > creating Makefile
        > creating config.h
        > config.h is unchanged
        >
        >
        > Here's what I get for my make install...
        >
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c main.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c uici.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c webserver.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c configfile.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c err.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c restart.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap-proto.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c db-gdbm.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mp3-scanner.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c playlist.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c lexer.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c parser.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strcasestr.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strsep.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c redblack.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c dynamic-art.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c query.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNS.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSPosix.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSUNP.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-posix.c
        > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-unix.c
        > gcc -g -O2 -lpthread -L/usr/local/lib -lgdbm -lid3tag -lz -o mt-daapd
        > main.o u
        > ici.o webserver.o configfile.o err.o restart.o daap-proto.o daap.o
        > db-gdbm.o mp3
        > -scanner.o playlist.o lexer.o parser.o strcasestr.o strsep.o
        > redblack.o dynamic-
        > art.o query.o mDNS.o mDNSPosix.o mDNSUNP.o rend-posix.o rend-unix.o
        > main.o: In function `start_signal_handler':
        > /opt/mt-daapd-0.2.1.1/src/main.c:679: undefined reference to
        > `pthread_create'
        > /opt/mt-daapd-0.2.1.1/src/main.c:679: relocation truncated to fit:
        > R_PPC_REL24 p
        > thread_create
        > main.o: In function `main':
        > /opt/mt-daapd-0.2.1.1/src/main.c:944: undefined reference to
        > `pthread_kill'
        > /opt/mt-daapd-0.2.1.1/src/main.c:944: relocation truncated to fit:
        > R_PPC_REL24 p
        > thread_kill
        > /opt/mt-daapd-0.2.1.1/src/main.c:945: undefined reference to
        > `pthread_join'
        > /opt/mt-daapd-0.2.1.1/src/main.c:945: relocation truncated to fit:
        > R_PPC_REL24 p
        > thread_join
        > webserver.o: In function `ws_start':
        > /opt/mt-daapd-0.2.1.1/src/webserver.c:227: undefined reference to
        > `pthread_creat
        > e'
        > /opt/mt-daapd-0.2.1.1/src/webserver.c:227: relocation truncated to
        > fit: R_PPC_RE
        > L24 pthread_create
        > webserver.o: In function `ws_stop':
        > /opt/mt-daapd-0.2.1.1/src/webserver.c:342: undefined reference to
        > `pthread_join'
        > /opt/mt-daapd-0.2.1.1/src/webserver.c:342: relocation truncated to
        > fit: R_PPC_RE
        > L24 pthread_join
        > webserver.o: In function `ws_mainthread':
        > /opt/mt-daapd-0.2.1.1/src/webserver.c:434: undefined reference to
        > `pthread_creat
        > e'
        > /opt/mt-daapd-0.2.1.1/src/webserver.c:434: relocation truncated to
        > fit: R_PPC_RE
        > L24 pthread_create
        > /opt/mt-daapd-0.2.1.1/src/webserver.c:440: undefined reference to
        > `pthread_detac
        > h'
        > /opt/mt-daapd-0.2.1.1/src/webserver.c:440: relocation truncated to
        > fit: R_PPC_RE
        > L24 pthread_detach
        > db-gdbm.o: In function `db_readlock':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:202: undefined reference to
        > `pthread_rwlock_
        > rdlock'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:202: relocation truncated to fit:
        > R_PPC_REL2
        > 4 pthread_rwlock_rdlock
        > db-gdbm.o: In function `db_writelock':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:215: undefined reference to
        > `pthread_rwlock_
        > wrlock'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:215: relocation truncated to fit:
        > R_PPC_REL2
        > 4 pthread_rwlock_wrlock
        > db-gdbm.o: In function `db_unlock':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:226: undefined reference to
        > `pthread_rwlock_
        > unlock'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:226: relocation truncated to fit:
        > R_PPC_REL2
        > 4 pthread_rwlock_unlock
        > db-gdbm.o: In function `db_init_once':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:272: undefined reference to
        > `pthread_rwlock_
        > init'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:272: relocation truncated to fit:
        > R_PPC_REL2
        > 4 pthread_rwlock_init
        > db-gdbm.o: In function `db_open':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:285: undefined reference to
        > `pthread_once'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:285: relocation truncated to fit:
        > R_PPC_REL2
        > 4 pthread_once
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:293: undefined reference to
        > `gdbm_open'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:293: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_open
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:298: undefined reference to
        > `gdbm_firstkey'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:298: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_firstkey
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:300: undefined reference to
        > `gdbm_fetch'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:300: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_fetch
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:305: undefined reference to
        > `gdbm_close'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:305: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_close
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:306: undefined reference to
        > `gdbm_open'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:306: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_open
        > db-gdbm.o: In function `db_init':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:347: undefined reference to
        > `gdbm_firstkey'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:347: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_firstkey
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:355: undefined reference to
        > `gdbm_fetch'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:355: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_fetch
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:369: undefined reference to
        > `gdbm_nextkey'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:369: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_nextkey
        > db-gdbm.o: In function `db_deinit':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:394: undefined reference to
        > `gdbm_close'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:394: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_close
        > db-gdbm.o: In function `db_start_initial_update':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:459: undefined reference to
        > `gdbm_firstkey'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:459: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_firstkey
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:473: undefined reference to
        > `gdbm_nextkey'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:473: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_nextkey
        > db-gdbm.o: In function `db_end_initial_update':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:529: undefined reference to
        > `gdbm_reorganize
        > '
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:529: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_reorganize
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:530: undefined reference to
        > `gdbm_sync'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:530: relocation truncated to fit:
        > R_PPC_REL2
        > 4 gdbm_sync
        > db-gdbm.o: In function `db_add':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1035: undefined reference to
        > `gdbm_exists'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1035: relocation truncated to fit:
        > R_PPC_REL
        > 24 gdbm_exists
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1053: undefined reference to
        > `gdbm_store'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1053: relocation truncated to fit:
        > R_PPC_REL
        > 24 gdbm_store
        > db-gdbm.o: In function `db_enum_begin':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1252: undefined reference to
        > `gdbm_firstkey'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1252: relocation truncated to fit:
        > R_PPC_REL
        > 24 gdbm_firstkey
        > db-gdbm.o: In function `db_enum':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1269: undefined reference to
        > `gdbm_fetch'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1269: relocation truncated to fit:
        > R_PPC_REL
        > 24 gdbm_fetch
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1282: undefined reference to
        > `gdbm_nextkey'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1282: relocation truncated to fit:
        > R_PPC_REL
        > 24 gdbm_nextkey
        > db-gdbm.o: In function `db_find':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1434: undefined reference to
        > `gdbm_fetch'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1434: relocation truncated to fit:
        > R_PPC_REL
        > 24 gdbm_fetch
        > db-gdbm.o: In function `db_exists':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1585: undefined reference to
        > `gdbm_fetch'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1585: relocation truncated to fit:
        > R_PPC_REL
        > 24 gdbm_fetch
        > db-gdbm.o: In function `db_delete':
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1657: undefined reference to
        > `gdbm_delete'
        > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1657: relocation truncated to fit:
        > R_PPC_REL
        > 24 gdbm_delete
        > collect2: ld returned 1 exit status
        > make[2]: *** [mt-daapd] Error 1
        > make[2]: Leaving directory `/mnt/opt/mt-daapd-0.2.1.1/src'
        > make[1]: *** [all-recursive] Error 1
        > make[1]: Leaving directory `/mnt/opt/mt-daapd-0.2.1.1'
        > make: *** [all-recursive-am] Error 2
        >
        > Any idea what I should do here?
        > I actually installed a gdbm package which is giving the gdbm errors at
        > the end - but before I installed gdbm - and I had gdb from the Kuro
        > binaries installed - I got the same pthread errors at the top.

        I reloaded again - installing the Kuro binaries and I didn't install
        the extra gdbm stuff. Now my 'make install' compile error looks like
        this....

        make all-recursive
        make[1]: Entering directory `/mnt/opt/mt-daapd-cvs-20050218'
        Making all in src
        make[2]: Entering directory `/mnt/opt/mt-daapd-cvs-20050218/src'
        make all-am
        make[3]: Entering directory `/mnt/opt/mt-daapd-cvs-20050218/src'
        source='main.c' object='main.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c main.c
        source='uici.c' object='uici.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c uici.c
        source='webserver.c' object='webserver.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c webserver.c
        source='configfile.c' object='configfile.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c configfile.c
        source='err.c' object='err.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c err.c
        source='restart.c' object='restart.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c restart.c
        source='daap-proto.c' object='daap-proto.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap-proto.c
        source='daap.c' object='daap.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap.c
        source='db-gdbm.c' object='db-gdbm.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c db-gdbm.c
        source='mp3-scanner.c' object='mp3-scanner.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mp3-scanner.c
        source='playlist.c' object='playlist.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c playlist.c
        source='lexer.c' object='lexer.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c lexer.c
        source='parser.c' object='parser.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c parser.c
        source='strcasestr.c' object='strcasestr.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strcasestr.c
        source='strsep.c' object='strsep.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strsep.c
        source='redblack.c' object='redblack.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c redblack.c
        source='dynamic-art.c' object='dynamic-art.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c dynamic-art.c
        source='query.c' object='query.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c query.c
        source='xml-rpc.c' object='xml-rpc.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c xml-rpc.c
        source='mDNS.c' object='mDNS.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNS.c
        source='mDNSPosix.c' object='mDNSPosix.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSPosix.c
        source='mDNSUNP.c' object='mDNSUNP.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSUNP.c
        source='rend-posix.c' object='rend-posix.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-posix.c
        source='rend-unix.c' object='rend-unix.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
        -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
        _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-unix.c
        gcc -g -O2 -lpthread -L/usr/local/lib -lgdbm -lid3tag -lz -o
        mt-daapd main.o
        uici.o webserver.o configfile.o err.o restart.o daap-proto.o daap.o
        db-gdbm.o mp
        3-scanner.o playlist.o lexer.o parser.o strcasestr.o strsep.o
        redblack.o dynamic
        -art.o query.o xml-rpc.o mDNS.o mDNSPosix.o mDNSUNP.o rend-posix.o
        rend-unix.o

        main.o: In function `start_signal_handler':
        /opt/mt-daapd-cvs-20050218/src/main.c:679: undefined reference to
        `pthread_creat
        e'
        /opt/mt-daapd-cvs-20050218/src/main.c:679: relocation truncated to
        fit: R_PPC_RE
        L24 pthread_create
        main.o: In function `main':
        /opt/mt-daapd-cvs-20050218/src/main.c:944: undefined reference to
        `pthread_kill'
        /opt/mt-daapd-cvs-20050218/src/main.c:944: relocation truncated to
        fit: R_PPC_RE
        L24 pthread_kill
        /opt/mt-daapd-cvs-20050218/src/main.c:945: undefined reference to
        `pthread_join'
        /opt/mt-daapd-cvs-20050218/src/main.c:945: relocation truncated to
        fit: R_PPC_RE
        L24 pthread_join
        webserver.o: In function `ws_start':
        /opt/mt-daapd-cvs-20050218/src/webserver.c:227: undefined reference to
        `pthread_
        create'
        /opt/mt-daapd-cvs-20050218/src/webserver.c:227: relocation truncated
        to fit: R_P
        PC_REL24 pthread_create
        webserver.o: In function `ws_stop':
        /opt/mt-daapd-cvs-20050218/src/webserver.c:342: undefined reference to
        `pthread_
        join'
        /opt/mt-daapd-cvs-20050218/src/webserver.c:342: relocation truncated
        to fit: R_P
        PC_REL24 pthread_join
        webserver.o: In function `ws_mainthread':
        /opt/mt-daapd-cvs-20050218/src/webserver.c:434: undefined reference to
        `pthread_
        create'
        /opt/mt-daapd-cvs-20050218/src/webserver.c:434: relocation truncated
        to fit: R_P
        PC_REL24 pthread_create
        /opt/mt-daapd-cvs-20050218/src/webserver.c:440: undefined reference to
        `pthread_
        detach'
        /opt/mt-daapd-cvs-20050218/src/webserver.c:440: relocation truncated
        to fit: R_P
        PC_REL24 pthread_detach
        db-gdbm.o: In function `db_readlock':
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:202: undefined reference to
        `pthread_rw
        lock_rdlock'
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:202: relocation truncated to
        fit: R_PPC
        _REL24 pthread_rwlock_rdlock
        db-gdbm.o: In function `db_writelock':
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:215: undefined reference to
        `pthread_rw
        lock_wrlock'
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:215: relocation truncated to
        fit: R_PPC
        _REL24 pthread_rwlock_wrlock
        db-gdbm.o: In function `db_unlock':
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:226: undefined reference to
        `pthread_rw
        lock_unlock'
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:226: relocation truncated to
        fit: R_PPC
        _REL24 pthread_rwlock_unlock
        db-gdbm.o: In function `db_init_once':
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:272: undefined reference to
        `pthread_rw
        lock_init'
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:272: relocation truncated to
        fit: R_PPC
        _REL24 pthread_rwlock_init
        db-gdbm.o: In function `db_open':
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:285: undefined reference to
        `pthread_on
        ce'
        /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:285: relocation truncated to
        fit: R_PPC
        _REL24 pthread_once
        collect2: ld returned 1 exit status
        make[3]: *** [mt-daapd] Error 1
        make[3]: Leaving directory `/mnt/opt/mt-daapd-cvs-20050218/src'
        make[2]: *** [all] Error 2
        make[2]: Leaving directory `/mnt/opt/mt-daapd-cvs-20050218/src'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/mnt/opt/mt-daapd-cvs-20050218'
        make: *** [all] Error 2
      • ganachain_99
        ... I found this idea from a thread in Roku forums. I am as newbie as they come with linux but is there something wrong with the static links to libpthread?
        Message 3 of 6 , Feb 20, 2005
          --- In LinkStation_General@yahoogroups.com, "ganachain_99"
          <andrew_soukup@h...> wrote:
          >
          > --- In LinkStation_General@yahoogroups.com, "ganachain_99"
          > <andrew_soukup@h...> wrote:
          > >
          > > Help!!
          > >
          > > Here's what I've done so far...
          > >
          > > 1) clean install 1.45_13 firmware on linkstation
          > > 2) move /usr directory to /mnt/usr
          > > 3) install *all* of the Kuro binaries (except for perl 5.6.1)
          > > 4) install zlib-1.2.1
          > > 5) install libid3tag-0.15.1b (only using --with-id3tag=/usr/local)
          > > 6) try to install mt-daapd-2.2.1
          > >
          > > Here's what I get for my ./configure...
          > >
          > > loading cache ./config.cache
          > > checking for a BSD compatible install... (cached) /usr/bin/install -c
          > > checking whether build environment is sane... yes
          > > checking whether make sets ${MAKE}... (cached) yes
          > > checking for working aclocal... found
          > > checking for working autoconf... found
          > > checking for working automake... missing
          > > checking for working autoheader... found
          > > checking for working makeinfo... found
          > > checking for gcc... (cached) gcc
          > > checking whether the C compiler (gcc ) works... yes
          > > checking whether the C compiler (gcc ) is a cross-compiler... no
          > > checking whether we are using GNU C... (cached) yes
          > > checking whether gcc accepts -g... (cached) yes
          > > checking for bison... (cached) bison -y
          > > checking how to run the C preprocessor... (cached) gcc -E
          > > checking for flex... (cached) flex
          > > checking for flex... (cached) flex
          > > checking for yywrap in -lfl... (cached) yes
          > > checking lex output file root... (cached) lex.yy
          > > checking whether yytext is a pointer... (cached) yes
          > > checking host system type... powerpc-unknown-linux-gnu
          > > checking for pthread_creat in -lc_r... (cached) no
          > > checking for pthread_create in -lpthread... (cached) yes
          > > Host type is powerpc-unknown-linux-gnu
          > > checking for gdbm.h... (cached) yes
          > > checking for gdbm_open in -lgdbm... (cached) yes
          > > Have gdbm
          > > Adding dynamic libgdbm
          > > checking for id3tag.h... (cached) yes
          > > checking for id3_file_open in -lid3tag... (cached) yes
          > > Have id3tag
          > > Adding dynamic libid3tag
          > > USE_OGGVORBIS is
          > > checking for strcasestr... (cached) yes
          > > checking for strsep... (cached) yes
          > > checking for atoll... (cached) yes
          > > checking for ANSI C header files... (cached) no
          > > checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
          > > checking for fcntl.h... (cached) yes
          > > checking for sys/ioctl.h... (cached) yes
          > > checking for sys/time.h... (cached) yes
          > > checking for syslog.h... (cached) yes
          > > checking for unistd.h... (cached) yes
          > > checking for sys/filio.h... (cached) no
          > > checking for termio.h... (cached) yes
          > > checking whether time.h and sys/time.h may both be included...
          > > (cached) yes
          > > checking whether gcc needs -traditional... (cached) no
          > > checking whether setpgrp takes no argument... (cached) yes
          > > checking return type of signal handlers... (cached) void
          > > checking for select... (cached) yes
          > > checking for socket... (cached) yes
          > > checking for strdup... (cached) yes
          > > checking for strerror... (cached) yes
          > > checking for socket in -lsocket... (cached) no
          > > creating ./config.status
          > > creating src/Makefile
          > > creating admin-root/Makefile
          > > creating contrib/Makefile
          > > creating debian/Makefile
          > > creating Makefile
          > > creating config.h
          > > config.h is unchanged
          > >
          > >
          > > Here's what I get for my make install...
          > >
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c main.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c uici.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c webserver.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c configfile.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c err.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c restart.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap-proto.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c db-gdbm.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mp3-scanner.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c playlist.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c lexer.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c parser.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strcasestr.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strsep.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c redblack.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c dynamic-art.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c query.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNS.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSPosix.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSUNP.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-posix.c
          > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-unix.c
          > > gcc -g -O2 -lpthread -L/usr/local/lib -lgdbm -lid3tag -lz -o mt-daapd
          > > main.o u
          > > ici.o webserver.o configfile.o err.o restart.o daap-proto.o daap.o
          > > db-gdbm.o mp3
          > > -scanner.o playlist.o lexer.o parser.o strcasestr.o strsep.o
          > > redblack.o dynamic-
          > > art.o query.o mDNS.o mDNSPosix.o mDNSUNP.o rend-posix.o rend-unix.o
          > > main.o: In function `start_signal_handler':
          > > /opt/mt-daapd-0.2.1.1/src/main.c:679: undefined reference to
          > > `pthread_create'
          > > /opt/mt-daapd-0.2.1.1/src/main.c:679: relocation truncated to fit:
          > > R_PPC_REL24 p
          > > thread_create
          > > main.o: In function `main':
          > > /opt/mt-daapd-0.2.1.1/src/main.c:944: undefined reference to
          > > `pthread_kill'
          > > /opt/mt-daapd-0.2.1.1/src/main.c:944: relocation truncated to fit:
          > > R_PPC_REL24 p
          > > thread_kill
          > > /opt/mt-daapd-0.2.1.1/src/main.c:945: undefined reference to
          > > `pthread_join'
          > > /opt/mt-daapd-0.2.1.1/src/main.c:945: relocation truncated to fit:
          > > R_PPC_REL24 p
          > > thread_join
          > > webserver.o: In function `ws_start':
          > > /opt/mt-daapd-0.2.1.1/src/webserver.c:227: undefined reference to
          > > `pthread_creat
          > > e'
          > > /opt/mt-daapd-0.2.1.1/src/webserver.c:227: relocation truncated to
          > > fit: R_PPC_RE
          > > L24 pthread_create
          > > webserver.o: In function `ws_stop':
          > > /opt/mt-daapd-0.2.1.1/src/webserver.c:342: undefined reference to
          > > `pthread_join'
          > > /opt/mt-daapd-0.2.1.1/src/webserver.c:342: relocation truncated to
          > > fit: R_PPC_RE
          > > L24 pthread_join
          > > webserver.o: In function `ws_mainthread':
          > > /opt/mt-daapd-0.2.1.1/src/webserver.c:434: undefined reference to
          > > `pthread_creat
          > > e'
          > > /opt/mt-daapd-0.2.1.1/src/webserver.c:434: relocation truncated to
          > > fit: R_PPC_RE
          > > L24 pthread_create
          > > /opt/mt-daapd-0.2.1.1/src/webserver.c:440: undefined reference to
          > > `pthread_detac
          > > h'
          > > /opt/mt-daapd-0.2.1.1/src/webserver.c:440: relocation truncated to
          > > fit: R_PPC_RE
          > > L24 pthread_detach
          > > db-gdbm.o: In function `db_readlock':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:202: undefined reference to
          > > `pthread_rwlock_
          > > rdlock'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:202: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 pthread_rwlock_rdlock
          > > db-gdbm.o: In function `db_writelock':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:215: undefined reference to
          > > `pthread_rwlock_
          > > wrlock'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:215: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 pthread_rwlock_wrlock
          > > db-gdbm.o: In function `db_unlock':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:226: undefined reference to
          > > `pthread_rwlock_
          > > unlock'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:226: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 pthread_rwlock_unlock
          > > db-gdbm.o: In function `db_init_once':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:272: undefined reference to
          > > `pthread_rwlock_
          > > init'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:272: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 pthread_rwlock_init
          > > db-gdbm.o: In function `db_open':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:285: undefined reference to
          > > `pthread_once'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:285: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 pthread_once
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:293: undefined reference to
          > > `gdbm_open'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:293: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_open
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:298: undefined reference to
          > > `gdbm_firstkey'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:298: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_firstkey
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:300: undefined reference to
          > > `gdbm_fetch'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:300: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_fetch
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:305: undefined reference to
          > > `gdbm_close'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:305: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_close
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:306: undefined reference to
          > > `gdbm_open'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:306: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_open
          > > db-gdbm.o: In function `db_init':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:347: undefined reference to
          > > `gdbm_firstkey'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:347: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_firstkey
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:355: undefined reference to
          > > `gdbm_fetch'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:355: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_fetch
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:369: undefined reference to
          > > `gdbm_nextkey'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:369: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_nextkey
          > > db-gdbm.o: In function `db_deinit':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:394: undefined reference to
          > > `gdbm_close'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:394: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_close
          > > db-gdbm.o: In function `db_start_initial_update':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:459: undefined reference to
          > > `gdbm_firstkey'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:459: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_firstkey
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:473: undefined reference to
          > > `gdbm_nextkey'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:473: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_nextkey
          > > db-gdbm.o: In function `db_end_initial_update':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:529: undefined reference to
          > > `gdbm_reorganize
          > > '
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:529: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_reorganize
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:530: undefined reference to
          > > `gdbm_sync'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:530: relocation truncated to fit:
          > > R_PPC_REL2
          > > 4 gdbm_sync
          > > db-gdbm.o: In function `db_add':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1035: undefined reference to
          > > `gdbm_exists'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1035: relocation truncated to fit:
          > > R_PPC_REL
          > > 24 gdbm_exists
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1053: undefined reference to
          > > `gdbm_store'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1053: relocation truncated to fit:
          > > R_PPC_REL
          > > 24 gdbm_store
          > > db-gdbm.o: In function `db_enum_begin':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1252: undefined reference to
          > > `gdbm_firstkey'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1252: relocation truncated to fit:
          > > R_PPC_REL
          > > 24 gdbm_firstkey
          > > db-gdbm.o: In function `db_enum':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1269: undefined reference to
          > > `gdbm_fetch'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1269: relocation truncated to fit:
          > > R_PPC_REL
          > > 24 gdbm_fetch
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1282: undefined reference to
          > > `gdbm_nextkey'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1282: relocation truncated to fit:
          > > R_PPC_REL
          > > 24 gdbm_nextkey
          > > db-gdbm.o: In function `db_find':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1434: undefined reference to
          > > `gdbm_fetch'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1434: relocation truncated to fit:
          > > R_PPC_REL
          > > 24 gdbm_fetch
          > > db-gdbm.o: In function `db_exists':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1585: undefined reference to
          > > `gdbm_fetch'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1585: relocation truncated to fit:
          > > R_PPC_REL
          > > 24 gdbm_fetch
          > > db-gdbm.o: In function `db_delete':
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1657: undefined reference to
          > > `gdbm_delete'
          > > /opt/mt-daapd-0.2.1.1/src/db-gdbm.c:1657: relocation truncated to fit:
          > > R_PPC_REL
          > > 24 gdbm_delete
          > > collect2: ld returned 1 exit status
          > > make[2]: *** [mt-daapd] Error 1
          > > make[2]: Leaving directory `/mnt/opt/mt-daapd-0.2.1.1/src'
          > > make[1]: *** [all-recursive] Error 1
          > > make[1]: Leaving directory `/mnt/opt/mt-daapd-0.2.1.1'
          > > make: *** [all-recursive-am] Error 2
          > >
          > > Any idea what I should do here?
          > > I actually installed a gdbm package which is giving the gdbm errors at
          > > the end - but before I installed gdbm - and I had gdb from the Kuro
          > > binaries installed - I got the same pthread errors at the top.
          >
          > I reloaded again - installing the Kuro binaries and I didn't install
          > the extra gdbm stuff. Now my 'make install' compile error looks like
          > this....
          >
          > make all-recursive
          > make[1]: Entering directory `/mnt/opt/mt-daapd-cvs-20050218'
          > Making all in src
          > make[2]: Entering directory `/mnt/opt/mt-daapd-cvs-20050218/src'
          > make all-am
          > make[3]: Entering directory `/mnt/opt/mt-daapd-cvs-20050218/src'
          > source='main.c' object='main.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c main.c
          > source='uici.c' object='uici.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c uici.c
          > source='webserver.c' object='webserver.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c webserver.c
          > source='configfile.c' object='configfile.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c configfile.c
          > source='err.c' object='err.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c err.c
          > source='restart.c' object='restart.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c restart.c
          > source='daap-proto.c' object='daap-proto.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap-proto.c
          > source='daap.c' object='daap.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c daap.c
          > source='db-gdbm.c' object='db-gdbm.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c db-gdbm.c
          > source='mp3-scanner.c' object='mp3-scanner.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mp3-scanner.c
          > source='playlist.c' object='playlist.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c playlist.c
          > source='lexer.c' object='lexer.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c lexer.c
          > source='parser.c' object='parser.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c parser.c
          > source='strcasestr.c' object='strcasestr.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strcasestr.c
          > source='strsep.c' object='strsep.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c strsep.c
          > source='redblack.c' object='redblack.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c redblack.c
          > source='dynamic-art.c' object='dynamic-art.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c dynamic-art.c
          > source='query.c' object='query.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c query.c
          > source='xml-rpc.c' object='xml-rpc.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c xml-rpc.c
          > source='mDNS.c' object='mDNS.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNS.c
          > source='mDNSPosix.c' object='mDNSPosix.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSPosix.c
          > source='mDNSUNP.c' object='mDNSUNP.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c mDNSUNP.c
          > source='rend-posix.c' object='rend-posix.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-posix.c
          > source='rend-unix.c' object='rend-unix.o' libtool=no \
          > DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
          > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
          > -DHOST='"powerpc-unknown-linux-gnu"' -DNOT
          > _HAVE_SA_LEN -I/usr/local/include -g -O2 -c rend-unix.c
          > gcc -g -O2 -lpthread -L/usr/local/lib -lgdbm -lid3tag -lz -o
          > mt-daapd main.o
          > uici.o webserver.o configfile.o err.o restart.o daap-proto.o daap.o
          > db-gdbm.o mp
          > 3-scanner.o playlist.o lexer.o parser.o strcasestr.o strsep.o
          > redblack.o dynamic
          > -art.o query.o xml-rpc.o mDNS.o mDNSPosix.o mDNSUNP.o rend-posix.o
          > rend-unix.o
          >
          > main.o: In function `start_signal_handler':
          > /opt/mt-daapd-cvs-20050218/src/main.c:679: undefined reference to
          > `pthread_creat
          > e'
          > /opt/mt-daapd-cvs-20050218/src/main.c:679: relocation truncated to
          > fit: R_PPC_RE
          > L24 pthread_create
          > main.o: In function `main':
          > /opt/mt-daapd-cvs-20050218/src/main.c:944: undefined reference to
          > `pthread_kill'
          > /opt/mt-daapd-cvs-20050218/src/main.c:944: relocation truncated to
          > fit: R_PPC_RE
          > L24 pthread_kill
          > /opt/mt-daapd-cvs-20050218/src/main.c:945: undefined reference to
          > `pthread_join'
          > /opt/mt-daapd-cvs-20050218/src/main.c:945: relocation truncated to
          > fit: R_PPC_RE
          > L24 pthread_join
          > webserver.o: In function `ws_start':
          > /opt/mt-daapd-cvs-20050218/src/webserver.c:227: undefined reference to
          > `pthread_
          > create'
          > /opt/mt-daapd-cvs-20050218/src/webserver.c:227: relocation truncated
          > to fit: R_P
          > PC_REL24 pthread_create
          > webserver.o: In function `ws_stop':
          > /opt/mt-daapd-cvs-20050218/src/webserver.c:342: undefined reference to
          > `pthread_
          > join'
          > /opt/mt-daapd-cvs-20050218/src/webserver.c:342: relocation truncated
          > to fit: R_P
          > PC_REL24 pthread_join
          > webserver.o: In function `ws_mainthread':
          > /opt/mt-daapd-cvs-20050218/src/webserver.c:434: undefined reference to
          > `pthread_
          > create'
          > /opt/mt-daapd-cvs-20050218/src/webserver.c:434: relocation truncated
          > to fit: R_P
          > PC_REL24 pthread_create
          > /opt/mt-daapd-cvs-20050218/src/webserver.c:440: undefined reference to
          > `pthread_
          > detach'
          > /opt/mt-daapd-cvs-20050218/src/webserver.c:440: relocation truncated
          > to fit: R_P
          > PC_REL24 pthread_detach
          > db-gdbm.o: In function `db_readlock':
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:202: undefined reference to
          > `pthread_rw
          > lock_rdlock'
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:202: relocation truncated to
          > fit: R_PPC
          > _REL24 pthread_rwlock_rdlock
          > db-gdbm.o: In function `db_writelock':
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:215: undefined reference to
          > `pthread_rw
          > lock_wrlock'
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:215: relocation truncated to
          > fit: R_PPC
          > _REL24 pthread_rwlock_wrlock
          > db-gdbm.o: In function `db_unlock':
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:226: undefined reference to
          > `pthread_rw
          > lock_unlock'
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:226: relocation truncated to
          > fit: R_PPC
          > _REL24 pthread_rwlock_unlock
          > db-gdbm.o: In function `db_init_once':
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:272: undefined reference to
          > `pthread_rw
          > lock_init'
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:272: relocation truncated to
          > fit: R_PPC
          > _REL24 pthread_rwlock_init
          > db-gdbm.o: In function `db_open':
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:285: undefined reference to
          > `pthread_on
          > ce'
          > /opt/mt-daapd-cvs-20050218/src/db-gdbm.c:285: relocation truncated to
          > fit: R_PPC
          > _REL24 pthread_once
          > collect2: ld returned 1 exit status
          > make[3]: *** [mt-daapd] Error 1
          > make[3]: Leaving directory `/mnt/opt/mt-daapd-cvs-20050218/src'
          > make[2]: *** [all] Error 2
          > make[2]: Leaving directory `/mnt/opt/mt-daapd-cvs-20050218/src'
          > make[1]: *** [all-recursive] Error 1
          > make[1]: Leaving directory `/mnt/opt/mt-daapd-cvs-20050218'
          > make: *** [all] Error 2

          I found this idea from a thread in Roku forums. I am as newbie as
          they come with linux but is there something wrong with the static
          links to libpthread?

          root@ABS-NAS:/usr/lib# pwd
          /usr/lib
          root@ABS-NAS:/usr/lib# ls -l libpthread.so
          lrwxrwxrwx 1 root root 25 Feb 20 23:03 libpthread.so
          -> ../../l
          ib/libpthread.so.0
          root@ABS-NAS:/usr/lib# objdump -h libpthread.so
          objdump: libpthread.so: No such file or directory
          root@ABS-NAS:/usr/lib# ls ../../lib
          ls: ../../lib: No such file or directory
          root@ABS-NAS:/usr/lib#
        • ganachain_99
          ... According to Ron - the mt-daapd guy - my libpthreads is missing . I m not sure whether or not the above test proves that too. I ve got libpthreads in /lib
          Message 4 of 6 , Feb 20, 2005
            --- In LinkStation_General@yahoogroups.com, "ganachain_99"
            <andrew_soukup@h...> wrote:
            >
            > I found this idea from a thread in Roku forums. I am as newbie as
            > they come with linux but is there something wrong with the static
            > links to libpthread?
            >
            > root@ABS-NAS:/usr/lib# pwd
            > /usr/lib
            > root@ABS-NAS:/usr/lib# ls -l libpthread.so
            > lrwxrwxrwx 1 root root 25 Feb 20 23:03 libpthread.so
            > -> ../../l
            > ib/libpthread.so.0
            > root@ABS-NAS:/usr/lib# objdump -h libpthread.so
            > objdump: libpthread.so: No such file or directory
            > root@ABS-NAS:/usr/lib# ls ../../lib
            > ls: ../../lib: No such file or directory
            > root@ABS-NAS:/usr/lib#

            According to Ron - the mt-daapd guy - my libpthreads is "missing".
            I'm not sure whether or not the above test proves that too.

            I've got libpthreads in /lib and /usr/lib but not /usr/local/lib. If
            the links are indeed broken, how do I fix them?

            I'm using FW 1.45_13 on the Linkstation - is this maybe a known issue
            with this firmware?
          • Thom Mason
            Have you tried changing --prefix when you mt-daapd configure? ... as ... libpthread.so ... If ... issue
            Message 5 of 6 , Feb 22, 2005
              Have you tried changing --prefix when you mt-daapd configure?

              --- In LinkStation_General@yahoogroups.com, "ganachain_99"
              <andrew_soukup@h...> wrote:
              >
              > --- In LinkStation_General@yahoogroups.com, "ganachain_99"
              > <andrew_soukup@h...> wrote:
              > >
              > > I found this idea from a thread in Roku forums. I am as newbie
              as
              > > they come with linux but is there something wrong with the static
              > > links to libpthread?
              > >
              > > root@ABS-NAS:/usr/lib# pwd
              > > /usr/lib
              > > root@ABS-NAS:/usr/lib# ls -l libpthread.so
              > > lrwxrwxrwx 1 root root 25 Feb 20 23:03
              libpthread.so
              > > -> ../../l
              > > ib/libpthread.so.0
              > > root@ABS-NAS:/usr/lib# objdump -h libpthread.so
              > > objdump: libpthread.so: No such file or directory
              > > root@ABS-NAS:/usr/lib# ls ../../lib
              > > ls: ../../lib: No such file or directory
              > > root@ABS-NAS:/usr/lib#
              >
              > According to Ron - the mt-daapd guy - my libpthreads is "missing".
              > I'm not sure whether or not the above test proves that too.
              >
              > I've got libpthreads in /lib and /usr/lib but not /usr/local/lib.
              If
              > the links are indeed broken, how do I fix them?
              >
              > I'm using FW 1.45_13 on the Linkstation - is this maybe a known
              issue
              > with this firmware?
            • Jose Quezada
              if all you need is to get libpthread in /usr/local/lib then just create some symbolic links in /usr/local/lib to your /usr/lib files. i.e. ln -s
              Message 6 of 6 , Feb 22, 2005
                if all you need is to get libpthread in /usr/local/lib
                then just create some symbolic links in /usr/local/lib
                to your /usr/lib files.

                i.e.

                ln -s /usr/local/lib/libpthread.so
                /usr/lib/libpthread.so



                JQ
                --- ganachain_99 <andrew_soukup@...> wrote:

                >
                > --- In LinkStation_General@yahoogroups.com,
                > "ganachain_99"
                > <andrew_soukup@h...> wrote:
                > >
                > > I found this idea from a thread in Roku forums. I
                > am as newbie as
                > > they come with linux but is there something wrong
                > with the static
                > > links to libpthread?
                > >
                > > root@ABS-NAS:/usr/lib# pwd
                > > /usr/lib
                > > root@ABS-NAS:/usr/lib# ls -l libpthread.so
                > > lrwxrwxrwx 1 root root 25 Feb 20
                > 23:03 libpthread.so
                > > -> ../../l
                > > ib/libpthread.so.0
                > > root@ABS-NAS:/usr/lib# objdump -h libpthread.so
                > > objdump: libpthread.so: No such file or directory
                > > root@ABS-NAS:/usr/lib# ls ../../lib
                > > ls: ../../lib: No such file or directory
                > > root@ABS-NAS:/usr/lib#
                >
                > According to Ron - the mt-daapd guy - my libpthreads
                > is "missing".
                > I'm not sure whether or not the above test proves
                > that too.
                >
                > I've got libpthreads in /lib and /usr/lib but not
                > /usr/local/lib. If
                > the links are indeed broken, how do I fix them?
                >
                > I'm using FW 1.45_13 on the Linkstation - is this
                > maybe a known issue
                > with this firmware?
                >
                >
                >
                >


                __________________________________________________
                Do You Yahoo!?
                Tired of spam? Yahoo! Mail has the best spam protection around
                http://mail.yahoo.com
              Your message has been successfully submitted and would be delivered to recipients shortly.