Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[NON risolto]gcc 4.1.1, elfkickers e dobin rebind/rebind
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
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Sun May 13, 2007 4:46 pm    Post subject: [NON risolto]gcc 4.1.1, elfkickers e dobin rebind/rebind Reply with quote

Sono nel bel mezzo della ricompilazione di world, e sono bloccato al pacchetto elfkickers. L'errore è il seguente:

Code:
>>> Install elfkickers-2.0a-r1 into /var/tmp/portage/dev-util/elfkickers-2.0a-r1/image/ category dev-util
!!! dobin: rebind/rebind does not exist

!!! ERROR: dev-util/elfkickers-2.0a-r1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_install
  ebuild.sh, line 1061:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  elfkickers-2.0a-r1.ebuild, line 38:   Called die


Google non mi è amico né la ricerca sul forum. Qualche idea?


Last edited by theRealMorpheu5 on Tue May 15, 2007 2:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sun May 13, 2007 5:23 pm    Post subject: Reply with quote

ma /var/tmp/portage/...elfkickers.../work/rebind esiste? Io li ho installati un paio d'ore fa senza problemi.
tar danneggiato?
vedi nel log qulache riga più sopra se c'è stato un errore di compilazione per rebind (più probabile).
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Sun May 13, 2007 6:34 pm    Post subject: Reply with quote

Code:
rebind.c:11:23: error: linux/elf.h: No such file or directory
rebind.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ehdr'
rebind.c: In function 'readheader':
rebind.c:129: error: 'ehdr' undeclared (first use in this function)
rebind.c:129: error: (Each undeclared identifier is reported only once
rebind.c:129: error: for each function it appears in.)
rebind.c:131: error: 'EI_MAG0' undeclared (first use in this function)
rebind.c:131: error: 'ELFMAG0' undeclared (first use in this function)
rebind.c:131: error: 'EI_MAG1' undeclared (first use in this function)
rebind.c:131: error: 'ELFMAG1' undeclared (first use in this function)
rebind.c:132: error: 'EI_MAG2' undeclared (first use in this function)
rebind.c:132: error: 'ELFMAG2' undeclared (first use in this function)
rebind.c:133: error: 'EI_MAG3' undeclared (first use in this function)
rebind.c:133: error: 'ELFMAG3' undeclared (first use in this function)
rebind.c:138: error: 'EI_DATA' undeclared (first use in this function)
rebind.c:138: error: 'ELFDATA2MSB' undeclared (first use in this function)
rebind.c:138: error: 'ELFDATA2LSB' undeclared (first use in this function)
rebind.c:143: error: 'Elf32_Ehdr' undeclared (first use in this function)
rebind.c:147: error: 'Elf32_Shdr' undeclared (first use in this function)
rebind.c: At top level:
rebind.c:157: error: expected ')' before '*' token
rebind.c: In function 'rebind':
rebind.c:188: error: 'Elf32_Shdr' undeclared (first use in this function)
rebind.c:188: error: 'shdrs' undeclared (first use in this function)
rebind.c:189: error: 'Elf32_Sym' undeclared (first use in this function)
rebind.c:189: error: 'symtab' undeclared (first use in this function)
rebind.c:196: error: 'ehdr' undeclared (first use in this function)
rebind.c:200: error: 'SHT_SYMTAB' undeclared (first use in this function)
rebind.c:200: error: 'SHT_DYNSYM' undeclared (first use in this function)
rebind.c: In function 'main':
rebind.c:236: error: 'STB_GLOBAL' undeclared (first use in this function)
rebind.c:237: error: 'STB_WEAK' undeclared (first use in this function)
make[1]: *** [rebind] Error 1


E' imbarazzante, era giusto sopra...

Consigli?
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Sun May 13, 2007 8:12 pm    Post subject: Reply with quote

Dunque, sembra che l'unica directory che contiene elf.h (/usr/src/linux/include/linux/) non sia nel PATH. D'altro canto i linux-headers non contengono elf.h ma solo elf-em.h

Per fare l'aggiornamento ho seguito l'apposita guida che si trova nel sito di Gentoo, quindi sospetto o un baco al profilo 2007.0 (anche se lo trovo improbabile) o io ho fatto qualcosa che non va bene. Considerando che mi sono attenuto strettamente a quel che era scritto nella guida, cosa ho sbagliato?

EDIT: Ho temporaneamente bypassato il problema aggiungendo un -I/usr/src/linux/include/ ai miei CFLAGS ma non credo sia stata la mossa giusta da fare. Qualche altra idea?

EDIT 2: Too bad, sembra che io abbia dovuto levare il workaround per far progredire un altro pacchetto.
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Tue May 15, 2007 2:36 pm    Post subject: Reply with quote

Vabè, visto che nessuno ha idee, chiudo.
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Sat May 19, 2007 8:25 am    Post subject: Reply with quote

Siccome col tempo non si è risolto niente, io uppo. elfkickers continua a chiedermi quel linux/elf.h che non riesce a trovare e io, francamente, non so dove pescarlo.

EDIT: glibc contiene sia elf.h che sys/elf.h ma nessun linux/elf.h... o nell'ebuild si sono dimenticati di includere /usr/src/linux/include/ come include path o c'è qualcosa che mi sfugge. Anche perché, includendolo io a mano dal make.conf, poi mi dava problemi per altri file ed altri pacchetti... la situazione comincia a farsi seccante.
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Sat May 19, 2007 8:39 am    Post subject: Reply with quote

Magari ti sei dimenticato di aggiornare/ricompilare i linux-headers e/o glibc quando avresti dovuto... Prova a ricompilarli entrambi nell'ordine indicato e vedi che succede!! Incrocia le dita, magari, un pò prima... :D
In verità la butto lì, non ho la minima idea se potrà aiutarti e se possa anche solo entrarci col tuo problema, ma visto che ci sei tentar non nuoce!!! :wink:
Pensa che esiste un sistema operativo in cui per risolvere problemi spesso basta spengere e riaccendere!! :lol:
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Sat May 19, 2007 9:39 am    Post subject: Reply with quote

Nope, niente da fare, il problema persiste -.-
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Sat May 19, 2007 12:03 pm    Post subject: Reply with quote

C'è questo bug aperto, hai provato ad aggiornare il portage tree e provato a riemergere il pacchetto?

Altrimenti tieni d'occhio il bug e vedi se/quando verrà risolto (magari nella Gentoo release -r3, in base a quanto dice il maintainer solar)
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Sat May 19, 2007 3:27 pm    Post subject: Reply with quote

Sì, è aggiornato, sto tentando di emergere il -r2... Terrò d'occhio il bug, grazie.
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