[Mesa-users] [MESA-users] sdk - gcc conflict
Amedeo Romagnolo
amedeoromagnolo at gmail.com
Mon Sep 12 08:39:23 UTC 2022
Hola all,
I'm using Linux version 20.04. I have already encountered this problem a
while ago, but since I tried essentially by random trials I don't remember
how I solved it 😅
Essentially my MESA (latest version) works perfectly, but somehow when I
try to compile with C I get a series of errors that I believe are related
to the SDK. For example I have
In file included from
> /home/aromagnolo/mesasdk/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed/features.h:338,
> from
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/stdio.h:27,
> from singl.c:5:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:492:49: error: missing binary
> operator before token "("
> 492 | #if __GNUC_PREREQ (4,8) || __glibc_clang_prereq (3,5)
> | ^
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:56:17: error:
> missing binary operator before token "("
> 56 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __GLIBC_USE (ISOC2X)
> | ^
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:73:17: error:
> missing binary operator before token "("
> 73 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT) || __GLIBC_USE (ISOC2X)
> | ^
> /usr/include/stdio.h:290:43: error: missing binary operator before token
> "("
> 290 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2)
> | ^
> /usr/include/stdio.h:363:17: error: missing binary operator before token
> "("
> 363 | #if __GLIBC_USE (LIB_EXT2)
> | ^
> /usr/include/stdio.h:405:18: error: missing binary operator before token
> "("
> 405 | #if !__GLIBC_USE (DEPRECATED_SCANF) && !defined __LDBL_COMPAT
> | ^
> /usr/include/stdio.h:449:19: error: missing binary operator before token
> "("
> 449 | # if !__GLIBC_USE (DEPRECATED_SCANF)
> | ^
> /usr/include/stdio.h:567:17: error: missing binary operator before token
> "("
> 567 | #if __GLIBC_USE (DEPRECATED_GETS)
> | ^
> /usr/include/stdio.h:592:43: error: missing binary operator before token
> "("
> 592 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2)
>
(singl.c is one of the C files I'm compiling)
Has any of you encountered this problem before? How did you solve it?
Cheers,
Amedeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220912/4b00e5fc/attachment.htm>
More information about the Mesa-users
mailing list