From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] ltp build error
Date: Tue, 9 Feb 2021 11:07:35 +0100 [thread overview]
Message-ID: <YCJe54ZzREDRJ+tQ@yuki.lan> (raw)
In-Reply-To: <CAD5BMqCdJXgqu2kwaRjD7=SRORDGoxENnRXBG5UrwvsmtjOzrQ@mail.gmail.com>
Hi!
You should have just send the relevant part of the log which is:
CC testcases/kernel/syscalls/getpgrp/getpgrp01
In file included from ../../../../include/tst_test.h:14,
from ustat01.c:9:
/usr/include/x86_64-linux-gnu/bits/ustat.h:24:8: error: redefinition of ?~@~Xstruct statfs?~@~Y
struct ustat
^~~~~
In file included from ../../../../include/tst_test.h:14,
from ustat02.c:10:
/usr/include/x86_64-linux-gnu/bits/ustat.h:24:8: error: redefinition of ?~@~Xstruct statfs?~@~Y
struct ustat
^~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/statfs.h:25,
from /usr/include/x86_64-linux-gnu/sys/vfs.h:4,
from ../../../../include/tst_safe_macros.h:14,
from ../../../../include/tst_test.h:93,
from ustat01.c:9:
/usr/include/x86_64-linux-gnu/bits/statfs.h:24:8: note: originally defined here
struct statfs
^~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/statfs.h:25,
from /usr/include/x86_64-linux-gnu/sys/vfs.h:4,
from ../../../../include/tst_safe_macros.h:14,
from ../../../../include/tst_test.h:93,
from ustat02.c:10:
/usr/include/x86_64-linux-gnu/bits/statfs.h:24:8: note: originally defined here
struct statfs
^~~~~~
In file included from ../../../../include/tst_test.h:14,
from ustat01.c:9:
/usr/include/x86_64-linux-gnu/sys/ustat.h:33:12: error: conflicting types for ?~@~Xstatfs?~@~Y
extern int ustat (__dev_t __dev, struct ustat *__ubuf) __THROW;
^~~~~
In file included from ../../../../include/tst_test.h:14,
from ustat02.c:10:
/usr/include/x86_64-linux-gnu/sys/ustat.h:33:12: error: conflicting types for ?~@~Xstatfs?~@~Y
extern int ustat (__dev_t __dev, struct ustat *__ubuf) __THROW;
^~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/vfs.h:4,
from ../../../../include/tst_safe_macros.h:14,
from ../../../../include/tst_test.h:93,
from ustat01.c:9:
/usr/include/x86_64-linux-gnu/sys/statfs.h:31:12: note: previous declaration of ?~@~Xstatfs?~@~Y was here
extern int statfs (const char *__file, struct statfs *__buf)
^~~~~~
This basically says that you have duplicate definitions of the statfs in your
system headers i.e. they are both in sys/statfs.h and sys/vfs.h.
And usually the vfs.h just includes statfs.h, so it really looks like your
system, more specifically libc headers are horribly broken.
--
Cyril Hrubis
chrubis@suse.cz
prev parent reply other threads:[~2021-02-09 10:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 1:15 [LTP] ltp build error =?unknown-8bit?b?5p2o5rWp?=
2021-02-09 10:07 ` Cyril Hrubis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YCJe54ZzREDRJ+tQ@yuki.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox