|
From: Ivan N. <iva...@ma...> - 2005-11-16 19:58:27
|
Just obtained the latest sources with svn and tried to follow the instructions in the README when compiling it gets to here and dies. make[4]: Entering directory `/home/inovick/nodes/valgrind/coregrind' gcc -Winline -Wall -Wshadow -O -g -mpreferred-stack-boundary=2 - DELFSZ=32 -msse -o valgrind -static -g ume.o stage1.o jmp_with_stack.o /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status Anyone know what is wrong? OS is 32 bit Mandrake: Linux 2.6.12-12mdk #1 Fri Sep 9 18:15:22 CEST 2005 i686 AMD Athlon(tm) 64 Processor 3200+ unknown GNU/Linux Compiler is gcc 3.3.6 Thanks, Ivan |
|
From: Tom H. <to...@co...> - 2005-11-16 20:01:18
|
In message <74D...@ma...>
Ivan Novick <iva...@ma...> wrote:
> Just obtained the latest sources with svn and tried to follow the
> instructions in the README
>
> when compiling it gets to here and dies.
>
> make[4]: Entering directory `/home/inovick/nodes/valgrind/coregrind'
> gcc -Winline -Wall -Wshadow -O -g -mpreferred-stack-boundary=2 -
> DELFSZ=32 -msse -o valgrind -static -g ume.o stage1.o jmp_with_stack.o
> /usr/bin/ld: cannot find -lc
> collect2: ld returned 1 exit status
>
> Anyone know what is wrong?
You need to install the glibc-static-devel package.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|
|
From: Jeroen N. W. <jn...@xs...> - 2005-11-16 20:19:17
Attachments:
faq.glibc_devel.patch
|
> In message <74D...@ma...> > Ivan Novick <iva...@ma...> wrote: > >> Just obtained the latest sources with svn and tried to follow the >> instructions in the README >> >> when compiling it gets to here and dies. >> >> make[4]: Entering directory `/home/inovick/nodes/valgrind/coregrind' >> gcc -Winline -Wall -Wshadow -O -g -mpreferred-stack-boundary=2 - >> DELFSZ=32 -msse -o valgrind -static -g ume.o stage1.o jmp_with_stack.o >> /usr/bin/ld: cannot find -lc >> collect2: ld returned 1 exit status >> >> Anyone know what is wrong? > > You need to install the glibc-static-devel package. Attached patch adds this nugget of information to docs/xml/FAQ.xml. Jeroen. |