Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-misc/rsync-2.5.6 emerge fails - does not link pthread.so
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bdonlan
n00b
n00b


Joined: 21 Jan 2003
Posts: 44

PostPosted: Sat Feb 15, 2003 4:33 pm    Post subject: net-misc/rsync-2.5.6 emerge fails - does not link pthread.so Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum