Hello,

 

I am facing exactly the same problem as you; that is I can’t compile
dsplink-1.40.05 with codec_engine-2.00.01 and the last kernel from the git
repository.

 

Is someone can explain me how I can rebuild dsplink with the last git
kernel?

Do I have to update all Codec Engine stuff (Codec_engine, dsplink,
framework_component, xdais…) to pass the compilation?

And if I do it, is someone managed to compile dsplink-1.60 with the latest
git kernel?

 

Thanks.

 

Regards,
Jerome 

 

 

  _____  

De : [email protected]
[mailto:[email protected]] De la part
de Kamoolkar, Mugdha
Envoyé : jeudi 11 décembre 2008 17:41
À : Andre Vinicius Mulho Costa; Griffis, Brad
Cc : [email protected]
Objet : RE: Build dsplinkk.ko

 

Andre,

 

Can you try a VERBOSE build and check if you get any pointers:

http://tiexpressdsp.com/wiki/index.php?title=Troubleshooting_DSPLink_build_i
ssues#Problem:_Build_fails._Paths_are_set_correctly

 

By the way, using 1.60 is probably the best option. 1.30.08 did not support
2.6.18+ kernels, so you would get many more errors eventually.

 

Regards,

Mugdha

 

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of
Andre Vinicius Mulho Costa
Sent: Thursday, December 11, 2008 10:06 PM
To: Griffis, Brad
Cc: [email protected]
Subject: Re: Build dsplinkk.ko

Hi,
 Thanks for the reply.
 
 I found the softlink between asm -> asm-arm, and I have permission for
writing in the directory, as we can see: lrwxrwxrwx   1 avmc guto-wg     7
2008-12-11 10:51 asm -> asm-arm

After running "make davinci_evm_dm644x_defconfig" i was able to edit the
.config file. To make the uImage file, i've needed to disable the
CONFIG_AEABI, is this making any difference?

I've tried to compile the dsplinkk.ko using kernel linux 2.6.28-rc4 with
dsplink 1_60 and 1_51 leading exactly to the same error. Can someone show me
the way for doing this?

Thanks again,
André

On Wed, Dec 10, 2008 at 2:08 PM, Griffis, Brad <[email protected]> wrote:

It looks like your problems started here:


asm/arch/param.h: No such file or directory

The "asm" directory is normally a softlink (e.g. to arm-asm) and it gets
created during the "make dm6446_defconfig" step (that might not be the exact
syntax though hopefully you get what I'm saying).  If you either did not run
the "make dm6446_defconfig" step or if you do not have write permissions in
those directories then the asm softlink cannot be created and that file will
not be found.

Brad

________________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of
Andre Vinicius Mulho Costa
Sent: Wednesday, December 10, 2008 7:10 AM
To: [email protected]
Subject: Build dsplinkk.ko


Hi,
   does anybody manage to rebuild dsplinkk.ko with the latest Git Kernel??
   I'm using dvevm_1_20 and dsplink_1_30_08_02 and inserted the following
parameters in davinci_mvlpro4.0.mk :

BASE_BUILDOS    := /export/avmc/linux-davinci-2.6
BASE_CGTOOLS    := /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin
OSINC_TARGET    := /usr/include
BASE_OSLIB      := /usr/lib

I've followed this tutorial:
http://wiki.davincidsp.com/index.php?title=How_to_build_an_ARM/DSP_Hello_Wor
ld_program_on_the_DaVinci_EVM#Building_the_Dsplink_on_arm-linux

Everything goes well until I run "sh -f buildmodule.sh" when i got the
following errors. Can anybody please help me with this?

Thanks
André

.
.
.
Compiling osal.c...
Compiling trc.c...
Compiling cfg.c...
cfg.c: In function `CFG_GetNumValue':
cfg.c:432: warning: unused variable `drvObj'
Compiling dpc.c...
In file included from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:48,
                 from dpc.c:19:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/param.h:14:61: asm/arch/param.h: No such file or directory
In file included from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/page.h:193,
                 from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/cpu-single.h:33,
                 from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/proc-fns.h:154,
                 from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/system.h:95,
                 from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/bitops.h:22,
                 from
/export/avmc/linux-davinci-2.6/include/linux/bitops.h:17,
                 from
/export/avmc/linux-davinci-2.6/include/linux/kernel.h:15,
                 from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:52,
                 from dpc.c:19:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/memory.h:17:29: asm/arch/memory.h: No such file or directory
In file included from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/page.h:193,
                 from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/cpu-single.h:33,
                 from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/proc-fns.h:154,
                 from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/system.h:95,
                 from
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/bitops.h:22,
                 from
/export/avmc/linux-davinci-2.6/include/linux/bitops.h:17,
                 from
/export/avmc/linux-davinci-2.6/include/linux/kernel.h:15,
                 from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:52,
                 from dpc.c:19:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/memory.h: In function `virt_to_phys':
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/memory.h:95: error: `PHYS_OFFSET' undeclared (first use in this function)
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/memory.h:95: error: (Each undeclared identifier is reported only once
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/memory.h:95: error: for each function it appears in.)
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/memory.h: In function `phys_to_virt':
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/memory.h:100: error: `PHYS_OFFSET' undeclared (first use in this
function)
In file included from
/export/avmc/linux-davinci-2.6/include/linux/kernel.h:15,
                 from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:52,
                 from dpc.c:19:
