keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

Not compile Dahdi with opvxa1200

13 years 9 months ago #6005 by lisa.gao
Please add #include <linux/sched.h> in opvxa1200.c

13 years 9 months ago #6006 by lisa.gao
hi,
Can it work?
Please let us know further information.

Best regards!

13 years 9 months ago #6008 by james.zhu
hi:
please check with this patch in opvxa1200.c:
===================================
#include <linux/kernel.h>
#include <linux/errno.h>
+#include <linux/sched.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
=================
and add this:
#ifdef __KERNEL__
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,1
#include <linux/config.h>
#else
+#include <generated/autoconf.h>
-#include <linux/autoconf.h>
#endif
#endif
===========================================

13 years 9 months ago #6009 by sclif13
Thank you james.zhu and lisa.gao very much!!!
+#include <linux/sched.h> - this work
Time to create page: 0.032 seconds
Powered by Kunena Forum