[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
install DKU2 module failed.
From: |
A. X |
Subject: |
install DKU2 module failed. |
Date: |
Wed, 02 Nov 2005 15:03:36 +0000 |
Hi all,
I just upgrade my kernel to 2.4.22,and tried to install the nokia dku2
driver ,however when I run the order, it show errors, follwing is detail,,
What's the problem?
address@hidden kernel_2.4]$ pwd
/home/oracle/gnokii-0.6.9/patches/kernel_2.4
address@hidden kernel_2.4]$ ./configure
--with-kernsrcdir=/lib/modules/2.4.22-s
table/build --with-kernmoddir=/lib/modules/2.4.22-stable
configure: creating ./config.status
config.status: creating Makefile
Sources located at /lib/modules/2.4.22-stable/build will be used.
Compiled kernel module will be installed into /lib/modules/2.4.22-stable.
Now type:
$ make
to compile the driver, and then become root and type:
# make install
to install the driver. Next step is to:
# modprobe nokia_dku2
and see the kernel logs to verify whether the driver works. If you have any
prob
lems
doing this, consult gnokii FAQ (distributed withing gnokii tarball or
online at
http://www.gnokii.org/faq.shtml), gnokii wiki (http://wiki.gnokii.org) or
gnokii
users mailing list (http://lists.gnu.org/mailman/listinfo/gnokii-users).
address@hidden kernel_2.4]$ make
cc -O2 -DMODULE -D__KERNEL__
-I/lib/modules/2.4.22-stable/build/include/linux -I
/lib/modules/2.4.22-stable/build/drivers/usb/serial -c -o nokia_dku2.o
nokia_d
ku2.c
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/tty_driver.h:118,
from nokia_dku2.c:27:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in
userla
nd!
In file included from nokia_dku2.c:27:
/usr/include/linux/tty_driver.h:130: field `init_termios' has incomplete
type
In file included from nokia_dku2.c:28:
/usr/include/linux/tty_flip.h: In function `tty_insert_flip_char':
/usr/include/linux/tty_flip.h:13: dereferencing pointer to incomplete type
/usr/include/linux/tty_flip.h:13: `TTY_FLIPBUF_SIZE' undeclared (first use
in th
is function)
/usr/include/linux/tty_flip.h:13: (Each undeclared identifier is reported
only o
nce
/usr/include/linux/tty_flip.h:13: for each function it appears in.)
/usr/include/linux/tty_flip.h:14: dereferencing pointer to incomplete type
/usr/include/linux/tty_flip.h:15: dereferencing pointer to incomplete type
/usr/include/linux/tty_flip.h:16: dereferencing pointer to incomplete type
/usr/include/linux/tty_flip.h: In function `tty_schedule_flip':
/usr/include/linux/tty_flip.h:22: dereferencing pointer to incomplete type
/usr/include/linux/tty_flip.h:22: `tq_timer' undeclared (first use in this
funct
ion)
nokia_dku2.c:31:25: asm/uaccess.h: No such file or directory
In file included from nokia_dku2.c:40:
/lib/modules/2.4.22-stable/build/drivers/usb/serial/usb-serial.h: At top
level:
/lib/modules/2.4.22-stable/build/drivers/usb/serial/usb-serial.h:115: parse
erro
r before "wait_queue_head_t"
/lib/modules/2.4.22-stable/build/drivers/usb/serial/usb-serial.h:115:
warning: n
o semicolon at end of struct or union
/lib/modules/2.4.22-stable/build/drivers/usb/serial/usb-serial.h:120: parse
erro
r before '}' token
/lib/modules/2.4.22-stable/build/drivers/usb/serial/usb-serial.h:152: field
`por
t' has incomplete type
/lib/modules/2.4.22-stable/build/drivers/usb/serial/usb-serial.h:207:
warning: `
struct file' declared inside parameter list
/lib/modules/2.4.22-stable/build/drivers/usb/serial/usb-serial.h:208:
warning: `
struct file' declared inside parameter list
/lib/modules/2.4.22-stable/build/drivers/usb/serial/usb-serial.h:211:
warning: `
struct file' declared inside parameter list
/lib/modules/2.4.22-stable/build/drivers/usb/serial/usb-serial.h:249:
confused b
y earlier errors, bailing out
make: *** [nokia_dku2.o] Error 1
address@hidden kernel_2.4]$
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
- install DKU2 module failed.,
A. X <=