/export/avmc/linux-davinci-2.6/include/linux/bitops.h: In function
`hweight_long':
/export/avmc/linux-davinci-2.6/include/linux/bitops.h:45: warning: implicit
declaration of function `generic_hweight32'
/export/avmc/linux-davinci-2.6/include/linux/bitops.h:45: warning: implicit
declaration of function `hweight64'
/export/avmc/linux-davinci-2.6/include/linux/bitops.h: In function
`fls_long':
/export/avmc/linux-davinci-2.6/include/linux/bitops.h:112: warning: implicit
declaration of function `fls64'
In file included from
/export/avmc/linux-davinci-2.6/include/linux/timex.h:202,
                 from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:54,
                 from dpc.c:19:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/a
sm/timex.h:16:28: asm/arch/timex.h: No such file or directory
In file included from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:55,
                 from dpc.c:19:
/export/avmc/davinci-2.6/include/linux/jiffies.h:247:31: division by zero in
#if
/export/avmc/linux-davinci-2.6/include/linux/jiffies.h:247:31: division by
zero in #if
In file included from
/export/avmc/linux-davinci-2.6/include/linux/mm_types.h:4,
                 from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:61,
                 from dpc.c:19:
/export/avmc/linux-davinci-2.6/include/linux/auxvec.h:4:24: asm/auxvec.h: No
such file or directory
In file included from dpc.c:19:
/export/avmc/linux-davinci-2.6/include/linux/sched.h:66:25: asm/cputime.h:
No such file or directory
In file included from /export/avmc/linux-davinci-2.6/include/linux/gfp.h:4,
                 from
/export/avmc/linux-davinci-2.6/include/linux/slab.h:12,
                 from
/export/avmc/linux-davinci-2.6/include/linux/percpu.h:5,
                 from
/export/avmc/linux-davinci-2.6/include/linux/rcupdate.h:39,
                 from /export/avmc/linux-davinci-2.6/include/linux/sem.h:81,
                 from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:69,
                 from dpc.c:19:
.
.
.
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: At top level:
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:333: error: parse
error before "atomic_long_t"
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:333: warning: no
semicolon at end of struct or union
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:412: error: parse
error before '}' token
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: In function
`zone_set_flag':
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:422: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:422: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: In function
`zone_test_and_set_flag':
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:427: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:427: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: In function
`zone_clear_flag':
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:432: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:432: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: In function
`zone_is_all_unreclaimable':
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:437: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: In function
`zone_is_reclaim_locked':
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:442: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: In function
`zone_is_oom_locked':
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:447: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: At top level:
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:601: error: field
`node_zones' has incomplete type
In file included from /export/avmc/linux-davinci-2.6/include/linux/gfp.h:4,
                 from
/export/avmc/linux-davinci-2.6/include/linux/slab.h:12,
                 from
/export/avmc/linux-davinci-2.6/include/linux/percpu.h:5,
                 from
/export/avmc/linux-davinci-2.6/include/linux/rcupdate.h:39,
                 from /export/avmc/linux-davinci-2.6/include/linux/sem.h:81,
                 from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:69,
                 from dpc.c:19:
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: In function
`populated_zone':
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:673: error:
dereferencing pointer to incomplete type
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h: In function
`is_normal':
/export/avmc/linux-davinci-2.6/include/linux/mmzone.h:722: error:
dereferencing pointer to incomplete type
In file included from /export/avmc/linux-davinci-2.6/include/linux/aio.h:5,
                 from
/export/avmc/linux-davinci-2.6/include/linux/sched.h:342,
                 from dpc.c:19:
/export/avmc/linux-davinci-2.6/include/linux/workqueue.h: At top level:
/export/avmc/linux-davinci-2.6/include/linux/workqueue.h:26: error: parse
error before "atomic_long_t"
/export/avmc/linux-davinci-2.6/include/linux/workqueue.h:26: warning: no
semicolon at end of struct or union
/export/avmc/linux-davinci-2.6/include/linux/workqueue.h:35: error: parse
error before '}' token
/export/avmc/linux-davinci-2.6/include/linux/workqueue.h:40: error: field
`work' has incomplete type
/export/avmc/linux-davinci-2.6/include/linux/workqueue.h:45: error: field
`work' has incomplete type
In file included from dpc.c:19:
.
.
.
ERROR: "COFF_Interface"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "preempt_schedule"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "__ioremap"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "__compat_down_interruptible_failed"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "sys_open"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "TRC_3Print"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "__compat_down_trylock_failed"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "sys_read"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "__compat_up_wakeup"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "sys_lseek"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
ERROR: "TRC_0Print"
[/export/davinci/dvevm_1_20/dsplink_1_30_08_02/packages/dsplink//gpp/BUILD/P
MGR/BIN/DEBUG/dsplinkk.ko] undefined!
make[1]: *** [dsplinkk.o.deb] Error 1
make: *** [trgdeb] Error 2

 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to