| « Previous Thread | Next Thread » |
|
I have a same kind of problem. My platform is Knoppix-Debian with 2.4.20-xfs and gcc version 2.95.4.
I get also errors like this before those: dtools.c: In function `dt_init_timer': dtools.c:297: warning: concatenation of string literals with __FUNCTION__ is deprecated dtools.c: In function `dt_mod_timer': dtools.c:310: warning: concatenation of string literals with __FUNCTION__ is deprecated dtools.c: In function `dt_del_timer': dtools.c:319: warning: concatenation of string literals with __FUNCTION__ is deprecated dtools.c: In function `dt_free_timer': dtools.c:329: warning: concatenation of string literals with __FUNCTION__ is deprecated dtools.c: In function `dt_init_lock': Any ideas how to fix it up? Thanks in advance. Joona. |
|
As I had some problems with previous Linux drivers, I downloaded present drivers (1.02). However, now it does not even compile - i.e. after make all, following errors occur:
[root@localhost d211]# make all set -e; for d in src ui control; do make -C $d ; done make[1]: Entering directory `/usr/src/d211/src' gcc -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -D__KERNEL__ -DMODULE -I../include -I/usr/src/linux/include -c dllc.c chmod -x dllc.o gcc -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -D__KERNEL__ -DMODULE -I../include -I/usr/src/linux/include -c dmodule.c chmod -x dmodule.o gcc -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -D__KERNEL__ -DMODULE -I../include -I/usr/src/linux/include -c dtools.c dtools.c:753: warning: `wld_poll' defined but not used chmod -x dtools.o gcc -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -D__KERNEL__ -DMODULE -I../include -I/usr/src/linux/include -c dserial.c dserial.c: In function `dser_open': dserial.c:106: incompatible type for argument 1 of `spin_lock' dserial.c:114: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_close': dserial.c:154: incompatible type for argument 1 of `spin_lock' dserial.c:161: incompatible type for argument 1 of `spin_unlock' dserial.c:189: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_write': dserial.c:252: incompatible type for argument 1 of `spin_lock' dserial.c:256: incompatible type for argument 1 of `spin_unlock' dserial.c:259: incompatible type for argument 1 of `spin_unlock' dserial.c:270: incompatible type for argument 1 of `spin_lock' dserial.c:276: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_write_room': dserial.c:300: incompatible type for argument 1 of `spin_lock' dserial.c:306: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_set_signals': dserial.c:340: incompatible type for argument 1 of `spin_lock' dserial.c:349: incompatible type for argument 1 of `spin_unlock' dserial.c:360: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_ioctl': dserial.c:385: incompatible type for argument 1 of `spin_lock' dserial.c:387: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_receive': dserial.c:437: incompatible type for argument 1 of `spin_lock' dserial.c:441: incompatible type for argument 1 of `spin_unlock' dserial.c:485: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_wake_up_write': dserial.c:507: incompatible type for argument 1 of `spin_lock' dserial.c:515: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_signal': dserial.c:529: incompatible type for argument 1 of `spin_lock' dserial.c:546: incompatible type for argument 1 of `spin_unlock' dserial.c:550: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_get_stats': dserial.c:560: incompatible type for argument 1 of `spin_lock' dserial.c:565: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_new': dserial.c:598: invalid type argument of `unary *' dserial.c:599: incompatible type for argument 1 of `spin_lock' dserial.c:630: incompatible type for argument 1 of `spin_unlock' dserial.c:640: incompatible type for argument 1 of `spin_unlock' dserial.c: In function `dser_delete': dserial.c:665: incompatible type for argument 1 of `spin_lock' dserial.c:679: incompatible type for argument 1 of `spin_unlock' make[1]: *** [dserial.o] Error 1 make[1]: Leaving directory `/usr/src/d211/src' make: *** [all] Error 2 [root@localhost d211]# Before this I made make uninstall + make clean Any idea how to proceed ? (Kernel is 2.4.18-3) Pekka |
|
Hello,
This seems a bit odd. Couple of things came to my mind that might be worth to check: 1) Delete the old D211 directory (i.e. the driver directory), unpack the packages again and try to compile. 2) Check d211/config.mk configuration data and make sure it is absolutely correct. 3) Are you using SMP kernel? Driver has only been tested in single processor laptops (i.e. with kernel that has no SMP support) so we cannot quarantee that SMP kernel works 100%. Best Regards, Nokia D211 Support |
| « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|