|
From: Chen, F. <FC...@em...> - 2004-10-08 15:48:08
|
Hello, =20 I just downloaded valgrind-2.2.0, did a "./configure" fine. However, when doing "make", I got the following errors: =20 make[2]: Entering directory `/home/hammer/dev/tmp/valgrind/valgrind-2.2.0/coregrind' gcc -Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=3D2 -g -DELFSZ=3D32 -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[2]: *** [valgrind] Error 1 make[2]: Leaving directory `/home/hammer/dev/tmp/valgrind/valgrind-2.2.0/coregrind' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hammer/dev/tmp/valgrind/valgrind-2.2.0/coregrind' make: *** [all] Error 2 [ =20 Any ideas why did it happen? Thanks a lot for your help! =20 FC |
|
From: Tom H. <th...@cy...> - 2004-10-08 16:34:01
|
In message <2A9...@em...>
"Chen, Feng" <FC...@em...> wrote:
> I just downloaded valgrind-2.2.0, did a "./configure" fine. However,
> when doing "make", I got the following errors:
>
> make[2]: Entering directory
> `/home/hammer/dev/tmp/valgrind/valgrind-2.2.0/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
You haven't got the static C library installed. You probably
need the glibc-static-devel rpm.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|