Welches Modul/Treiber für welche Hardware, Kernel compilieren...
-
dasbinom
- Beiträge: 291
- Registriert: 18.11.2002 20:13:33
Beitrag
von dasbinom » 23.04.2006 16:38:28
Hallo Leute,
ich habe folgenden Fehler beim Kompilieren von dazuko
Code: Alles auswählen
/usr/share/modass/packages/dazuko-source: line 58: debian/rules: Datei #
│ oder Verzeichnis nicht gefunden
hat denn von euch schon jemand gehabt und was die Ursache ist ?
"Alte Mathematiker sterben nicht, sie verlieren nur ihre Funktionen."
[Autor: unbekannt]
salve,
dasbinom
-
dasbinom
- Beiträge: 291
- Registriert: 18.11.2002 20:13:33
Beitrag
von dasbinom » 23.04.2006 20:18:25
Ich habe versucht das Paket manuell zu kompilieren - ging auch schief
Hier das Ergebnis
Code: Alles auswählen
/usr/src/modules/dazuko# ./configure
checking host system type... Linux
checking if kernel is SMP... no
checking whether sys_call_table is exported... unknown (assuming yes)
kernel source in /lib/modules/2.6.8-3-686/build... yes
------- Configuration -------
events = ON_OPEN ON_CLOSE ON_EXEC
devfs = no
debug = no
:/usr/src/modules/dazuko# make
gcc -Wall -O -DLINUX -Dlinux dazukoio.c example.c -o example
gcc -Wall -O -DLINUX -Dlinux -pthread dazukoio.c example_mt.c -o example_mt
gcc -Wall -O -DLINUX -Dlinux -D__KERNEL__ -DMODULE -I/lib/modules/2.6.8-3-686/bu ild/include -DON_OPEN_SUPPORT -DON_CLOSE_SUPPORT -DON_EXEC_SUPPORT -c dazuko.c
dazuko.c:175: error: field `nd' has incomplete type
dazuko.c: In function `dazuko_unregister_daemon':
dazuko.c:618: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modul es/2.6.8-3-686/build/include/linux/module.h:567)
dazuko.c: In function `dazuko_register_daemon':
dazuko.c:859: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modul es/2.6.8-3-686/build/include/linux/module.h:555)
dazuko.c: In function `dazuko_get_dentry':
dazuko.c:1718: error: invalid application of `sizeof' to an incomplete type
dazuko.c:1721: warning: implicit declaration of function `path_init'
dazuko.c:1721: error: `LOOKUP_FOLLOW' undeclared (first use in this function)
dazuko.c:1721: error: (Each undeclared identifier is reported only once
dazuko.c:1721: error: for each function it appears in.)
dazuko.c:1721: error: `LOOKUP_POSITIVE' undeclared (first use in this function)
dazuko.c:1727: warning: implicit declaration of function `path_walk'
dazuko.c: In function `dazuko_get_full_filename':
dazuko.c:1843: warning: implicit declaration of function `mntget'
dazuko.c:1843: warning: assignment makes pointer from integer without a cast
dazuko.c:1851: warning: assignment makes pointer from integer without a cast
dazuko.c:1854: warning: implicit declaration of function `__d_path'
dazuko.c:1854: warning: assignment makes pointer from integer without a cast
dazuko.c:1857: warning: implicit declaration of function `mntput'
dazuko.c: In function `dazuko_file_struct_critical_cleanup':
dazuko.c:1926: warning: implicit declaration of function `path_release'
dazuko.c: In function `dazuko_should_scan':
dazuko.c:1985: error: too few arguments to function `permission'
dazuko.c: In function `dazuko_sys_execve':
dazuko.c:2086: error: `PT_DTRACE' undeclared (first use in this function)
dazuko.c: In function `dazuko_sys_open':
dazuko.c:2209: error: dereferencing pointer to incomplete type
dazuko.c:2213: error: dereferencing pointer to incomplete type
dazuko.c:2217: error: dereferencing pointer to incomplete type
dazuko.c: In function `dazuko_sys_close':
dazuko.c:2256: error: dereferencing pointer to incomplete type
dazuko.c:2261: error: dereferencing pointer to incomplete type
dazuko.c:2265: error: dereferencing pointer to incomplete type
dazuko.c: In function `dazuko_init':
dazuko.c:2443: warning: implicit declaration of function `devfs_register_chrdev'
dazuko.c:2444: warning: implicit declaration of function `devfs_register'
dazuko.c:2444: error: `DEVFS_FL_DEFAULT' undeclared (first use in this function)
dazuko.c:2478: warning: implicit declaration of function `fsync_dev'
dazuko.c: In function `dazuko_exit':
dazuko.c:2577: warning: implicit declaration of function `devfs_unregister_chrde v'
dazuko.c:2578: warning: implicit declaration of function `devfs_unregister'
dazuko.c:2578: warning: implicit declaration of function `devfs_find_handle'
dazuko.c:2578: error: `DEVFS_SPECIAL_CHR' undeclared (first use in this function )
dazuko.c: At top level:
dazuko.c:2622: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMB OLS'
dazuko.c:2622: warning: data definition has no type or storage class
make: *** [dazuko.o] Error 1
Vielleicht fehlt ja ein Paket - aber welches?
"Alte Mathematiker sterben nicht, sie verlieren nur ihre Funktionen."
[Autor: unbekannt]
salve,
dasbinom