|
From: | Lefteris Eleftherious |
Subject: | Re: [Dragora-bug] Error compile Dragora 3 stage=0 |
Date: | Thu, 17 Apr 2014 16:13:00 +0300 |
#define PAGE_SHIFT 13 #define PAGE_SIZE (1UL << PAGE_SHIFT) #define PAGE_MASK (~(PAGE_SIZE-1))
above these lines
#ifndef NBPG
# define NBPG getpagesize()
#endif
After that the stage 0 and 1 accomplished successfully.
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] |