neosl
10.02.02, 01:06
hab mittlerweile echt kein bock mehr auf linux.... nix läuft... alles muss man neu kompilieren und kaum was ist dokumentiert...
das kompilieren eines neuen pppox moduls schlägt fehl... vielleicht weiss ja irgendjemand, was faul ist... ich nutze den kerner 2.4.4
gcc -O2 -Wall -D__KERNEL__ -DMODULE -I./ -I/usr/src/linux/include -fno-strict-aliasing -c -o pppox.o pppox.c
In file included from pppox.c:65:
pppoe.h:36: warning: `struct device' declared inside parameter list
pppoe.h:36: warning: its scope is only this definition or declaration, which is probably not what you want.
pppox.c:79: warning: initialization from incompatible pointer type
pppox.c: In function `pppox_close':
pppox.c:131: warning: implicit declaration of function `start_bh_atomic'
pppox.c:134: warning: implicit declaration of function `end_bh_atomic'
pppox.c: In function `pppoe_write':
pppox.c:244: dereferencing pointer to incomplete type
pppox.c:246: dereferencing pointer to incomplete type
pppox.c:250: warning: assignment from incompatible pointer type
pppox.c:254: dereferencing pointer to incomplete type
pppox.c:260: dereferencing pointer to incomplete type
pppox.c: At top level:
pppox.c:501: conflicting types for `pppoe_rcv'
pppoe.h:36: previous declaration of `pppoe_rcv'
pppox.c: In function `pox_ioctl':
pppox.c:602: warning: assignment from incompatible pointer type
pppox.c:607: dereferencing pointer to incomplete type
pppox.c:607: dereferencing pointer to incomplete type
pppox.c: In function `cleanup_module':
pppox.c:664: warning: implicit declaration of function `synchronize_bh'
make: *** [pppox.o] Error 1
das kompilieren eines neuen pppox moduls schlägt fehl... vielleicht weiss ja irgendjemand, was faul ist... ich nutze den kerner 2.4.4
gcc -O2 -Wall -D__KERNEL__ -DMODULE -I./ -I/usr/src/linux/include -fno-strict-aliasing -c -o pppox.o pppox.c
In file included from pppox.c:65:
pppoe.h:36: warning: `struct device' declared inside parameter list
pppoe.h:36: warning: its scope is only this definition or declaration, which is probably not what you want.
pppox.c:79: warning: initialization from incompatible pointer type
pppox.c: In function `pppox_close':
pppox.c:131: warning: implicit declaration of function `start_bh_atomic'
pppox.c:134: warning: implicit declaration of function `end_bh_atomic'
pppox.c: In function `pppoe_write':
pppox.c:244: dereferencing pointer to incomplete type
pppox.c:246: dereferencing pointer to incomplete type
pppox.c:250: warning: assignment from incompatible pointer type
pppox.c:254: dereferencing pointer to incomplete type
pppox.c:260: dereferencing pointer to incomplete type
pppox.c: At top level:
pppox.c:501: conflicting types for `pppoe_rcv'
pppoe.h:36: previous declaration of `pppoe_rcv'
pppox.c: In function `pox_ioctl':
pppox.c:602: warning: assignment from incompatible pointer type
pppox.c:607: dereferencing pointer to incomplete type
pppox.c:607: dereferencing pointer to incomplete type
pppox.c: In function `cleanup_module':
pppox.c:664: warning: implicit declaration of function `synchronize_bh'
make: *** [pppox.o] Error 1