Re: [Asterisk-Users] Debian Testing / 2.4.22 / zaptel problems.

2003-12-06 Thread Siggi Langauf
On Thu, 4 Dec 2003, Andrew Gillham wrote:

> Well as far as I can tell, the only version I have on the box is 2.4.22-1.
> I certainly only have 'kernel-headers-2.4.22-1' installed and 'linux'
> symlinked
> to that directory in /usr/src.
>
> Are you saying my /usr/include would be skewed?  Since I thought that
> was from
> the libc6-dev, not really kernel related?

That's true, for anything _but_ compiling kernel modules.
You have to tweak the zaptel Makefile to point to your kernel-headers'
include directory. something like this should do:
KINCLUDES=/usr/src/kernel-headers-2.4.22/include

I had to add -I$(KINCLUDES) to KFLAGS, too, for some obscure reasons, but
maybe that's not necessary, any more.

> I will try removing all of the -dev packages and re-installing them.

That won't help.
And I'd _strongly_ suggest you don't point /usr/include/{linux,asm} to
your current kernel instead of the headers that come with libc. I know
it's tempting, but it will buy you lots trouble if you decide to upgrade
libc...

Cheers,
Siggi
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debian Testing / 2.4.22 / zaptel problems.

2003-12-05 Thread William Waites
On Thu, Dec 04, 2003 at 10:35:13PM -0800, Andrew Gillham wrote:

> Well as far as I can tell, the only version I have on the box is 2.4.22-1.
> I certainly only have 'kernel-headers-2.4.22-1' installed and 'linux' 
> symlinked
> to that directory in /usr/src.

i have not gotten the zaptel drivers to link properly against the
packaged kernels. grab a kernel from ftp.kernel.org, build it,
then build the zaptel drivers against that. 

-- 
/~\  The ASCII Ribbon Campaign
\ /No HTML/RTF in email
 X No Word docs in email
/ \  Respect for open standards
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debian Testing / 2.4.22 / zaptel problems.

2003-12-04 Thread Andrew Gillham
Jeremy McNamara wrote:

Typical version skewTry linking to the kernel source that is 
actually running on the box.


Well as far as I can tell, the only version I have on the box is 2.4.22-1.
I certainly only have 'kernel-headers-2.4.22-1' installed and 'linux' 
symlinked
to that directory in /usr/src.

Are you saying my /usr/include would be skewed?  Since I thought that 
was from
the libc6-dev, not really kernel related?

I will try removing all of the -dev packages and re-installing them.

-Andrew

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debian Testing / 2.4.22 / zaptel problems.

2003-12-04 Thread Jeremy McNamara
Typical version skewTry linking to the kernel source that is 
actually running on the box.



Jeremy McNamara



Andrew Gillham wrote:

I'm having trouble getting zaptel to work on Debian Testing (Sarge) 
with a
2.4.22 kernel.

The errors I am seeing with 'insmod zaptel.o' are:
./zaptel.o: unresolved symbol devfs_unregister_R1c83d91a
./zaptel.o: unresolved symbol remove_wait_queue_R1bc53d4c
./zaptel.o: unresolved symbol __pollwait_R8ee1d6fc
./zaptel.o: unresolved symbol remove_proc_entry_R30e2f8d2
./zaptel.o: unresolved symbol devfs_register_chrdev_R69b94695
./zaptel.o: unresolved symbol proc_mkdir_R57411544
./zaptel.o: unresolved symbol devfs_register_Rbf40312b
./zaptel.o: unresolved symbol devfs_generate_path_R0c78ae56
./zaptel.o: unresolved symbol add_wait_queue_R498065b0
./zaptel.o: unresolved symbol create_proc_entry_Rebcd0c7f
./zaptel.o: unresolved symbol devfs_mk_symlink_R5b830122
./zaptel.o: unresolved symbol devfs_mk_dir_Rbf4f104c
This is with a stock install, with updates, and asterisk / zaptel from 
cvs.
Any ideas?

-Andrew

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Debian Testing / 2.4.22 / zaptel problems.

2003-12-04 Thread Andrew Gillham
I'm having trouble getting zaptel to work on Debian Testing (Sarge) with a
2.4.22 kernel.
The errors I am seeing with 'insmod zaptel.o' are:
./zaptel.o: unresolved symbol devfs_unregister_R1c83d91a
./zaptel.o: unresolved symbol remove_wait_queue_R1bc53d4c
./zaptel.o: unresolved symbol __pollwait_R8ee1d6fc
./zaptel.o: unresolved symbol remove_proc_entry_R30e2f8d2
./zaptel.o: unresolved symbol devfs_register_chrdev_R69b94695
./zaptel.o: unresolved symbol proc_mkdir_R57411544
./zaptel.o: unresolved symbol devfs_register_Rbf40312b
./zaptel.o: unresolved symbol devfs_generate_path_R0c78ae56
./zaptel.o: unresolved symbol add_wait_queue_R498065b0
./zaptel.o: unresolved symbol create_proc_entry_Rebcd0c7f
./zaptel.o: unresolved symbol devfs_mk_symlink_R5b830122
./zaptel.o: unresolved symbol devfs_mk_dir_Rbf4f104c
This is with a stock install, with updates, and asterisk / zaptel from cvs.
Any ideas?
-Andrew

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users