Hi,
On 20.01.2008, at 18:20, Matthias Sommer wrote:
Hello,
it looks like I have found a solution (but unluckily without knowing
why it works):
http://bugs.t2-project.org/wiki/FAQ/libc.a did the trick.
After reading around on the website I found that there is another
FAQ under "Developer => issue tracking" and there I read:
/usr/lib/libc.a not found on host machine ¶
on most distributions this is a symptom the need of glibc-devel
package, but on mandrake and PCLinuxOS it means you also need to
install glibc-static-devel package.
Since Mandriva is a successor to mandrake (and PCLinuxos is based on
mandriva) I just tried it. I installed glibc-static-devel and just
compiled the "mine"-package successfully.
Interesting and good to know :-)
Let's see what other adventures await me... ;)
After the toolchain packages and especially sandboxed native builds
should
be way smoother due to being more decoupled from the build host.
Yours,
Regards
Matthias
Matthias Sommer schrieb:
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
[EMAIL PROTECTED] with a subject of: unsubscribe t2
----------------------------------------------------------- If you
wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2
--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
Geschäftsführer: Susanne Klaus, René Rebe
Sitz: Berlin, Amtsgericht Charlottenburg HRB 105 123 B
USt-IdNr.: DE251602478
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2