Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] genkernel: * ERROR: Failed to compile the mrproper
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
M@ntra
n00b
n00b


Joined: 31 Jan 2005
Posts: 5

PostPosted: Sat Apr 23, 2005 7:08 pm    Post subject: [SOLVED] genkernel: * ERROR: Failed to compile the mrproper Reply with quote

Hallo

Ich versuche einen genkernel zu bauen. Leider ist dies von wenig Erfolg gekrönt:

Code:

# emerge gentoo-sources
# emerge genkernel
# cd /usr/src/linux-2.6.11-gentoo-r6/    # damit wäre die Kernel-Version geklärt
# genkernel all
* Gentoo Linux Genkernel; Version 3.1.5   # damit wäre die genkernel-Version geklärt

* Compiling Linux Kernel 2.6.7-gentoo-r11 for x86...
* kernel: >> Running mrproper...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" mrproper
scripts/Makefile.clean:10: net/ipv4/netfilter/Makefile: No such file or directory
make[3]: *** No rule to make target `net/ipv4/netfilter/Makefile'.  Stop.
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [_clean_net] Error 2
* Gentoo Linux Genkernel; Version 3.1.5

* ERROR: Failed to compile the "mrproper" target...
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*

# ls -lA net/ipv4/netfilter/Makefile
-rw-r--r--  1 root root 3676 Apr 23 20:35 net/ipv4/netfilter/Makefile


Ich verstehe das nicht ganz. Ich habe ähnliche Probleme bei anderen Kernel-Versionen.


Last edited by M@ntra on Sun Apr 24, 2005 12:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
M@ntra
n00b
n00b


Joined: 31 Jan 2005
Posts: 5

PostPosted: Sun Apr 24, 2005 12:18 pm    Post subject: Reply with quote

Mein Fehler...

Mir hätte ja mal auffallen können, dass dort
Code:
* Compiling Linux Kernel 2.6.7-gentoo-r11 for x86...

steht, obwohl ich den Kernel 2.6.11-gentoo-r6 kompiliert haben wollte. /usr/src/linux zeigte noch auf den alten Kernel, welchen ich etwas unglücklich gepatcht hatte und der von diesem Zeitpunkt aus nicht mehr zu kompilieren war. Die Lösung ist, entweder mit
Code:
# genkernel --kerneldir=/usr/src/linux-2.6.11-gentoo-r6 all

zu kompilieren, oder aber den symlink /usr/src/linux zu ändern (logisch).

Danke an alle, die's gelesen haben.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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