[gelöst]Fritz Capi kompilieren für Kernel 2.6.12-ct-1

  • Hallo zusammen,


    Ich habe auf ein Testsystem CtVdr45 installiert
    und versuche schon seit einiger Zeit Fritz
    fcpcmcia-suse93-3.11-07.tar.gz von AVM für
    Kernel 2.6.12-ct-1 zu kompilieren.
    Ich habe dazu apt-get install build-essential ausgeführt
    und die kernel-source-2.6.12-ct-1 runtergeladen
    und unter /usr/src entpackt.
    Den sympolischen Link /lib/modules/2.6.12-ct-1/build
    habe ich auf /usr/src/kernel-source-2.6.12-ct-1 gerichtet.
    Beim Übersetzen bekomme ich dann folgende Fehlermeldungen.
    Ich habe den ersten Teil und den letzten Teil der install.log
    angefügt, weil die gesamte install.log über 250kb groß ist.


    ************** /usr/src/fritz/install.log *****************
    AVM ISDN-Controller, 1
    Card: FRITZ!Card PCMCIA
    Driver: fcpcmcia
    Startup: Sa Apr 22 15:26:09 CEST 2006
    Install for FRITZ!Card PCMCIA, version 3.11.07, build 050707
    Welcome to the FRITZ!Card PCMCIA driver installation!
    Installing for kernel version 2.6.12-ct-1, architecture:
    CHK:KERNEL 2.6
    CHK:pppd version 2.4.3
    CHK:pppd version status 0
    PRE:Looking for file install_passive-d.html...
    PRE:Looking for file install_passive-e.html...
    MAIN:Generating FRITZ!Card PCMCIA driver for kernel 2.6.12-ct-1...
    /usr/bin/make
    make: Entering directory `/usr/src/fritz/src'
    make -C /lib/modules/2.6.12-ct-1/build SUBDIRS=/usr/src/fritz/src modules
    make[1]: Entering directory `/usr/src/kernel-source-2.6.12-ct-1'
    Makefile:485: .config: Datei oder Verzeichnis nicht gefunden


    WARNING: Symbol version dump /usr/src/kernel-source-2.6.12-ct-1/Module.symvers
    is missing; modules will have no dependencies and modversions.


    CC [M] /usr/src/fritz/src/main.o
    /usr/src/fritz/src/main.c:24:25: asm/uaccess.h: Datei oder Verzeichnis nicht gefunden
    In Datei, eingefügt von /usr/src/fritz/src/main.c:25:
    include/linux/config.h:4:28: linux/autoconf.h: Datei oder Verzeichnis nicht gefunden
    /usr/src/fritz/src/main.c:26:27: linux/version.h: Datei oder Verzeichnis nicht gefunden
    In Datei, eingefügt von include/linux/kernel.h:11,
    von /usr/src/fritz/src/main.c:27:
    include/linux/linkage.h:5:25: asm/linkage.h: Datei oder Verzeichnis nicht gefunden
    In Datei, eingefügt von include/linux/posix_types.h:47,
    von include/linux/types.h:13,
    von include/linux/kernel.h:13,
    von /usr/src/fritz/src/main.c:27:
    /usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:13:22: features.h: Datei oder Verzeichnis nicht gefunden
    /usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:14:35: Kein Include-Pfad, um asm/posix_types.h zu finden
    In Datei, eingefügt von include/linux/kernel.h:13,
    von /usr/src/fritz/src/main.c:27:
    include/linux/types.h:14:23: asm/types.h: Datei oder Verzeichnis nicht gefunden
    In file included from include/linux/kernel.h:13,
    from /usr/src/fritz/src/main.c:27:
    include/linux/types.h:18: error: Syntaxfehler before "__kernel_dev_t"
    include/linux/types.h:18: Warnung: type defaults to `int' in declaration of `__kernel_dev_t'
    include/linux/types.h:18: Warnung: data definition has no type or storage class
    include/linux/types.h:21: error: Syntaxfehler before "dev_t"
    include/linux/types.h:21: Warnung: type defaults to `int' in declaration of `dev_t'
    include/linux/types.h:21: Warnung: data definition has no type or storage class
    include/linux/types.h:22: error: Syntaxfehler before "ino_t"
    include/linux/types.h:22: Warnung: type defaults to `int' in declaration of `ino_t'
    include/linux/types.h:22: Warnung: data definition has no type or storage class
    include/linux/types.h:23: error: Syntaxfehler before "mode_t"
    include/linux/types.h:23: Warnung: type defaults to `int' in declaration of `mode_t'
    include/linux/types.h:23: Warnung: data definition has no type or storage class
    include/linux/types.h:24: error: Syntaxfehler before "nlink_t"
    include/linux/types.h:24: Warnung: type defaults to `int' in declaration of `nlink_t'
    include/linux/types.h:24: Warnung: data definition has no type or storage class
    include/linux/types.h:25: error: Syntaxfehler before "off_t"
    include/linux/types.h:25: Warnung: type defaults to `int' in declaration of `off_t'
    include/linux/types.h:25: Warnung: data definition has no type or storage class
    include/linux/types.h:26: error: Syntaxfehler before "pid_t"
    include/linux/types.h:26: Warnung: type defaults to `int' in declaration of `pid_t'
    include/linux/types.h:26: Warnung: data definition has no type or storage class
    include/linux/types.h:27: error: Syntaxfehler before "daddr_t"
    include/linux/types.h:27: Warnung: type defaults to `int' in declaration of `daddr_t'
    include/linux/types.h:27: Warnung: data definition has no type or storage class
    include/linux/types.h:29: error: Syntaxfehler before "suseconds_t"
    include/linux/types.h:29: Warnung: type defaults to `int' in declaration of `suseconds_t'
    include/linux/types.h:29: Warnung: data definition has no type or storage class
    include/linux/types.h:30: error: Syntaxfehler before "timer_t"
    include/linux/types.h:30: Warnung: type defaults to `int' in declaration of `timer_t'
    include/linux/types.h:30: Warnung: data definition has no type or storage class
    include/linux/types.h:31: error: Syntaxfehler before "clockid_t"
    include/linux/types.h:31: Warnung: type defaults to `int' in declaration of `clockid_t'
    include/linux/types.h:31: Warnung: data definition has no type or storage class
    include/linux/types.h:35: error: Syntaxfehler before "uid_t"
    include/linux/types.h:35: Warnung: type defaults to `int' in declaration of `uid_t'
    include/linux/types.h:35: Warnung: data definition has no type or storage class
    include/linux/types.h:36: error: Syntaxfehler before "gid_t"
    include/linux/types.h:36: Warnung: type defaults to `int' in declaration of `gid_t'
    include/linux/types.h:36: Warnung: data definition has no type or storage class
    include/linux/types.h:37: error: Syntaxfehler before "uid16_t"
    include/linux/types.h:37: Warnung: type defaults to `int' in declaration of `uid16_t'
    include/linux/types.h:37: Warnung: data definition has no type or storage class
    include/linux/types.h:38: error: Syntaxfehler before "gid16_t"
    include/linux/types.h:38: Warnung: type defaults to `int' in declaration of `gid16_t'


    ************** ab hier der letzte Teil ***********************


    /usr/src/fritz/src/main.c: In Funktion »fritz_init«:
    /usr/src/fritz/src/main.c:384: error: `EBUSY' undeclared (first use in this function)
    /usr/src/fritz/src/main.c: Auf höchster Ebene:
    include/linux/elf.h:441: Warnung: array `_DYNAMIC' assumed to have one element
    include/linux/sched.h:228: error: storage size of `mmap_sem' isn't known
    include/linux/sched.h:266: error: storage size of `default_kioctx' isn't known
    include/linux/sched.h:274: error: storage size of `action' isn't known
    include/linux/sched.h:295: error: storage size of `shared_pending' isn't known
    include/linux/sched.h:358: error: storage size of `rlim' isn't known
    include/linux/sched.h:645: error: storage size of `start_time' isn't known
    include/linux/sched.h:673: error: storage size of `thread' isn't known
    include/linux/sched.h:685: error: storage size of `pending' isn't known
    include/linux/stat.h:68: error: storage size of `atime' isn't known
    include/linux/stat.h:69: error: storage size of `mtime' isn't known
    include/linux/stat.h:70: error: storage size of `ctime' isn't known
    include/linux/fs.h:279: error: storage size of `ia_atime' isn't known
    include/linux/fs.h:280: error: storage size of `ia_mtime' isn't known
    include/linux/fs.h:281: error: storage size of `ia_ctime' isn't known
    include/linux/quota.h:223: error: storage size of `dq_dqb' isn't known
    include/linux/fs.h:364: error: storage size of `bd_sem' isn't known
    include/linux/fs.h:365: error: storage size of `bd_mount_sem' isn't known
    include/linux/fs.h:440: error: storage size of `i_atime' isn't known
    include/linux/fs.h:441: error: storage size of `i_mtime' isn't known
    include/linux/fs.h:442: error: storage size of `i_ctime' isn't known
    include/linux/fs.h:449: error: storage size of `i_sem' isn't known
    include/linux/fs.h:450: error: storage size of `i_alloc_sem' isn't known
    include/linux/fs.h:586: error: storage size of `f_owner' isn't known
    include/linux/fs.h:772: error: storage size of `s_umount' isn't known
    include/linux/fs.h:773: error: storage size of `s_lock' isn't known
    include/linux/fs.h:802: error: storage size of `s_vfs_rename_sem' isn't known
    include/linux/skbuff.h:140: error: storage size of `frags' isn't known
    include/linux/kernelcapi.h:65: error: storage size of `recv_sem' isn't known
    include/linux/kernelcapi.h:66: error: storage size of `recv_queue' isn't known
    /usr/src/fritz/src/driver.h:55: error: storage size of `ctrl' isn't known
    {standard input}: Assembler messages:
    {standard input}:3823: Error: symbol `lock' is already defined
    make[2]: *** [/usr/src/fritz/src/main.o] Fehler 1
    make[1]: *** [_module_/usr/src/fritz/src] Fehler 2
    make[1]: Leaving directory `/usr/src/kernel-source-2.6.12-ct-1'
    make: *** [fcpcmcia.ko] Fehler 2
    make: Leaving directory `/usr/src/fritz/src'
    MAIN:Error while making src/fcpcmcia.ko, see install.log!
    MAIN:Could not generate fcpcmcia.ko!
    Stopped.
    ****************************************************


    Ich hatte das auch schon mit kernel-headers-2.6.12-ct-1 versucht
    und den sympolischen Link /lib/modules/2.6.12-ct-1/build
    auf /usr/src/kernel-headers-2.6.12-ct-1 gerichtet.
    Dann bekomme ich noch mehr Fehlermeldungen.


    Es kommt mir so vor als wenn die Quellen alle irgendwie nicht
    zusammen passen ;(


    Hat von euch einer eine Idee?


    Vielen Dank im voraus


    Starsky

    System: VIA Sereniti (Netzteil extern); Epia MII1000; 256MB Ram; 160GB Samsung; TT-DVBS 1.5; LCD 128x64 blau
    Software: CtVDR4; VDR 1.4.7-2 (Tobi/experimental)

    Einmal editiert, zuletzt von Starsky ()

  • Makefile:485: .config: Datei oder Verzeichnis nicht gefunden


    Das dürfe wohl der Fehler sein. Hatte ich letztens auch mal. Ich habe dann die Kernel-Konfiguration nochmals gespeichert. Dann den Kernel gebaut, aber nicht installiert. Danach konnte ich auch die zusätzlichen Module bauen.


    Bin mir allerdings nicht 100% sicher. Insbesondere nicht, ob man das Problem nicht auch ohne Kompilierung des Kernels hinbekommt.


    Gruß
    Wicky

  • Zitat


    Makefile:485: .config: Datei oder Verzeichnis nicht gefunden


    Das dürfe wohl der Fehler sein. Hatte ich letztens auch mal. Ich habe dann die Kernel-Konfiguration nochmals gespeichert. Dann den Kernel gebaut, aber nicht installiert. Danach konnte ich auch die zusätzlichen Module bauen.


    Bin mir allerdings nicht 100% sicher. Insbesondere nicht, ob man das Problem nicht auch ohne Kompilierung des Kernels hinbekommt.


    erst mal danke für die prompte Anwort :]
    Ich habe im Verzeichnis /usr/src/kernel-source-2.6.12-ct-1
    make oldconfig
    aufgerufen, was auch so durchgelaufen ist. Es gibt jetzt auch die Datei
    /usr/src/kernel-source-2.6.12-ct-1/.config
    Wenn ich jetzt versuche Fritz zu kompilieren, ist die install.log 535kb groß ;(


    Was mir komisch vorkommt ist das durch das
    apt-get install build-essential auch das Paket
    linux-kernel-headers installiert wurde und diese Version ist die
    2.5.999-test7-bk-17 und genau diese Dateien werden beim kompilieren
    angemeckert!
    Muss ich da vielleicht was umbiegen nach kernel-headers-2.6.12-ct-1?




    Gruss


    Starsky

    System: VIA Sereniti (Netzteil extern); Epia MII1000; 256MB Ram; 160GB Samsung; TT-DVBS 1.5; LCD 128x64 blau
    Software: CtVDR4; VDR 1.4.7-2 (Tobi/experimental)

  • ich habe in dem Verzeichnis /usr/src/kernel-source-2.6.12-ct-1
    ein make ausgeführt, welches jetzt nach ca. 5 Std. kompilieren fertig ist.


    Jetzt habe ich nochmal versucht Fritz zu übersetzen, und siehe
    da, es funktioniert :D

    Vielen Dank noch mal an Wicky


    Gruss
    Starsky

    System: VIA Sereniti (Netzteil extern); Epia MII1000; 256MB Ram; 160GB Samsung; TT-DVBS 1.5; LCD 128x64 blau
    Software: CtVDR4; VDR 1.4.7-2 (Tobi/experimental)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!