bdonlan n00b
Joined: 21 Jan 2003 Posts: 44
|
Posted: Sat Feb 15, 2003 4:33 pm Post subject: net-misc/rsync-2.5.6 emerge fails - does not link pthread.so |
|
|
When doing an emerge -u world:
Code: |
...
gcc -O2 -mcpu=i686 -pipe -DHAVE_CONFIG_H -Wall -W -o rsync rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o uidlist.o socket.o fileio.o batch.o clientname.o progress.o pipe.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/permstring.o zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o zlib/zutil.o zlib/adler32.o -lpopt -lresolv
rsync.o(.text+0x31): In function `crLaunchThread':
: undefined reference to `pthread_create'
generator.o(.text+0x31): In function `crLaunchThread':
: undefined reference to `pthread_create'
receiver.o(.text+0x31): In function `crLaunchThread':
: undefined reference to `pthread_create'
cleanup.o(.text+0x31): In function `crLaunchThread':
: undefined reference to `pthread_create'
sender.o(.text+0x31): In function `crLaunchThread':
: undefined reference to `pthread_create'
exclude.o(.text+0x31): more undefined references to `pthread_create' follow
collect2: ld returned 1 exit status
make: *** [rsync] Error 1
!!! ERROR: net-misc/rsync-2.5.6 failed.
!!! Function src_compile, Line 10, Exitcode 2
!!! (no error message)
|
It seems the ebuild does not use -lpthread, how do I fix this? |
|