View previous topic :: View next topic |
Author |
Message |
dmorab Apprentice
Joined: 29 Aug 2003 Posts: 210
|
Posted: Fri Jan 23, 2004 12:07 pm Post subject: problemi di gcc? [risolto] |
|
|
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 |
|
|
bld l33t
Joined: 26 Mar 2003 Posts: 759 Location: Outter Space
|
Posted: Fri Jan 23, 2004 1:01 pm Post subject: hmm |
|
|
Hai provato a compilare senza usare le CFLAGS. Potrebbero essere flags troppo aggressive. _________________ A happy GNU/Linux user!! |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Fri Jan 23, 2004 1:03 pm Post subject: Re: problemi di gcc? |
|
|
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 |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Fri Jan 23, 2004 1:03 pm Post subject: Re: problemi di gcc? |
|
|
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 |
|
|
dmorab Apprentice
Joined: 29 Aug 2003 Posts: 210
|
Posted: Fri Jan 23, 2004 1:17 pm Post subject: |
|
|
il kernel usato è il 2.4.22-gentoo-r5
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" |
|
Back to top |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Fri Jan 23, 2004 1:19 pm Post subject: |
|
|
Allora, come ti ha suggerito randomaze, posta le righe precedenti dell'errore... |
|
Back to top |
|
|
dmorab Apprentice
Joined: 29 Aug 2003 Posts: 210
|
Posted: Fri Jan 23, 2004 1:42 pm Post subject: |
|
|
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 |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Fri Jan 23, 2004 1:56 pm Post subject: |
|
|
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 |
|
|
RedNeckCracker Tux's lil' helper
Joined: 27 Oct 2003 Posts: 146 Location: Italy
|
|
Back to top |
|
|
dmorab Apprentice
Joined: 29 Aug 2003 Posts: 210
|
Posted: Fri Jan 23, 2004 2:11 pm Post subject: |
|
|
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 |
|
|
dmorab Apprentice
Joined: 29 Aug 2003 Posts: 210
|
Posted: Fri Jan 23, 2004 2:59 pm Post subject: |
|
|
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 |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
|
Back to top |
|
|
dmorab Apprentice
Joined: 29 Aug 2003 Posts: 210
|
Posted: Fri Jan 23, 2004 5:30 pm Post subject: |
|
|
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 |
|
|
|