Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errore emerge cross-i386-pc-linux-gnu/glibc-2.3.6-r3 [OK]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Wed Apr 26, 2006 9:11 pm    Post subject: Errore emerge cross-i386-pc-linux-gnu/glibc-2.3.6-r3 [OK] Reply with quote

Mi sto preparando per usare distcc + crosscompilazione, do un bel
Code:
crossdev -t i386-pc-linux-gnu --gcc 3.4.5-r1 --binutils 2.16.1 --libc 2.3.6-r3 --k 2.6.11-r2 -v

ma quando arriva a compilare
Code:
cross-i386-pc-linux-gnu/glibc-2.3.6-r3


si blocca con questo errore:
Code:
checking for gmsgfmt... gmsgfmt
checking version of gmsgfmt... 0.14.4, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.8, ok
checking for sed... sed
checking version of sed... 4.1.4, ok
checking for autoconf... autoconf
checking whether autoconf works... yes
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.

!!! ERROR: cross-i386-pc-linux-gnu/glibc-2.3.6-r3 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  glibc-2.3.6-r3.ebuild, line 1224:   Called src_compile
  glibc-2.3.6-r3.ebuild, line 1235:   Called toolchain-glibc_src_compile
  glibc-2.3.6-r3.ebuild, line 249:   Called glibc_do_configure 'linuxthreads'
  glibc-2.3.6-r3.ebuild, line 972:   Called die



suggerimenti?
_________________
[Vuoi guadagnare navigando?]


Last edited by ProT-0-TypE on Thu Apr 27, 2006 6:48 pm; edited 3 times in total
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Wed Apr 26, 2006 9:43 pm    Post subject: Reply with quote

ho riavviato e ora c'è un altro errore...
Code:
running configure fragment for sysdeps/pthread
running configure fragment for libidn/sysdeps/unix
running configure fragment for sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later.  This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel header
files.  To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.

!!! ERROR: cross-i386-pc-linux-gnu/glibc-2.3.6-r3 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  glibc-2.3.6-r3.ebuild, line 1224:   Called src_compile
  glibc-2.3.6-r3.ebuild, line 1235:   Called toolchain-glibc_src_compile
  glibc-2.3.6-r3.ebuild, line 249:   Called glibc_do_configure 'linuxthreads'
  glibc-2.3.6-r3.ebuild, line 972:   Called die


la versione dei linux-headers è la 2.6.11-r2
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Wed Apr 26, 2006 11:36 pm    Post subject: Reply with quote

Autorisolto con un

Code:
cd /usr/i386-pc-linux-gnu
ln -s usr/include include


ma ora si blocca qui:

Code:
/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i386-pc-linux-gnu/3.4.5/include -isystem /usr/i386-pc-linux-gnu/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC     -DHAVE_INITFINI -o /var/tmp/cross/i386-pc-linux-gnu/portage/glibc-2.3.6-r3/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/ssp.o -MD -MP -MF /var/tmp/cross/i386-pc-linux-gnu/portage/glibc-2.3.6-r3/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/ssp.o.dt -MT /var/tmp/cross/i386-pc-linux-gnu/portage/glibc-2.3.6-r3/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/ssp.o
../sysdeps/unix/sysv/linux/ssp.c:24:3: #error ssp.c has to be built w/ -fno-stack-protector
make[2]: *** [/var/tmp/cross/i386-pc-linux-gnu/portage/glibc-2.3.6-r3/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/ssp.o] Error 1
make[2]: Leaving directory `/var/tmp/cross/i386-pc-linux-gnu/portage/glibc-2.3.6-r3/work/glibc-2.3.6/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/cross/i386-pc-linux-gnu/portage/glibc-2.3.6-r3/work/glibc-2.3.6'
make: *** [all] Error 2


vediamo se col compilatore non hardened riesco ad andare avanti...
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Apr 27, 2006 6:47 pm    Post subject: Reply with quote

oltre a questo problema, che alla fine ho risolto usando il compilatore non hardened ne ho avuto anche un altro, questo, ma alla fine ce l'ho fatta! :D
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum