logo       

Re: /usr/bin/ld: cannot find -lc: msg#00042

t2.devel

Subject: Re: /usr/bin/ld: cannot find -lc


Hello,

it definitely depends on the host system.
On a debian it works. But this is the wrong computer to use.
The one that should be the builder has only Mandriva and so space to spare for another system.
How can I find out, what is the difference that breaks the build of "mine"?

Regards
Matthias

Matthias Sommer schrieb:

Hello,

I still try to compile an T2 but do not come over "Building archiver/mine [0.23 7.0-rc2]" in stage 0

I add the lower part of the 0-mine.err file:

gcc -Icdb-0.75 -I/usr/include -Ilibtar-1.2.11/lib -I. -Wall -Os -Ilibtar-1.2.11/listhash -DMINE_VERSION=\"0.23\" -ggdb -DGEMCACHE=\"/var/cache/gem\" -DMINECURLOPT=\"/etc/mine.curlopt\" -DUSE_AVL=1 -DUSE_HASHOPT=1 -c -o mine.o mine.c
gcc -Icdb-0.75 -I/usr/include -Ilibtar-1.2.11/lib -I. -Wall -Os -Ilibtar-1.2.11/listhash -DMINE_VERSION=\"0.23\" -ggdb -DGEMCACHE=\"/var/cache/gem\" -DMINECURLOPT=\"/etc/mine.curlopt\" -DUSE_AVL=1 -DUSE_HASHOPT=1 -c -o avl.o avl.c
gcc check.o create.o install.o remove.o pkglist.o mkpdb.o showfile.o showkey.o memdb.o md5.o md5sum.o mine.o avl.o cdb-0.75/cdb.a cdb-0.75/alloc.a cdb-0.75/buffer.a cdb-0.75/byte.a cdb-0.75/unix.a libtar-1.2.11/lib/libtar.a -o mine
gcc -static check.o create.o install.o remove.o pkglist.o mkpdb.o showfile.o showkey.o memdb.o md5.o md5sum.o mine.o avl.o cdb-0.75/cdb.a cdb-0.75/alloc.a cdb-0.75/buffer.a cdb-0.75/byte.a cdb-0.75/unix.a libtar-1.2.11/lib/libtar.a -o mine.static
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [mine.static] Error 1
Due to previous errors, no 0-mine.log file!

The line causing the error is "/usr/bin/ld: cannot find -lc"
I do not see where ld is called and with witch parameters.

I assume this is once more a problem with my host system, a Mandriva 2008.0 one installation.

Where should I start to look for the error?

Thanks in advance
Matthias

P.S.: This is from 7.0rc2, but the same error occurs in trunk.



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise