View previous topic :: View next topic |
Author |
Message |
ansuess n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Mar 2004 Posts: 23
|
Posted: Thu Sep 30, 2004 11:46 am Post subject: [Solved] Kernel kompiliert nicht mehr |
|
|
Hallo Leute..
meine Suche im Forum brachte mir leider nicht den erhofften Erfolg:
Ich versuche gerade meinen Kernel neu zu kompilieren. Kernel ist 2.4.24-openmosix-r4 oder 2.4.27-r1. Die Konfigurationsdatei hat sich seit der letzten Kompilierung nicht geändert, ich brauch nur SCSI-Unterstützung, die ich vorher nicht drin hatte. Der gcc ist v 3.4.2-r2.
Beim kompilieren erhalte ich folgende Fehlermeldung:
Code: | balance.c: In function `send_local_aload':
balance.c:355: warning: use of compound expressions as lvalues is deprecated
balance.c:365: warning: use of compound expressions as lvalues is deprecated
balance.c: In function `load_balance':
balance.c:465: warning: use of compound expressions as lvalues is deprecated
balance.c:490: warning: use of compound expressions as lvalues is deprecated
balance.c: In function `memory_balance':
balance.c:562: warning: use of compound expressions as lvalues is deprecated
balance.c:569: warning: use of compound expressions as lvalues is deprecated
balance.c: In function `consider':
balance.c:694: warning: use of compound expressions as lvalues is deprecated
balance.c:782: warning: use of compound expressions as lvalues is deprecated
balance.c: In function `balance_commit_mig':
balance.c:1183: warning: use of compound expressions as lvalues is deprecated
balance.c:1207: warning: use of compound expressions as lvalues is deprecated
gcc -D__KERNEL__ -I/usr/src/linux-2.4.24-openmosix-r4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=comm -c -o comm.o comm.c
In file included from /usr/src/linux-2.4.24-openmosix-r4/include/linux/netdevice.h:153,
from /usr/src/linux-2.4.24-openmosix-r4/include/linux/icmpv6.h:145,
from /usr/src/linux-2.4.24-openmosix-r4/include/net/sock.h:44,
from comm.c:14:
/usr/src/linux-2.4.24-openmosix-r4/include/linux/skbuff.h: In function `kmap_skb_frag':
/usr/src/linux-2.4.24-openmosix-r4/include/linux/skbuff.h:1124: warning: use of compound expressions as lvalues is deprecated
/usr/src/linux-2.4.24-openmosix-r4/include/linux/skbuff.h: In function `kunmap_skb_frag':
/usr/src/linux-2.4.24-openmosix-r4/include/linux/skbuff.h:1133: warning: use of compound expressions as lvalues is deprecated
In file included from /usr/src/linux-2.4.24-openmosix-r4/include/linux/icmpv6.h:145,
from /usr/src/linux-2.4.24-openmosix-r4/include/net/sock.h:44,
from comm.c:14:
/usr/src/linux-2.4.24-openmosix-r4/include/linux/netdevice.h: In function `__netif_rx_schedule':
/usr/src/linux-2.4.24-openmosix-r4/include/linux/netdevice.h:757: warning: use of compound expressions as lvalues is deprecated
/usr/src/linux-2.4.24-openmosix-r4/include/linux/netdevice.h: In function `netif_rx_reschedule':
/usr/src/linux-2.4.24-openmosix-r4/include/linux/netdevice.h:782: warning: use of compound expressions as lvalues is deprecated
/usr/src/linux-2.4.24-openmosix-r4/include/linux/netdevice.h: In function `netif_tx_disable':
/usr/src/linux-2.4.24-openmosix-r4/include/linux/netdevice.h:833: warning: use of compound expressions as lvalues is deprecated
/usr/src/linux-2.4.24-openmosix-r4/include/linux/netdevice.h:835: warning: use of compound expressions as lvalues is deprecated
In file included from comm.c:14:
/usr/src/linux-2.4.24-openmosix-r4/include/net/sock.h: In function `sock_orphan':
/usr/src/linux-2.4.24-openmosix-r4/include/net/sock.h:1045: warning: use of compound expressions as lvalues is deprecated
/usr/src/linux-2.4.24-openmosix-r4/include/net/sock.h:1049: warning: use of compound expressions as lvalues is deprecated
/usr/src/linux-2.4.24-openmosix-r4/include/net/sock.h: In function `sock_graft':
/usr/src/linux-2.4.24-openmosix-r4/include/net/sock.h:1054: warning: use of compound expressions as lvalues is deprecated
/usr/src/linux-2.4.24-openmosix-r4/include/net/sock.h:1058: warning: use of compound expressions as lvalues is deprecated
comm.c: In function `comm_free':
comm.c:784: error: label at end of compound statement
make[2]: *** [comm.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.24-openmosix-r4/hpc'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.24-openmosix-r4/hpc'
make: *** [_dir_hpc] Error 2
|
hatte schon was gelesen, das es evtl. mit dem gcc zu tun hat.. nur.. richtig Abhilfe hab ich nicht gefunden.. hat einer von euch noch ne Idee?
Schönen Tag noch,
Andy
Last edited by ansuess on Thu Sep 30, 2004 6:11 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hecatomb Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13688029294156b7e955963.jpg)
Joined: 02 Sep 2004 Posts: 525
|
Posted: Thu Sep 30, 2004 2:20 pm Post subject: |
|
|
In Version 3.3 des gcc war "label at end of compound statement" noch eine warning. Nun seit 3.4 wird mit einem error abgebrochen.
Möglichkeiten:
- patche den openmosix code selbst
- warte auf eine neue openmosix version
- hol dir nen gcc 3.3 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ansuess n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Mar 2004 Posts: 23
|
Posted: Thu Sep 30, 2004 6:10 pm Post subject: |
|
|
ah.. ja.. hab es gemerkt und nun doch noch gefunden.
Meine Lösung war:
gcc-config auf den gcc 3.3.x legen, Kernel kompilieren und dann kann ich ja wieder zurück auf den 3.4.. danke ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|