Make sure you've installed the latest kernel-source for your new kernel, and
that you reboot after updating the kernel and kernel-source.
You'll get weird error messages like this if the OS is running a different
kernel than you're trying to compile against.
Believe me, I've tried. :)
-wade
> -----Original Message-----
> From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-
> admin@lists.digium.com] On Behalf Of Serge Mankovski
> Sent: Monday, August 18, 2003 7:46 PM
> To: asterisk-users@lists.digium.com
> Subject: [Asterisk-Users] zaptel does not compile anymore
>
> Hi,
> I updated kernel for RH8.0 and updated * from cvs. After that zaptel
> compile
> exits with error. Is it because of new kernel or zaptel source code
> change?
> In any case could somebody help me to fix this problem?
>
> Thanks,
> Serge
> ----------------------------------------
> /usr/src/linux-2.4/include/linux/module.h:196: warning: parameter names
> (without types) in function declaration
> In file included from /usr/src/linux-2.4/include/linux/fs.h:19,
> from /usr/src/linux-2.4/include/linux/capability.h:17,
> from /usr/src/linux-2.4/include/linux/binfmts.h:5,
> from /usr/src/linux-2.4/include/linux/sched.h:9,
> from /usr/src/linux-2.4/include/linux/mm.h:22,
> from /usr/src/linux-2.4/include/linux/slab.h:14,
> from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
> from zaptel.c:37:
> /usr/src/linux-2.4/include/linux/dcache.h: In function `dget':
> /usr/src/linux-2.4/include/linux/dcache.h:254: warning: implicit
> declaration
> of function `__out_of_line_bug_R8b0fd3c5'
> zaptel.c: In function `zaptel_proc_read':
> zaptel.c:415: warning: implicit declaration of function
> `sprintf_R1d26aa98'
> zaptel.c: In function `zt_register_tone_zone':
> zaptel.c:953: warning: implicit declaration of function
`printk_R1b7d4074'
> make: *** [zaptel.o] Error 1
>
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users