Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi di gcc? [risolto]
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
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Fri Jan 23, 2004 12:07 pm    Post subject: problemi di gcc? [risolto] Reply with quote

apro un nuovo topic per trattare meglio un'argomento accennato nel topic "kde non emerge".
allora, riprendendo da là: nell'installare kde la compilazione si blocca emergendo il pacchetto arts-1.1.5 segnalando

!!! ERROR: kde-base/arts-1.1.5 failed.
!!! Function kde_src_compile, Line 117, Exitcode 1
!!! died running ./configure, kde_src_compile:configure


provo a smanettare, guardo in rete i post di chi ha avuto più o meno lo stesso problema e alla fine accantono il tutto e decido di provare ad installare gnome; tutto a posto, inizio ad installare qualche pacchetto che mi serve come pcmcia-cs, con il seguente risultato:

!!! ERROR: sys-apps/pcmcia-cs-3.2.4 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! failed compiling


li mortacci!! provo ad installare gxine che come dipendenza ha arts-1.1.5 e sono quindi da capo.

mi viene il dubbio che sia un problema del gcc (ho installato la 3.2.3) però non so proprio cosa fare.


Last edited by dmorab on Fri Jan 23, 2004 5:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Fri Jan 23, 2004 1:01 pm    Post subject: hmm Reply with quote

Hai provato a compilare senza usare le CFLAGS. Potrebbero essere flags troppo aggressive.
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Jan 23, 2004 1:03 pm    Post subject: Re: problemi di gcc? Reply with quote

dmorab wrote:

!!! ERROR: sys-apps/pcmcia-cs-3.2.4 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! failed compiling


Puoi postare anche le righe precendenti, quelle in cui ha dato l'errore in compilazione?
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Fri Jan 23, 2004 1:03 pm    Post subject: Re: problemi di gcc? Reply with quote

dmorab wrote:
!!! ERROR: sys-apps/pcmcia-cs-3.2.4 failed.


Se usi un kernel >=2.6.0 ti serve pcmcia-cs >=3.2.5 altrimenti il merge fallisce.
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Fri Jan 23, 2004 1:17 pm    Post subject: Reply with quote

il kernel usato è il 2.4.22-gentoo-r5

CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Fri Jan 23, 2004 1:19 pm    Post subject: Reply with quote

Allora, come ti ha suggerito randomaze, posta le righe precedenti dell'errore...
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Fri Jan 23, 2004 1:42 pm    Post subject: Reply with quote

per quanto riguarda pcmcia-cs:

Kernel configuration options:
Kernel-tree PCMCIA support is disabled.
Symmetric multiprocessing support is enabled.
Preemptive kernel support is enabled.
High memory support is disabled.
Timer frequency (HZ) for the kernel is 1000.
PCI BIOS support is enabled.
Power management (APM) support is enabled.
SCSI support is enabled.
IEEE 1394 (FireWire) support is disabled.
Networking support is enabled.
Radio network interface support is enabled.
Token Ring device support is disabled.
Fast switching is disabled.
Frame Diverter is disabled.
Module version checking is enabled.
Kernel debugging support is disabled.
Preemptive kernel patch is enabled.
/proc filesystem support is enabled.
Maximum physical memory: 1GB
PAE support is disabled.

The standalone Adaptec APA1480 CardBus driver is not supported with
this kernel. If you need it, use the kernel PCMCIA subsystem.

The standalone IEEE 1394 CardBus drivers are not supported with this
kernel. If you need them, use the kernel PCMCIA subsystem.

System V init script layout (y/n) [n]
The Forms library is not available.

Configuration successful.

...............
..............

