[LTP] [RFC PATCH v4 0/3] Simplify network setup
Alexey Kodanev
alexey.kodanev@oracle.com
Fri Apr 14 11:44:53 CEST 2017
On 14.04.2017 12:17, Petr Vorel wrote:
> Hi Alexey,
>
>> Silly question, but how did you compile to get this error? I don't get them
>> $ i=testcases/lib/tst_net_vars; rm -fv $i; ma -C `dirname $i`
> Sorry, I mean this:
> $ i=testcases/lib/tst_net_vars; rm -fv $i; make -j$(getconf _NPROCESSORS_ONLN) -C `dirname $i`
> removed 'testcases/lib/tst_net_vars'
> make: Entering directory '/home/pevik/install/src/ltp.git/testcases/lib'
> make -C "/home/pevik/install/src/ltp.git/lib" -f "/home/pevik/install/src/ltp.git/lib/Makefile" all
> make[1]: Entering directory '/home/pevik/install/src/ltp.git/lib'
> make[2]: Entering directory '/home/pevik/install/src/ltp.git/lib/newlib_tests'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/home/pevik/install/src/ltp.git/lib/newlib_tests'
> make[2]: Entering directory '/home/pevik/install/src/ltp.git/lib/tests'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/home/pevik/install/src/ltp.git/lib/tests'
> make[1]: Leaving directory '/home/pevik/install/src/ltp.git/lib'
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -D_FORTIFY_SOURCE=2 -I/home/pevik/install/src/ltp.git/testcases/kernel/include -I../../include -I../../include -I../../include/old/ -L../../lib tst_net_vars.c -lltp -o tst_net_vars
> make: Leaving directory '/home/pevik/install/src/ltp.git/testcases/lib'
Used default options for gcc in OL6, I guess in my case it has --std=gnu89
by default and you have something different, may be gnu99...
Thanks,
Alexey
More information about the ltp
mailing list