Hello,
I hope this email finds you well. I am currently facing some issues while trying to install LTP-DDT. I obtained the LTP-DDT source code from the following path:
git clone git.ti.com/.../ltp-ddt.git
Problem 1:
I am looking for the alsa header files and libraries listed below:
- alsa-dev (e.g. alsa-dev_1.0.18-r0.1_armv5te.ipk)
- alsa-lib-dev (e.g. alsa-lib-dev_1.0.18-r0.1_armv5te.ipk)
- libasound2 (e.g. libasound2_1.0.18-r0.1_armv5te.ipk)
where can I find these packages?
Problem 2:
Following the steps outlined in the README-DDT file under section 6) "Building LTP-DDT," I tried to cross-compile LTP-DDT using the following steps:
```sh
export ARCH=arm
export CROSS_COMPILE=arm-none-linux-gnueabi-
export PATH=~/Tools/toolchain/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin:$PATH
# Installing headers in the kernel path
make distclean
make tisdk_am335x-evm-rt_defconfig
make menuconfig
make zImage
make headers_install
# Building steps
make autotools
export CROSS_COMPILER=${CROSS_COMPILE}
export CC=${CROSS_COMPILER}gcc
export LD=${CROSS_COMPILER}ld
export AR=${CROSS_COMPILER}ar
export STRIP=${CROSS_COMPILER}strip
export RANLIB=${CROSS_COMPILER}ranlib
export KERNEL_USR_INC=/home/zen/sdk/ti-processor-sdk-linux-rt-am335x-evm-04.03.00.05/board-support/linux-rt-4.9.69+gitAUTOINC+7069a470d5-g7069a470d5/usr/include/
./configure --host=arm-none-linux-gnueabi
make SKIP_IDCHECK=1 clean
make SKIP_IDCHECK=1
```
However, I encountered an error during the 'make' process:
```
CC lib/tst_cgroup.o
CC lib/tst_checkpoint.o
CC lib/tst_checksum.o
In file included from tst_clocks.c:10:0:
../include/tst_timer.h: In function 'tst_ts_from_timespec':
../include/tst_timer.h:614:3: warning: missing initializer [-Wmissing-field-initializers]
../include/tst_timer.h:614:3: warning: (near initialization for 't.ts.libc_ts.tv_nsec') [-Wmissing-field-initializers]
CC lib/tst_clocks.o
CC lib/tst_clone.o
tst_cmd.c:237:2: warning: missing initializer [-Wmissing-field-initializers]
tst_cmd.c:237:2: warning: (near initialization for 'version_parsers[1].cmd') [-Wmissing-field-initializers]
CC lib/tst_cmd.o
CC lib/tst_coredump.o
CC lib/tst_cpu.o
CC lib/tst_crypto.o
tst_device.c:36:25: fatal error: linux/btrfs.h: No such file or directory
compilation terminated.
make[1]: *** [../include/mk/rules.mk:15: tst_device.o] Error 1
make[1]: Leaving directory '/home/zen/Documents/embedded/testsuite/ltp-testsuite/ltp-ddt/ltp-ddt/lib'
make: *** [Makefile:101: lib-all] Error 2
```
I am seeking guidance on resolving this issue. Could you please advise on how to proceed?
Thank you for your time and assistance.
Best regards,
liangzw