Debian auf einem RAQ3
-
- Beiträge: 3472
- Registriert: 30.11.2005 10:32:22
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Wald
Du kannst auch mehere gcc Versionen parallel installiert haben, den Kernel kannst du dann mit dem gewünschten gcc z. B. so kompilieren:
Code: Alles auswählen
CC=gcc-2.95 make-kpkg ...
- garibaldi
- Beiträge: 2443
- Registriert: 17.09.2004 02:31:12
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Berlin
Schon in den README und INSTALL dokumenten geschaut, die sich im Verzeichnis befinden, aus dem ./configure aufgerufen wird?wageck hat geschrieben:weis nieand wie ich raus finde welchen gcc ich bauche ?
Auch ein Versuch:
Code: Alles auswählen
grep gcc configure | less
Naja, und totgegoogelt hast du dich wahrscheinlich schon.
Was einer im Reiche der Wahrheit erwirbt, hat er allen erworben... -- Schiller
wenn man zu der Fehlermeldung
die entsprechende Codezeile betrachtet,
dürfte es sich dabei nicht um ein Compiler(versions)problem handeln. "ide_busproc_t" wurde hier einfach nicht deklariert.
Nachdem das auch die einzige Referenz auf "ide_busproc_t" ist, dürfte es genügen, wenn du folgende Zeile in drivers/cobalt/ruler.c einfügst:
und zwar nach den "#include"-Zeilen und vor der Zeile 50 (würde die Zeile 42 vorschlagen)
Gruß
gms
Code: Alles auswählen
ruler.c:50: error: syntax error before '*' token
Code: Alles auswählen
static ide_busproc_t *busprocs[MAX_COBT_DRIVES];
Nachdem das auch die einzige Referenz auf "ide_busproc_t" ist, dürfte es genügen, wenn du folgende Zeile in drivers/cobalt/ruler.c einfügst:
Code: Alles auswählen
typedef int (ide_busproc_t)(ide_drive_t *, int);
Gruß
gms
danke fpr den tip ich bin jetzt schon weiter hänge jetzt aber bei folgendem
11) Install the kernel
First, chroot into /mnt. Then dpkg -i the kernel .deb that you want. Make sure that you have a /boot/vmlinux.bz2 file or link, as that's what the rom will look for at boot time. If you plan on doing this step & upgrading to a newer kernel, you may have to load the ethernet drivers as a module. If you system comes up & eth0 is not configured, then add "eepro100" to /etc/modules to get it to load the ethernet module at bootup.
also hab ich chroot /mnt gemacht und dann
gemacht doch dann bekomme ich diesen fehler
und jetzt hab ich null plan was ich machen muss damit es weitergehen kann
11) Install the kernel
First, chroot into /mnt. Then dpkg -i the kernel .deb that you want. Make sure that you have a /boot/vmlinux.bz2 file or link, as that's what the rom will look for at boot time. If you plan on doing this step & upgrading to a newer kernel, you may have to load the ethernet drivers as a module. If you system comes up & eth0 is not configured, then add "eepro100" to /etc/modules to get it to load the ethernet module at bootup.
also hab ich chroot /mnt gemacht und dann
Code: Alles auswählen
cd /usr/src/linux
dpkg -i ../kernel-image-2.4.30-bf7-c7-iii_custom.1.0_i386.deb
Code: Alles auswählen
debian:/usr/src/linux# dpkg -i ../kernel-image-2.4.30-bf7-c7-iii_custom.1.0_i386.deb
(Reading database ... 2938 files and directories currently installed.)
Preparing to replace kernel-image-2.4.30-bf7-c7-iii custom.1.0 (using .../kernel-image-2.4.30-bf7-c7-iii_custom.1.0_i386.deb) ...
You are attempting to install an initrd kernel image (version 2.4.30-bf7-c7-iii)
This will not work unless you have configured your boot loader to use initrd. (An initrd image is a kernel image that expects to use an INITial Ram Disk to mount a minimal root file system into RAM and use that for booting).
As a reminder, in order to configure LILO, you need to add an 'initrd=/initrd.img' to the image=/vmlinuz stanza of your /etc/lilo.conf
I repeat, You need to configure your boot loader -- please read your bootloader documentation for details on how to add initrd images.
If you have already done so, and you wish to get rid of this message, please put
"do_initrd = Yes" in /etc/kernel-img.conf. Note that this is optional, but if you do not, you will continue to see this message whenever you install a kernel image using initrd.
Do you want to stop now? [Y/n]n
You are attempting to install a kernel image (version 2.4.30-bf7-c7-iii)
However, the directory /lib/modules/2.4.30-bf7-c7-iii still exists. If this directory belongs to a previous kernel-image-2.4.30-bf7-c7-iii package, and if you have deselected some modules, or installed standalone modules packages, this could be bad. However, if this directory exists because you are also installing some stand alone modules right now, and they got unpacked before I did, then this is pretty benign. Unfortunately, I can not tell the difference.
If /lib/modules/2.4.30-bf7-c7-iii belongs to a old install of kernel-image-2.4.30-bf7-c7-iii, then this is your last chance to abort the installation of this kernel image (nothing has been changed yet).
If this directory is because of stand alone modules being installed right now, or if it does belong to an older kernel-image-2.4.30-bf7-c7-iii package but you know what you are doing, and if you feel that this image should be installed despite this anomaly, Please answer n to the question.
Otherwise, I suggest you move /lib/modules/2.4.30-bf7-c7-iii out of the way, perhaps to /lib/modules/2.4.30-bf7-c7-iii.old or something, and then try re-installing this image.
Do you want to stop now? [Y/n]n
Unpacking replacement kernel-image-2.4.30-bf7-c7-iii ...
Setting up kernel-image-2.4.30-bf7-c7-iii (custom.1.0) ...
/usr/sbin/mkinitrd: neither /dev/fd or /proc/self/fd exists!
Try mounting the proc filesystem: mount -tproc none /proc
Failed to create initrd image.
dpkg: error processing kernel-image-2.4.30-bf7-c7-iii (--install):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
kernel-image-2.4.30-bf7-c7-iii
naja, es stellt sich einmal die Frage, ob du überhaupt einen Kernel mit initrd haben möchtest, im How-To habe ich davon eigentlich nichts gelesen.
Wenn du trotzdem umbedingt eine initrd erzeugen willst, dann steht ja in der obigen Fehlermeldung ein Lösungsvorschlag:
Gruß
gms
Wenn du trotzdem umbedingt eine initrd erzeugen willst, dann steht ja in der obigen Fehlermeldung ein Lösungsvorschlag:
Du bist also eigentlich nicht auf unsere Ideen angewiesen/usr/sbin/mkinitrd: neither /dev/fd or /proc/self/fd exists!
Try mounting the proc filesystem: mount -tproc none /proc
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Gruß
gms