Gentoo Archives: gentoo-user-fr

From: mathgl <mathgl@××××××××.fr>
To: gentoo-user-fr@l.g.o
Subject: Re: [gentoo-user-fr] probleme emerge rsync
Date: Sat, 21 Jan 2006 21:09:33
Message-Id: 43D9336F.6060202@freesurf.fr
In Reply to: [gentoo-user-fr] probleme emerge rsync by laurent artaud
1 laurent artaud wrote:
2
3 > Depuis que j'ai remis à jour un vieux PC (avec plus d'un an entre deux
4 > emerge world), j'arrive plus à recompiler rsync.
5
6 (...)
7
8 > sender.o: In function `crLaunchThread':
9 > sender.c:(.text+0x3f): undefined reference to `pthread_create'
10 > exclude.o:exclude.c:(.text+0x3f): more undefined references to
11 > `pthread_create' follow
12 > collect2: ld returned 1 exit status
13 > make: *** [rsync] Error 1
14 > </message>
15 >
16 > Quelqu'un sait d'où ça vient?
17
18 Apparament c'est un probleme de linkage avec la lib pthread
19 Essaye de l'install de maniere classic(configure && make && make install
20 ) maybe ... mais je pense pas que ca reglera ton probleme si il y a des
21 dependances sur rsync emerge risque de ne pas le detecter a jour !
22 Il manque si je ne me trompe -lpthread a la fin de cette ligne pour que
23 le linkage se passe correctement...
24
25 i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -mfpmath=sse -msse
26 -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -Wall -W -o rsync rsync.o
27 generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o
28 checksum.o match.o syscall.o log.o backup.o options.o flist.o io.o
29 compat.o hlink.o token.o uidlist.o socket.o fileio.o batch.o
30 clientname.o sysacls.o acls.o progress.o pipe.o params.o loadparm.o
31 clientserver.o access.o connection.o authenticate.o lib/wildmatch.o
32 lib/compat.o lib/snprintf.o lib/mdfour.o lib/permstring.o zlib/deflate.o
33 zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o
34 zlib/inftrees.o zlib/infutil.o zlib/trees.o zlib/zutil.o zlib/adler32.o
35 -lacl -lpopt -lresolv
36
37 ++
38 --
39 gentoo-user-fr@g.o mailing list