AnsweredAssumed Answered

IRQ Schedule latency test build fail

Question asked by Ashish on Jun 19, 2012
Latest reply on Jun 19, 2012 by Aaronwu

Hi,

I encountered build failure for IRQ Schedule latency test. The below log indicates compilation error for file timerbench.c

uClinux distro version: current 2011R1 Head

toolchain: 2011R1-RC4

Platform: TLL6527M

 

Seems the file needs to be updated for the current kernel. Could you please check into this.

make[6]: Entering directory `/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test'

CFLAGS="" CPPFLAGS="" LDFLAGS="" make ARCH=blackfin   CROSS_COMPILE=bfin-uclinux- -C /home/ashish/Software/2011R1_sources/uclinux-distro/linux-2.6.x SUBDIRS=$PWD modules

make[7]: Entering directory `/home/ashish/Software/2011R1_sources/uclinux-distro/linux-2.6.x'

  CC [M]  /home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.o

/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.c: In function ‘tb_open’:

/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.c:221: error: implicit declaration of function ‘init_MUTEX’

/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.c: In function ‘tb_ioctl’:

/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.c:310: error: implicit declaration of function ‘kmalloc’

/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.c:310: warning: assignment makes pointer from integer without a cast

/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.c: At top level:

/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.c:495: error: unknown field ‘ioctl’ specified in initializer

/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.c:495: warning: initialization from incompatible pointer type

make[8]: *** [/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test/timerbench.o] Error 1

make[7]: *** [_module_/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test] Error 2

make[7]: Leaving directory `/home/ashish/Software/2011R1_sources/uclinux-distro/linux-2.6.x'

make[6]: *** [module] Error 2

make[6]: Leaving directory `/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test/latency-test'

make[5]: *** [all] Error 2

make[5]: Leaving directory `/home/ashish/Software/2011R1_sources/uclinux-distro/user/blkfin-test'

make[4]: *** [blkfin-test] Error 2

make[4]: Leaving directory `/home/ashish/Software/2011R1_sources/uclinux-distro/user'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/ashish/Software/2011R1_sources/uclinux-distro/user'

make[2]: *** [subdirs] Error 1

make[2]: Leaving directory `/home/ashish/Software/2011R1_sources/uclinux-distro'

make[1]: *** [single_] Error 2

make[1]: Leaving directory `/home/ashish/Software/2011R1_sources/uclinux-distro'

make: *** [single] Error 2

 

Best regards,

Ashish

Outcomes