Hi!
On 09/26/2014 02:48 PM, Zorro Lang wrote:
> Hi Cyril,
>
> Sorry to trouble you,
> I just tried to build ltp code(the newest commit-id is
> 20a99d7d4d4c202ebcc19c5ef17746735cbf9832) on Fedora-20 with
> glibc-2.18-14.fc20 & gcc-4.8.3-7.fc20, but hit below error:
>
> ------
> make[4]: Entering directory
> `/home/zorro/git/upstream/ltp/testcases/kernel/syscalls/readlinkat'
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2
> -Wold-style-definition -D_FORTIFY_SOURCE=2
> -I/home/zorro/git/upstream/ltp/testcases/kernel/include
> -I../../../../include -I../../../../include   -L../../../../lib
> readlinkat01.c   -lltp -o readlinkat01
> In file included from ../../../../include/lapi/vmsplice.h:27:0,
>                    from ../../../../include/lapi/fcntl.h:73,
>                    from ../../../../include/lapi/readlinkat.h:24,
>                    from readlinkat01.c:40:
> ../../../../include/lapi/iovec.h:26:8: error: redefinition of 'struct iovec'
>    struct iovec {
>           ^
> In file included from /usr/include/bits/fcntl-linux.h:38:0,
>                    from /usr/include/bits/fcntl.h:61,
>                    from /usr/include/fcntl.h:35,
>                    from readlinkat01.c:31:
> /usr/include/bits/uio.h:43:8: note: originally defined here
>    struct iovec

It seems you missed /usr/include/sys/uio.h for some reason. If you have 
it, please try to re run configure:

$ make autotools
$ ./configure

Thanks,
Alexey


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to