gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nokia dku 2 - unresolved externals


From: Dario Pedol
Subject: nokia dku 2 - unresolved externals
Date: Sat, 11 Feb 2006 22:54:10 +0100

Greetings

I realy hope you can help me. After trying for a long time, I gave up...

Well here's the hole story:

My goal is to get gnokii working with a Nokia 6230i phone.

That's how my system looks like:

Intel CPU
Debian Sarge 4 / Kernel 2.4.27(-2-386)
...

What I did:

I got gnokii 0.6.9 from www.gnokii.org

Then I tried compiling the kernel patch with make it didn't work. There were
many compiler-errors. After i fixed an error (?) in the header file,
compilation was successful. 

Here are my changes:

#define NOKIA6670_PRODUCT_ID    0x041d
#define NOKIA6680_PRODUCT_ID    0x041e

Instead of:

#define NOKIA6670_PRODUCT_ID    0x041d
#define NOKIA6670_PRODUCT_ID    0x041e

This can't be right, or is it? (Watch the seven/eight). Unless my C-Skills
aren't realy crappy this is an error.

Oh, and I had to remove this line:

nokia_dku2.c
 241: usb_deregister(&nokia_device);

This variable has not been defined...

Anyway... my problem is not at this point. 

"make install" tells me that there were "unresolved externals"..

I ignored this first and put the file into the modules directory.

Executing "modprobe nokia_dku2" gives the following output:

modprobe nokia_dku2
/lib/modules/2.4.27-2-386/kernel/drivers/usb/serial/nokia_dku2.o:
/lib/modules/2.4.27-2-386/kernel/drivers/usb/serial/nokia_dku2.o: unresolved
symbol usb_serial_deregister
/lib/modules/2.4.27-2-386/kernel/drivers/usb/serial/nokia_dku2.o:
/lib/modules/2.4.27-2-386/kernel/drivers/usb/serial/nokia_dku2.o: unresolved
symbol usb_serial_register
/lib/modules/2.4.27-2-386/kernel/drivers/usb/serial/nokia_dku2.o: insmod
/lib/modules/2.4.27-2-386/kernel/drivers/usb/serial/nokia_dku2.o failed
/lib/modules/2.4.27-2-386/kernel/drivers/usb/serial/nokia_dku2.o: insmod
nokia_dku2 failed

Afterwards I tried some silly stuff like "ld nokia_dku2.o usbserial.o"... I
don't think I'm at the right point there.

It seems this functions is defined in usbserial.c (part of the kernel
sources).

What the hell should I do? Do I need some kind of kernel-library or do I
have to recompile the whole kernel with the patch built-in?

I will try furthermore but I won't succeed...

Would be nice if anyone could help me.

Thanks

Dario

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]