You Are Here:

Community: Developer Discussion Boards

#1 Old Problem with Nokia D211 Linux Drivers - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 2
fiveam
Offline
Registered User
Hello,

I downloaded D211 Linux drivers and tried to compile it for 2.4.20 kernel on Knoppix (Debian based) Linux. All I got was errors.

Here goes my errorlog.

root@tiistai:/home/joona/pkg/nokia/d211# make all; make install
set -e; for d in src ui control; do make -C $d ; done
make[1]: Entering directory `/home/joona/pkg/nokia/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: 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':
dtools.c:341: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_lock':
dtools.c:350: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_is_locked':
dtools.c:358: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_unlock':
dtools.c:366: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_lock_bh':
dtools.c:374: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_unlock_bh':
dtools.c:382: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_lock_irqsave':
dtools.c:390: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_unlock_irqrestore':
dtools.c:399: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_del_lock':
dtools.c:408: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_init_tasklet':
dtools.c:479: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_schedule_tasklet':
dtools.c:489: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_enable_tasklet':
dtools.c:498: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_disable_tasklet':
dtools.c:507: warning: concatenation of string literals with __FUNCTION__ is deprecated
dtools.c: In function `dt_kill_tasklet':
dtools.c:516: warning: concatenation of string literals with __FUNCTION__ is deprecated
/usr/src/linux/include/asm/unistd.h: At top level:
dtools.c:777: 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:509: incompatible type for argument 1 of `spin_lock'
dserial.c:517: incompatible type for argument 1 of `spin_unlock'
dserial.c: In function `dser_signal':
dserial.c:533: incompatible type for argument 1 of `spin_lock'
dserial.c:550: incompatible type for argument 1 of `spin_unlock'
dserial.c:554: incompatible type for argument 1 of `spin_unlock'
dserial.c: In function `dser_get_stats':
dserial.c:566: incompatible type for argument 1 of `spin_lock'
dserial.c:571: incompatible type for argument 1 of `spin_unlock'
dserial.c: In function `dser_new':
dserial.c:604: invalid type argument of `unary *'
dserial.c:605: incompatible type for argument 1 of `spin_lock'
dserial.c:636: incompatible type for argument 1 of `spin_unlock'
dserial.c:646: incompatible type for argument 1 of `spin_unlock'
dserial.c: In function `dser_delete':
dserial.c:671: incompatible type for argument 1 of `spin_lock'
dserial.c:685: incompatible type for argument 1 of `spin_unlock'
make[1]: *** [dserial.o] Error 1
make[1]: Leaving directory `/home/joona/pkg/nokia/d211/src'
make: *** [all] Error 2
set -e; for d in src ui control; do make -C $d install ; done
make[1]: Entering directory `/home/joona/pkg/nokia/d211/src'
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:509: incompatible type for argument 1 of `spin_lock'
dserial.c:517: incompatible type for argument 1 of `spin_unlock'
dserial.c: In function `dser_signal':
dserial.c:533: incompatible type for argument 1 of `spin_lock'
dserial.c:550: incompatible type for argument 1 of `spin_unlock'
dserial.c:554: incompatible type for argument 1 of `spin_unlock'
dserial.c: In function `dser_get_stats':
dserial.c:566: incompatible type for argument 1 of `spin_lock'
dserial.c:571: incompatible type for argument 1 of `spin_unlock'
dserial.c: In function `dser_new':
dserial.c:604: invalid type argument of `unary *'
dserial.c:605: incompatible type for argument 1 of `spin_lock'
dserial.c:636: incompatible type for argument 1 of `spin_unlock'
dserial.c:646: incompatible type for argument 1 of `spin_unlock'
dserial.c: In function `dser_delete':
dserial.c:671: incompatible type for argument 1 of `spin_lock'
dserial.c:685: incompatible type for argument 1 of `spin_unlock'
make[1]: *** [dserial.o] Error 1
make[1]: Leaving directory `/home/joona/pkg/nokia/d211/src'
make: *** [install] Error 2

My compiler version is:
gcc version 3.2.1 20020924 (Debian prerelease)

Any ideas how to set it up succesfully?

Thanks in advance.
Joona.

#2 Old RE: Problem with Nokia D211 Linux Drivers - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 452
Nokia_D211_Support
Offline
Regular Contributor
Hello,

Take a look at the answer of the question "d211 doesn't start under linux" (11/21/02 03:55AM). Maybe that would help?

Link:
http://nkn.forum.nokia.com/devrel/threadshow.cfm?mb=3908627747208762&msg=7923320654426137&page=1


Best Regards,

Nokia D211 Support
  « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia