|
From: | Lefteris Eleftherious |
Subject: | Re: [Dragora-bug] Error compile Dragora 3 stage=0 |
Date: | Thu, 17 Apr 2014 17:48:16 +0300 |
toque flags="" /src/dragora/recipes/*.recipe
When we ran it we took this error of the terminal
collect2: fatal error: cannot find 'ld'
compilation terminated.
scripts/Makefile.host:118: recipe for target 'scripts/basic/fixdep' failed
make[1]: *** [scripts/basic/fixdep] Error 1
Makefile:419: recipe for target 'scripts_basic' failed
make: *** [scripts_basic] Error 2
toque: Error executing 'make headers_check'. Exit status = 2.
Hello Matias,We are very happy, it's beautiful, crazy and perfect, we love it. So i want to inform you that we did it and transcended the above error. After approximately 1 hour and painful compiling we saw done[stage 0].
We edited the file trad-core.c of binutils-2.23.2/bfd/ and added these 3 lines#define PAGE_SHIFT 13 #define PAGE_SIZE (1UL << PAGE_SHIFT) #define PAGE_MASK (~(PAGE_SIZE-1))
above these lines
#ifndef NBPG
# define NBPG getpagesize()
#endifAfter that the stage 0 and 1 accomplished successfully.On Thu, Apr 17, 2014 at 3:39 AM, Lefteris Eleftherious <address@hidden> wrote:
Good morning Matias,We are very excited with this experience. I think that we found exactly what we want.... We try to build the Dragora 3 version.
After 6 hours we thought that we did accomplish the first step (i mean this./dragora-bootstrap --root=/home/<username>/ --stage=0) but we thought wrong!!First of all we want to inform you that we get an error while we were running the above command.
" tar: /home/elefher/Downloads/dragora-3.0-pre3/sources/musl-1.0.0.tar.?z*: Cannot open: No such file or directory "
This file exists in source directory but i noticed that it is an old version, so i downloaded the version 1 of this site www.musl-libc.org/download.html
After that modify we transcended the problem but we stuck here
In file included from /home/elefher/tools/include/sys/user.h:11:0,
from ../../binutils-2.23.2/bfd/trad-core.c:45:
../../binutils-2.23.2/bfd/trad-core.c: In function 'trad_unix_core_file_p':
../../binutils-2.23.2/bfd/trad-core.c:118:21: error: 'PAGE_SIZE' undeclared (first use in this function)
if ((ufile_ptr) NBPG * (UPAGES + u.u_dsize
^
../../binutils-2.23.2/bfd/trad-core.c:118:21: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [trad-core.lo] Error 1
make[4]: Leaving directory `/tmp/sources/binutils-build/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/sources/binutils-build/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/sources/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/tmp/sources/binutils-build'
make: *** [all] Error 2
make: *** ld: No such file or directory. Stop.Can you help us with this error?
[Prev in Thread] | Current Thread | [Next in Thread] |