* [LTP] ltp build error
@ 2021-02-04 1:15 =?unknown-8bit?b?5p2o5rWp?=
2021-02-09 10:07 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: =?unknown-8bit?b?5p2o5rWp?= @ 2021-02-04 1:15 UTC (permalink / raw)
To: ltp
Hello, I failed to build, can you help me?
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210204/c84cd14d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ltp.tar.gz
Type: application/gzip
Size: 52246 bytes
Desc: not available
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210204/c84cd14d/attachment-0001.gz>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [LTP] ltp build error
2021-02-04 1:15 [LTP] ltp build error =?unknown-8bit?b?5p2o5rWp?=
@ 2021-02-09 10:07 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2021-02-09 10:07 UTC (permalink / raw)
To: ltp
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-09 10:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-04 1:15 [LTP] ltp build error =?unknown-8bit?b?5p2o5rWp?=
2021-02-09 10:07 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox