Hi, For now, please try instructions at: http://www.mail-archive.com/[EMAIL PROTECTED] om/msg03002.html
Future releases of DSP/BIOS LINK will support kernel versions 2.6.18 and higher. Regards, Mugdha -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JAEHOON LEE Sent: Thursday, November 08, 2007 8:01 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: building dsplink problem with GIT 2.6.23 kernel Dear all. Is there any success to use dsplink in GIT Linux kernel 2.6.23? I'm using GIT 2.6.23 kernel and DVEVM 1.2. When I compiled dsplink with GIT 2.6.23, the errors of compiling dsplink are occurred. when I changed the davinci_mvlpro4.0.mak to use Linux 2.6.10 MVista Kernel, I got everything was OK. But when I changed the kernel to GIT 2.6.23. I couldn't compile dsplink program. Please help us for this problems. [EMAIL PROTECTED]:~/dsplink/gpp/src# make -s all ============================================================== Current Configuration : /root/dsplink/config/CURRENTCFG.MK Created on : NOV 7, 2007 23:59:26 ============================================================== GPP OS = Linux DSP OS = DspBios GPPOSVERSION = 2.6 GPPDISTRIBUTION = davinci_mvlpro4.0 DSPDISTRIBUTION = c64xxp_5.xx_linux GPPPLATFORM = Davinci DSPPLATFORM = Davinci USE_PROC = 1 USE_CHNL = 1 USE_MSGQ = 1 USE_DSP = 1 USE_CHNL_ZCPY_LINK = 1 USE_CHNL_PCPY_LINK = 0 USE_MSGQ_ZCPY_LINK = 1 USE_MSGQ_PCPY_LINK = 0 STATIC_CONFIG = 0 LOADER_TYPE = COFF_LOADER TRACE = 1 PROFILE = 1 PROBE = 1 DAVINCI_VARIANT = 2 ============================================================== [SRC ] ======= DIRS ================== INCLUDE ============ [PROBE ] ======= DIRS ================== INCLUDE ============ [PROBE_USR ] ------- DIRS ------------------ INCLUDE ------------ [PROBE_KNL ] ------- DIRS ------------------ INCLUDE ------------ [GEN ] ------- DIRS ------------------ INCLUDE ------------ [OSAL ] ------- DIRS ------------------ INCLUDE ------------ [LDRV ] ------- DIRS ------------------ INCLUDE ------------ [PMGR ] ------- DIRS ------------------ INCLUDE ------------ [API ] ------- DIRS ------------------ INCLUDE ------------ [SRC ] ======= DIRS ================== DEBUG ============== [PROBE ] ======= DIRS ================== DEBUG ============== [PROBE_USR ] ------- DIRS ------------------ DEBUG -------------- [PROBE_KNL ] ------- DIRS ------------------ DEBUG -------------- [GEN ] ------- DIRS ------------------ DEBUG -------------- [OSAL ] ------- DIRS ------------------ DEBUG -------------- [LDRV ] ------- DIRS ------------------ DEBUG -------------- [PMGR ] ------- DIRS ------------------ DEBUG -------------- [API ] ------- DIRS ------------------ DEBUG -------------- [SRC ] ======= DIRS ================== RELEASE ============ [PROBE ] ======= DIRS ================== RELEASE ============ [PROBE_USR ] ------- DIRS ------------------ RELEASE ------------ [PROBE_KNL ] ------- DIRS ------------------ RELEASE ------------ [GEN ] ------- DIRS ------------------ RELEASE ------------ [OSAL ] ------- DIRS ------------------ RELEASE ------------ [LDRV ] ------- DIRS ------------------ RELEASE ------------ [PMGR ] ------- DIRS ------------------ RELEASE ------------ [API ] ------- DIRS ------------------ RELEASE ------------ [SRC ] ======= DIRS ================== EXPORT ============= [PROBE ] ======= DIRS ================== EXPORT ============= [PROBE_USR ] ------- DIRS ------------------ EXPORT ------------- [PROBE_KNL ] ------- DIRS ------------------ EXPORT ------------- [GEN ] ------- DIRS ------------------ EXPORT ------------- [OSAL ] ------- DIRS ------------------ EXPORT ------------- [LDRV ] ------- DIRS ------------------ EXPORT ------------- [PMGR ] ------- DIRS ------------------ EXPORT ------------- [API ] ------- DIRS ------------------ EXPORT ------------- [SRC ] ======= CLEAN ================= DEBUG ============== [PROBE ] ======= CLEAN ================= DEBUG ============== [PROBE_USR ] ------- CLEAN ----------------- DEBUG -------------- [PROBE_KNL ] ------- CLEAN ----------------- DEBUG -------------- [GEN ] ------- CLEAN ----------------- DEBUG -------------- [OSAL ] ------- CLEAN ----------------- DEBUG -------------- [LDRV ] ------- CLEAN ----------------- DEBUG -------------- [PMGR ] ------- CLEAN ----------------- DEBUG -------------- [API ] ------- CLEAN ----------------- DEBUG -------------- [SRC ] ======= CLEAN ================= RELEASE ============ [PROBE ] ======= CLEAN ================= RELEASE ============ [PROBE_USR ] ------- CLEAN ----------------- RELEASE ------------ [PROBE_KNL ] ------- CLEAN ----------------- RELEASE ------------ [GEN ] ------- CLEAN ----------------- RELEASE ------------ [OSAL ] ------- CLEAN ----------------- RELEASE ------------ [LDRV ] ------- CLEAN ----------------- RELEASE ------------ [PMGR ] ------- CLEAN ----------------- RELEASE ------------ [API ] ------- CLEAN ----------------- RELEASE ------------ [SRC ] ======= INCLUDES =================================== [PROBE ] ======= INCLUDES =================================== [PROBE_USR ] ------- INCLUDES ----------------------------------- [PROBE_USR ] ------- DIRS ------------------ INCLUDE ------------ [PROBE_KNL ] ------- INCLUDES ----------------------------------- [PROBE_KNL ] ------- DIRS ------------------ INCLUDE ------------ [GEN ] ------- INCLUDES ----------------------------------- [GEN ] ------- DIRS ------------------ INCLUDE ------------ [OSAL ] ------- INCLUDES ----------------------------------- [OSAL ] ------- DIRS ------------------ INCLUDE ------------ [LDRV ] ------- INCLUDES ----------------------------------- [LDRV ] ------- DIRS ------------------ INCLUDE ------------ [PMGR ] ------- INCLUDES ----------------------------------- [PMGR ] ------- DIRS ------------------ INCLUDE ------------ [API ] ------- INCLUDES ----------------------------------- [API ] ------- DIRS ------------------ INCLUDE ------------ [SRC ] ======= BLDINFO =============== DEBUG ============== [PROBE ] ======= BLDINFO =============== DEBUG ============== [PROBE_USR ] ------- DIRS ------------------ DEBUG -------------- [PROBE_USR ] ------- BLDINFO --------------- DEBUG -------------- [PROBE_KNL ] ------- DIRS ------------------ DEBUG -------------- [PROBE_KNL ] ------- BLDINFO --------------- DEBUG -------------- [GEN ] ------- DIRS ------------------ DEBUG -------------- [GEN ] ------- BLDINFO --------------- DEBUG -------------- [OSAL ] ------- DIRS ------------------ DEBUG -------------- [OSAL ] ------- BLDINFO --------------- DEBUG -------------- [LDRV ] ------- DIRS ------------------ DEBUG -------------- [LDRV ] ------- BLDINFO --------------- DEBUG -------------- [PMGR ] ------- DIRS ------------------ DEBUG -------------- [PMGR ] ------- BLDINFO --------------- DEBUG -------------- [API ] ------- DIRS ------------------ DEBUG -------------- [API ] ------- BLDINFO --------------- DEBUG -------------- [SRC ] ======= BLDINFO =============== RELEASE ============ [PROBE ] ======= BLDINFO =============== RELEASE ============ [PROBE_USR ] ------- DIRS ------------------ RELEASE ------------ [PROBE_USR ] ------- BLDINFO --------------- RELEASE ------------ [PROBE_KNL ] ------- DIRS ------------------ RELEASE ------------ [PROBE_KNL ] ------- BLDINFO --------------- RELEASE ------------ [GEN ] ------- DIRS ------------------ RELEASE ------------ [GEN ] ------- BLDINFO --------------- RELEASE ------------ [OSAL ] ------- DIRS ------------------ RELEASE ------------ [OSAL ] ------- BLDINFO --------------- RELEASE ------------ [LDRV ] ------- DIRS ------------------ RELEASE ------------ [LDRV ] ------- BLDINFO --------------- RELEASE ------------ [PMGR ] ------- DIRS ------------------ RELEASE ------------ [PMGR ] ------- BLDINFO --------------- RELEASE ------------ [API ] ------- DIRS ------------------ RELEASE ------------ [API ] ------- BLDINFO --------------- RELEASE ------------ [SRC ] ======= OBJECTS =============== DEBUG ============== [PROBE ] ======= OBJECTS =============== DEBUG ============== [PROBE_USR ] ------- DIRS ------------------ DEBUG -------------- [PROBE_USR ] ------- OBJECT ---------------- DEBUG -------------- Compiling probe_usr.c... [PROBE_KNL ] ------- DIRS ------------------ DEBUG -------------- [PROBE_KNL ] ------- OBJECT ---------------- DEBUG -------------- Compiling probe_knl.c... [GEN ] ------- DIRS ------------------ DEBUG -------------- [GEN ] ------- OBJECT ---------------- DEBUG -------------- Compiling gen_utils.c... Compiling list.c... Compiling linklog.c... Compiling coff.c... Compiling coff_64x.c... Compiling coff_55x.c... Compiling coff_int.c... [OSAL ] ------- DIRS ------------------ DEBUG -------------- [OSAL ] ------- OBJECT ---------------- DEBUG -------------- Compiling osal.c... Compiling trc.c... Compiling cfg.c... ==> Here!! Error occurred. Compiling dpc.c... In file included from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/bitops.h:9, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/thread_info .h:20, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/asm/current.h:4, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/capability. h:47, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/sched.h:49, from dpc.c:19: /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/asm/bitops.h: In function `____atomic_set_bit': /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/asm/bitops.h:40: warning: implicit declaration of function `local_irq_save' /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/asm/bitops.h:42: warning: implicit declaration of function `local_irq_restore' In file included from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/sched.h:54, from dpc.c:19: /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:3 3:3: #error You lose. /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/jiffies.h:2 25:31: division by zero in #if In file included from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/asm/semaphore.h:1 0, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/sched.h:62, from dpc.c:19: /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/rwsem.h:24: 65: asm/rwsem.h: No such file or directory In file included from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/memory_hotp lug.h:7, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/mmzone.h:49 3, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/gfp.h:4, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/slab.h:14, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/percpu.h:5, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/rcupdate.h: 41, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/pid.h:4, from /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/sched.h:75, from dpc.c:19: /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/notifier.h: At top level: /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/notifier.h: 62: error: field `rwsem' has incomplete type In file included from dpc.c:19: /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/sched.h:385 : error: field `mmap_sem' has incomplete type In file included from dpc.c:20: /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/interrupt.h : In function `cli': /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/interrupt.h :221: warning: implicit declaration of function `local_irq_disable' /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/interrupt.h : In function `sti': /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/interrupt.h :225: warning: implicit declaration of function `local_irq_enable' /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/interrupt.h : In function `save_flags': /DM6446/workdir/GIT/linux-davinci-2.6-20071106/include/linux/interrupt.h :229: warning: implicit declaration of function `local_save_flags' make[2]: *** [dpc.c.deb] Error 1 make[1]: *** [objdeb] Error 2 make: *** [osal.objdeb] Error 2 [EMAIL PROTECTED]:~/dsplink/gpp/src# _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source