/usr/src/linux/include/asm/mpspec.h:205: `CONFIG_NR_CPUS' undeclared here (not in a function)In file included from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from ../include/linux/sched.h:5,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from ../include/linux/slab.h:9,
from cs.c:41:
/usr/src/linux/include/asm/smp.h:67: `CONFIG_NR_CPUS' undeclared here (not in a function)
/usr/src/linux/include/asm/smp.h:67: confused by earlier errors, bailing out
make[1]: *** [cs.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.4/work/pcmcia-cs-3.2.4/modules'make: *** [all] Error 2

!!! ERROR: sys-apps/pcmcia-cs-3.2.4 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! failed compiling


mentre per arts:


.................................
................................
.................................

checking for vsnprintf... yes
checking for snprintf... yes
checking if Qt compiles without flags... no
checking if STL implementation is SGI like... no
checking if STL implementation is HP like... no
configure: error: "no known STL type found - did you forget to install libstdc++-devel ?"

!!! ERROR: kde-base/arts-1.1.5 failed.
!!! Function kde_src_compile, Line 117, Exitcode 1
!!! died running ./configure, kde_src_compile:configure

sembra avere qualche problema con libstdc o no?
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Fri Jan 23, 2004 1:56 pm    Post subject: Reply with quote

dmorab wrote:

Symmetric multiprocessing support is enabled.
[...]
/usr/src/linux/include/linux/smp.h:14,


Hai un sistema multiprocessore? Se no, ricompila il kernel togliendo il supporto per SMP (anche perchè su sistemi monoprocessore questa opzione comporta un leggero degrado nelle prestazioni).


Per il problema con arts:

Code:
# emerge sys-libs/lib-compat


Dai un'occhiata qui:

https://forums.gentoo.org/viewtopic.php?t=119139
Back to top
View user's profile Send private message
RedNeckCracker
Tux's lil' helper
Tux's lil' helper


Joined: 27 Oct 2003
Posts: 146
Location: Italy

PostPosted: Fri Jan 23, 2004 2:09 pm    Post subject: Reply with quote

non è che hai aggiornato di recente glibc? se si, riemergi gcc, io ho dovuto fare lo stesso per poter aggiornare kde alla versione 3.1.5
_________________
Rage powered

http://www.stud.ntnu.no/~shane/stasj/pics/humor/div/faster_bigger.jpg
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Fri Jan 23, 2004 2:11 pm    Post subject: Reply with quote

azz!! non mi ero accorto che fosse abilitato il multiprocessore... tra l'altro mi sono accorto dopo un lsmod che non viene caricato nessun modulo! se provo a fare un modprobe i810_audio (per la mia scheda audio) ottengo un bel

can't locate module

le cose saranno collegate?
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Fri Jan 23, 2004 2:59 pm    Post subject: Reply with quote

aggiornamento: ho compilato il kernel togliendo il supporto per SMP, ho poi compilato come modulo il supporto per la scheda audio e la stampante USB (cretino! li avevo compilati staticamente) e ho poi colto l'occasione per abilitare MTRR che mancava;
solo che make bzImage si blocc con:

/usr/src/linux-2.4.22-gentoo-r5/include/asm/hardirq.h:44:1: warning: "synchronize_irq" redefined
In file included from /usr/src/linux-2.4.22-gentoo-r5/include/linux/modversions.h:145,
from /usr/src/linux-2.4.22-gentoo-r5/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.22-gentoo-r5/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r5/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r5/kernel'
make: *** [_dir_kernel] Error 2


porca zozza! provo ad eliminare un problema e ne causo un'altro! ho provato a dare un make clean e rifare make bzImage ma non funge
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Fri Jan 23, 2004 3:34 pm    Post subject: Reply with quote

Prova a dare una ripulita, come suggerito qui:

https://forums.gentoo.org/viewtopic.php?t=124899
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Fri Jan 23, 2004 5:30 pm    Post subject: Reply with quote

risolto: ricompilato il kernel (facendo "mega pulizia" come suggerito da MyZelf), installato le librerie lib-compat ma, soprattutto, ri-emerso gcc: a questo punto sia arts che pcmcia-cs sono stati installati con successo.

maledetto/benedetto gcc!
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