bzImage

Post Reply
Message
Author
deepabyss
Posts: 8
Joined: 05. Jul 2001 6:41
Location: lennestadt

bzImage

#1 Post by deepabyss »

hi linuxer

ich hoffe ihr koennt mir weiter helfen!!
anbei die fehlermeldung.

root@nettime linux]# make bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include
scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCPU=386 -
c -o init/main.o init/main.c
kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCPU=386 -D
UTS_MACHINE='"i386"' -c -o init/version.o init/version.c
make -C kernel
make<font size="1">: Wechsel in das Verzeichnis Verzeichnis »/usr/src/linux-2.2.16/kernel«
make all_targets
make<font size="2">: Wechsel in das Verzeichnis Verzeichnis »/usr/src/linux-2.2.16/kernel«
kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCPU=386
-DEXPORT_SYMTAB -c signal.c
In file included from /usr/src/linux/include/linux/modversions.h:50,
from /usr/src/linux/include/linux/module.h:19,
from signal.c:10:
/usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning: `cpu_data' redef
ined
/usr/src/linux/include/asm/processor.h:96: warning: this is the location of the
previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning: `smp_num_cpus'
redefined
/usr/src/linux/include/linux/smp.h:77: warning: this is the location of the prev
ious definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning: `smp_call_func
tion' redefined
/usr/src/linux/include/linux/smp.h:83: warning: this is the location of the prev
ious definition
kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCPU=386
-DEXPORT_SYMTAB -c ksyms.c
In file included from /usr/src/linux/include/linux/modversions.h:50,
from /usr/src/linux/include/linux/module.h:19,
from ksyms.c:14:
/usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning: `cpu_data' redef
ined
/usr/src/linux/include/asm/processor.h:96: warning: this is the location of the
previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning: `smp_num_cpus'
redefined
/usr/src/linux/include/linux/smp.h:77: warning: this is the location of the prev
ious definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning: `smp_call_func
tion' redefined
/usr/src/linux/include/linux/smp.h:83: warning: this is the location of the prev
ious definition
In file included from /usr/src/linux/include/linux/interrupt.h:51,
from ksyms.c:21:
/usr/src/linux/include/asm/hardirq.h:23: warning: `synchronize_irq' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:138: warning: this is the lo
cation of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:52,
from ksyms.c:21:
/usr/src/linux/include/asm/softirq.h:75: warning: `synchronize_bh' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:142: warning: this is the lo
cation of the previous definition
/usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
In file included from ksyms.c:17:
/usr/src/linux/include/linux/kernel_stat.h:47: `smp_num_cpus' undeclared (first
use in this function)
/usr/src/linux/include/linux/kernel_stat.h:47: (Each undeclared identifier is re
ported only once
/usr/src/linux/include/linux/kernel_stat.h:47: for each function it appears in.)
make<font size="2">: *** [ksyms.o] Fehler 1
make<font size="2">: Verlassen des Verzeichnisses Verzeichnis »/usr/src/linux-2.2.16/kernel«
make<font size="1">: *** [first_rule] Fehler 2
make<font size="1">: Verlassen des Verzeichnisses Verzeichnis »/usr/src/linux-2.2.16/kernel«
make: *** [_dir_kernel] Fehler 2
[root@nettime linux]#

bis dann
ahagemeister

User avatar
hjb
Pro-Linux
Posts: 3264
Joined: 15. Aug 1999 16:59
Location: Bruchsal
Contact:

Re: bzImage

#2 Post by hjb »

Hi,

make dep
make clean
make bzImage
make modules

Außerdem, wozu hast du SMP-Support aktiviert?

Gruß,
hjb
Pro-Linux - warum durch Fenster steigen, wenn es eine Tür gibt?

deepabyss
Posts: 8
Joined: 05. Jul 2001 6:41
Location: lennestadt

Re: bzImage

#3 Post by deepabyss »

hi hjb!!!

habe ich alles schon probiert!
make dep ,make clean ,make bzImage, aber im verz./usr/src/linux/arch/i386/boot,ist die datei bzImage nicht zufinden ! wo sie doch eigentlich sein sollte.ich bin zwar noch ein newbie was linux betrifft.bin step by step vorgegangen,aber ohne erfolg.hatte mir eine anleitung von pro-lin besorgt um meinen brenner zum laufen zu bringen.
was hat das mit dem smp support auf sich?
vielleicht kannst du mir da auf die spruenge helfen.
habe red hat 7.0

ich danke dir fuer deine hilfe

bis dann
a.hagemeister
linux ist einfach geil,auch wenns nicht immer so laeuft wie man moechte!

ronny
Posts: 313
Joined: 24. Apr 2001 11:11
Location: Muehlacker, BW

Re: bzImage

#4 Post by ronny »

installier erstmal die rh updates (falls noch nicht geschehen)
und was ist das für ein kernel?
was willst du mit 2.2.16

smp ist für mehrprozessorsysteme

warum kompilierst du überhaupt einen neuen kernel (nicht, dass das schädlich wäre, aber ich vermute du kannst dir die arbeit sparen)

schonmal modprobe ide-scsi probiert?

a.hagemeister

Re: bzImage

#5 Post by a.hagemeister »

hi ronny!
modprobe ide -scsi,da bekomme ich die meldung, command not found! der kernel ist 2.2.16-22
war in der rh distribution mit drin.was die updates betrifft,da bin ich mir nicht ganz sicher,habe des wegen bisher gezoegert.welche waeren denn in meinem falle angesagt?
muss fragen da ich mich nicht so gut auskenne mit linux.ich lerne taeglich dazu.das ist auch gut so!!!

vielen dank im voraus!
a.hagemeister

ronny
Posts: 313
Joined: 24. Apr 2001 11:11
Location: Muehlacker, BW

Re: bzImage

#6 Post by ronny »

alle die bei redhat zu 7.0 zu finden sind (sofern du die pakete installiert hast)
<a href="ftp://ftp.redhat.de/pub/redhat/updates/7.0/en/os/" target="_blank"><!--auto-->ftp://ftp.redhat.de/pub/redhat/updates/ ... <!--auto-->

mindestens den compiler (gcc-*), glibc und kernel (kernel-2.2.19)
glibc und kernel gibts für 386, 586 und 686 -> nimm das passende

dass updaten müsste auch mit up2date gehen, vorher aber up2date manuell updaten!

die updates enthalten wichtige bugfixes und security updates

modprobe sollte aber auszuführen sein (als root)

Post Reply