trying to compile ltp

Alex Hornung ahornung at gmail.com
Wed Dec 9 10:29:48 PST 2009


LTP should be compiled on a linux box and then made to run in the linuxulator.

Thanks for getting started on this.

Cheers,
Alex Hornung

2009/12/9 Pierre Abbat <phma at phma.optus.nu>:
> I tried to compile ltp (to test the linuxulator) and got some error with "yy"
> in it. So I installed flex and bison. I tried again, and got the following:
>
> make[4]: Entering directory
> `/usr/src/ltp-intermediate-20091122/testcases/kernel/security/tomoyo'
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall  -I/usr/src/ltp-intermediate-20091122/testcases/kernel/include -I../../../../include -I../../../../include   -L../../../../lib
> newns.c   -lltp -o newns
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall  -I/usr/src/ltp-intermediate-20091122/testcases/kernel/include -I../../../../include -I../../../../include   -L../../../../lib
> tomoyo_file_test.c   -lltp -o tomoyo_file_test
> make[4]: Leaving directory
> `/usr/src/ltp-intermediate-20091122/testcases/kernel/security/tomoyo'
> make[3]: Leaving directory
> `/usr/src/ltp-intermediate-20091122/testcases/kernel/security'
> make[3]: Entering directory
> `/usr/src/ltp-intermediate-20091122/testcases/kernel/syscalls'
> make[3]: *** No rule to make target
> `/usr/src/ltp-intermediate-20091122/testcases/kernel/syscalls/libevent/test/Makefile',
> needed by `libevent-all'.  Stop.
> make[3]: Leaving directory
> `/usr/src/ltp-intermediate-20091122/testcases/kernel/syscalls'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/usr/src/ltp-intermediate-20091122/testcases/kernel'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/ltp-intermediate-20091122/testcases'
> make: *** [testcases-all] Error 2
>
> Any idea what's wrong? Or should I just download the latest snapshot and try
> again?
>
> Pierre
> --
> li ze te'a ci vu'u ci bi'e te'a mu du
> li ci su'i ze te'a mu bi'e vu'u ci
>





More information about the Users mailing list