|
From: Paul L D. <pld...@pl...> - 2004-05-23 09:09:27
|
Hello all, I'm trying to compile Valgrind 2.1.1 on Mandrake 10, but I get an error saying. make[4]: Entering directory `/root/valgrind-2.1.1/coregrind' gcc -Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -o valgrind -static -g -Wl,-e,_ume_entry stage1.o ume.o ume_entry.o ume_go.o /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status make[4]: *** [valgrind] Error 1 I've checked that I have glibc-devel package installed ( I've built a few other apps on this VMware machine ). Any ideas? Paul. -- Paul L Daniels - PLD Software - Xamime Unix systems Internet Development A.B.N. 19 500 721 806 ICQ#103642862,AOL:pldsoftware,Yahoo:pldaniels73 PGP Public Key at http://www.pldaniels.com/gpg-keys.pld |
|
From: Sergey V. <vs...@al...> - 2004-05-23 09:59:11
|
On Sun, 23 May 2004 19:09:19 +1000, Paul L Daniels wrote: > I'm trying to compile Valgrind 2.1.1 on Mandrake 10, but I get an error > saying. > > make[4]: Entering directory `/root/valgrind-2.1.1/coregrind' gcc > -Winline -Wall -Wshadow -O -fno-omit-frame-pointer > -mpreferred-stack-boundary=2 -g -DELFSZ=32 -o valgrind -static -g > -Wl,-e,_ume_entry stage1.o ume.o ume_entry.o ume_go.o /usr/bin/ld: > cannot find -lc collect2: ld returned 1 exit status > make[4]: *** [valgrind] Error 1 > > I've checked that I have glibc-devel package installed ( I've built a > few other apps on this VMware machine ). You also need glibc-devel-static. Static libraries are rarely needed these days, so they are usually in separate packages. |
|
From: Paul L D. <pld...@pl...> - 2004-05-23 11:38:59
|
> You also need glibc-devel-static. Static libraries are rarely needed > these days, so they are usually in separate packages. Thanks, that did the trick, incidently, the package could only be retrived using 'glibc-static', as apposed to 'glibc-devel-static' (though when it unpacked via urpmi it said glibc-devel-static). Paul. -- Paul L Daniels - PLD Software - Xamime Unix systems Internet Development A.B.N. 19 500 721 806 ICQ#103642862,AOL:pldsoftware,Yahoo:pldaniels73 PGP Public Key at http://www.pldaniels.com/gpg-keys.pld |