[LTP] LTP build issues

Richard Palethorpe rpalethorpe@suse.de
Wed Aug 2 10:20:50 CEST 2017


Hello,

Jan Stancek writes:

> ----- Original Message -----
>> Hi all,
>>
>> I just pulled latest LTP sources and try to build it for the arm64/ilp32 with
>> toolchain provided by Linaro.
>> http://people.linaro.org/~maxim.kuvyrkov/experimental/preview-cross-aarch64-linux-gnu_ilp32.tar.xz
>>
>> And I see that build fails due to multiple reasons. At first I had to revert
>> patches 817d8095f (Rename linux_syscall_numbers.h to lapi/syscalls.h)
>> and 4d0d149c4 (Remove linux_syscall_numbers.h Makefile)
>> because there'ds no lapi/syscalls.h file, and so build becomes broken.
>
> Did you re-run "make autotools" and "./configure"?
> ./include/lapi/syscalls.h should be generated during configure.

Maybe also try 'make distclean' first, then 'make autotools' etc. I
should have put that in the commit message as it is a change to the
build system itself.

>
> If that still doesn't work, you can try it by hand:
> cd ./include/lapi/syscalls
> ./regen.sh
>
>>
>> There are also other reasons for build failures that dirty-fixed in patch
>> below. Could someone comment it and/or share proper fix?
>
> Can you also post build error messages?
>
> Regards,
> Jan

--
Thank you,
Richard.


More information about the ltp mailing list