Hello, I want to install Mesa, but I get an error. Can anyone help me? #826
Replies: 11 comments
-
If you see my message please HELP me!! |
Beta Was this translation helpful? Give feedback.
-
Are you using an official release version of MESA? (which version?) Have you installed the MESA SDK? (version?) See: https://docs.mesastar.org/en/latest/installation.html I will close this issue, because installation issues are handled by posting to the MESA users email list with all the appropriate diagnostics info. See: Please follow up by reaching out to the email list if you are still facing issues with the installation |
Beta Was this translation helpful? Give feedback.
-
Mesa-r15140. zip
mesasdk-x86_64-linux-23.7.3.tar.gz
…On Thu, May 22, 2025, 19:51 Philip Mocz ***@***.***> wrote:
Closed #826 <#826> as resolved.
—
Reply to this email directly, view it on GitHub
<#826>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BHZKDH73VH7AMREU6KD6XIL27X2PDAVCNFSM6AAAAAB5WOHZQ2VHI2DSMVQWIX3LMV45UABFIRUXGY3VONZWS33OIV3GK3TUHI5E433UNFTGSY3BORUW63R3GE4TKNZVGU4Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
As @pmocz advises, these are usually handled on the mailing list, where the whole MESA community is more likely to see your issue. That said, this looks to me like an issue because of installing an old version of MESA with a new SDK, which we address in our frequently asked questions. As indicated on the download page for the MESA SDK, SDK versions 20.12.1 or 21.4.1 are the versions that correspond to MESA r15140. If you really want to use that version of MESA, try those versions of the SDK instead. |
Beta Was this translation helpful? Give feedback.
-
Hello and thank you for your help. I changed the Mesa version to
mesa-r23.05.1 to be compatible with the SDK, but I still get an error.
See what it says. Maybe you can take a look and help me.
****************************************************************************************************
cd $MESA_DIR
./install
/home/asus/mesa/const
building const package.
MAKEDEPF90
COMPILE_CMD ../public/const_def.f90
COMPILE_CMD ../public/const_lib.f90
LIB_TOOL libconst.a
MAKEDEPF90
TEST_COMPILE ../src/test_const.f90
LOADER ../tester
export
done
mesa/const has been built, tested, and exported.
************************************************
/home/asus/mesa/utils
building utils package.
COMPILE_CMD ../private/utils_nan_qp.f90
COMPILE_CMD ../private/utils_nan_dp.f90
COMPILE_CMD ../private/utils_nan_sp.f90
COMPILE_CMD ../public/utils_lib.f90
CC ../private/utils_c_system.c
In file included from
/home/asus/mesasdk/lib/gcc/x86_64-pc-linux-gnu/13.1.0/include-fixed/features.h:338,
from /usr/include/dirent.h:25,
from ../private/utils_c_system.c:21:
/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/dirent.h:354:33: error: unknown type name 'size_t'
354 | size_t __nbytes,
| ^~~~~~
/usr/include/dirent.h:62:1: note: 'size_t' is defined in header
'<stddef.h>'; did you forget to '#include <stddef.h>'?
61 | #include <bits/dirent.h>
+++ |+#include <stddef.h>
62 |
In file included from /usr/include/stdio.h:27,
from ../private/utils_c_system.c:25:
/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)
| ^
In file included from /usr/include/stdlib.h:25,
from ../private/utils_c_system.c:26:
/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/stdlib.h:133:35: error: missing binary operator before token "("
133 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:139:35: error: missing binary operator before token "("
139 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:145:35: error: missing binary operator before token "("
145 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:151:36: error: missing binary operator before token "("
151 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:157:36: error: missing binary operator before token "("
157 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:163:36: error: missing binary operator before token "("
163 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:169:37: error: missing binary operator before token "("
169 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:211:17: error: missing binary operator before token "("
211 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
| ^
/usr/include/stdlib.h:225:35: error: missing binary operator before token "("
225 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:231:35: error: missing binary operator before token "("
231 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:237:35: error: missing binary operator before token "("
237 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:243:36: error: missing binary operator before token "("
243 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:249:36: error: missing binary operator before token "("
249 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:255:36: error: missing binary operator before token "("
255 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:261:37: error: missing binary operator before token "("
261 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
In file included from /usr/include/string.h:26,
from ../private/utils_c_system.c:27:
/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/string.h:37:53: error: missing binary operator before token "("
37 | || __glibc_clang_prereq (3, 5))
| ^
/usr/include/string.h:53:62: error: missing binary operator before token "("
53 | #if defined __USE_MISC || defined __USE_XOPEN || __GLIBC_USE (ISOC2X)
| ^
/usr/include/string.h:165:21: error: missing binary operator before token "("
165 | || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X))
| ^
/usr/include/string.h:174:43: error: missing binary operator before token "("
174 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) ||
__GLIBC_USE (ISOC2X)
| ^
../private/utils_c_system.c: In function 'c_mv':
../private/utils_c_system.c:144:14: warning: implicit declaration of
function 'mkstemp'; did you mean 'mkstemps'?
[-Wimplicit-function-declaration]
144 | int fd = mkstemp(dest_temp);
| ^~~~~~~
| mkstemps
make: *** [makefile_base:71: utils_c_system.o] Error 1
/home/asus/mesa/utils/make
FAILED
/home/asus/mesa/utils
./build_and_test FAILED
***********************************************************************************************************************
…On Thu, May 22, 2025 at 10:59 PM Warrick Ball ***@***.***> wrote:
As @pmocz <https://github.com/pmocz> advises, these are usually handled
on the mailing list, where the whole MESA community is more likely to see
your issue.
That said, this looks to me like an issue because of installing an old
version of MESA
<https://docs.mesastar.org/en/latest/faq.html#installing-older-versions-of-mesa>
with a new SDK, which we address in our frequently asked questions
<https://docs.mesastar.org/en/latest/faq.html#installing-older-versions-of-mesa>
.
As indicated on the download page for the MESA SDK
<http://user.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Download>,
SDK versions 20.12.1 or 21.4.1 are the versions that correspond to MESA
r15140. If you really want to use that version of MESA, try those versions
of the SDK instead.
—
Reply to this email directly, view it on GitHub
<#826 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BHZKDH5XCJXJK4PVLIDRAL327YQR7AVCNFSM6AAAAAB5WOHZQ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMRTHA2DOOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Did you install all the prerequisites listed on the MESA SDK website? In the same terminal where MESA is failing to run |
Beta Was this translation helpful? Give feedback.
-
Note also this post from the MESA User mailing list, where the user resolved the issue by deleting MESA and the SDK and starting again. (You'll need to follow the links to the end of the conversation to find them saying that.) https://lists.mesastar.org/pipermail/mesa-users/2022-August/013944.html |
Beta Was this translation helpful? Give feedback.
-
./help
************************************************************************************************************************************************
MESA Version
53578da
uname -a
Linux asus-K42JY 5.4.0-218-generic #238-Ubuntu SMP Mon May 19 10:42:47 UTC
2025 x86_64 x86_64 x86_64 GNU/Linux
gfortran -v
Using built-in specs.
COLLECT_GCC=/home/asus/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/home/asus/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/user/sdk2-tmp/build/gcc/configure CC= CXX=
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk
--with-gmp=/home/user/sdk2-tmp/mesasdk
--with-mpfr=/home/user/sdk2-tmp/mesasdk
--with-mpc=/home/user/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran
--disable-multilib --disable-nls --disable-libsanitizer
--enable-clocale=generic
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.1.0 (GCC)
$MESASDK_ROOT
/home/asus/mesasdk
MESASDK version
x86_64-linux-23.7.3
$PATH
/home/asus/mesasdk/bin:/home/asus/mesasdk/bin:/home/asus/bin:/home/asus/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/asus/Downloads/mesa-r23.05.1/scripts/shmesa
$MESA_DIR
/home/asus/mesa
**************************************************************************************************************************************************************
…On Fri, May 23, 2025 at 11:11 AM Warrick Ball ***@***.***> wrote:
Note also this post from the MESA User mailing list, where the user
resolved the issue by deleting MESA and the SDK and starting again. (You'll
need to follow the links to the end of the conversation to find them saying
that.)
https://lists.mesastar.org/pipermail/mesa-users/2022-August/013944.html
—
Reply to this email directly, view it on GitHub
<#826 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BHZKDHYH3PB25UDQQMAAXZD273GJ7AVCNFSM6AAAAAB5WOHZQ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMRUGM2DGMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It looks like you're on a recent version of Ubuntu. Is that right? Try completely removing MESA and the SDK and trying to install again. If that doesn't work, you're best off posting something the the MESA Users mailing list. I'm personally not sure what the issue is. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot 🌹
…On Fri, May 23, 2025, 13:48 Warrick Ball ***@***.***> wrote:
It looks like you're on a recent version of Ubuntu. Is that right?
Try completely removing MESA and the SDK and trying to install again. If
that doesn't work, you're best off posting something the the MESA Users
mailing list. I'm personally not sure what the issue is.
—
Reply to this email directly, view it on GitHub
<#826 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BHZKDH55I7N7237WSHS3RHD273YXDAVCNFSM6AAAAAB5WOHZQ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMRUGUYTOMQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I see you have |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
sus@asus-K42JY:~/mesa$ ./install
/home/asus/mesa/const
building const package.
MAKEDEPF90
COMPILE_CMD ../public/const_def.f90
COMPILE_CMD ../public/const_lib.f90
LIB_TOOL libconst.a
MAKEDEPF90
TEST_COMPILE ../src/test_const.f
LOADER ../tester
export
done
mesa/const has been built, tested, and exported.
/home/asus/mesa/utils
building utils package.
MAKEDEPF90
COMPILE_CMD ../public/utils_def.f
COMPILE_CMD ../private/utils_dict.f
COMPILE_CMD ../private/utils_idict.f
COMPILE_CMD ../private/utils_system.f90
COMPILE_CMD ../private/utils_openmp.f
COMPILE_CMD ../private/utils_nan_qp.f90
COMPILE_CMD ../private/utils_nan_dp.f90
COMPILE_CMD ../private/utils_nan_sp.f90
COMPILE_CMD ../private/utils_nan.f90
COMPILE_CMD ../public/utils_lib.f
CC ../private/utils_c_system.c
In file included from /home/asus/mesasdk/lib/gcc/x86_64-pc-linux-gnu/13.1.0/include-fixed/features.h:338,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:25,
from ../private/utils_c_system.c:25:
/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/stdlib.h:133:35: error: missing binary operator before token "("
133 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:139:35: error: missing binary operator before token "("
139 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:145:35: error: missing binary operator before token "("
145 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:151:36: error: missing binary operator before token "("
151 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:157:36: error: missing binary operator before token "("
157 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:163:36: error: missing binary operator before token "("
163 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:169:37: error: missing binary operator before token "("
169 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:211:17: error: missing binary operator before token "("
211 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
| ^
/usr/include/stdlib.h:225:35: error: missing binary operator before token "("
225 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:231:35: error: missing binary operator before token "("
231 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:237:35: error: missing binary operator before token "("
237 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:243:36: error: missing binary operator before token "("
243 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:249:36: error: missing binary operator before token "("
249 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:255:36: error: missing binary operator before token "("
255 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:261:37: error: missing binary operator before token "("
261 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
In file included from /usr/include/stdio.h:27,
from ../private/utils_c_system.c:27:
/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)
| ^
In file included from /usr/include/string.h:26,
from ../private/utils_c_system.c:28:
/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/string.h:37:53: error: missing binary operator before token "("
37 | || __glibc_clang_prereq (3, 5))
| ^
/usr/include/string.h:53:62: error: missing binary operator before token "("
53 | #if defined __USE_MISC || defined __USE_XOPEN || __GLIBC_USE (ISOC2X)
| ^
/usr/include/string.h:165:21: error: missing binary operator before token "("
165 | || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X))
| ^
/usr/include/string.h:174:43: error: missing binary operator before token "("
174 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X)
| ^
../private/utils_c_system.c: In function 'c_mv':
../private/utils_c_system.c:202:17: warning: implicit declaration of function 'mkstemp'; did you mean 'mkstemps'? [-Wimplicit-function-declaration]
202 | fTemp = mkstemp(temp);
| ^~~~~~~
| mkstemps
make: *** [makefile_base:73: utils_c_system.o] Error 1
/home/asus/mesa/utils/make
FAILED
/home/asus/mesa/utils
./build_and_test FAILED
asus@asus-K42JY:
/mesa$ cd$ sudo apt-get install --reinstall libc6-dev/$ nano $MESA_DIR/utils/private/utils_c_system.casus@asus-K42JY:
asus@asus-K42JY:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 2,521 kB of archives.
After this operation, 0 B of additional disk space will be used.
Err:1 http://ir.archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dev amd64 2.31-0ubuntu9.17
Temporary failure resolving 'ir.archive.ubuntu.com'
E: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev_2.31-0ubuntu9.17_amd64.deb Temporary failure resolving 'ir.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
asus@asus-K42JY:
$ cd $MESA_DIR/mesa$ /.cleanasus@asus-K42JY:
bash: /.clean: No such file or directory
asus@asus-K42JY:~/mesa$ ./clean
cleaning adipls
make[1]: Entering directory '/home/asus/mesa/adipls/make'
make[1]: Leaving directory '/home/asus/mesa/adipls/make'
make[1]: Entering directory '/home/asus/mesa/adipls/make'
make[1]: Leaving directory '/home/asus/mesa/adipls/make'
cleaning astero
cleaning atm
cleaning auto_diff
cleaning binary
cleaning chem
cleaning colors
cleaning const
cleaning eos
cleaning gyre
cleaning interp_1d
cleaning interp_2d
cleaning ionization
cleaning kap
cleaning math
cleaning mtx
cleaning net
cleaning neu
cleaning num
cleaning rates
cleaning sample
cleaning star
cleaning star_data
cleaning utils
cleaning lib directory.
cleaning include directory.
cleaning rates_data/cache.
finished touch
removing some data to force reinstall
finished clean
asus@asus-K42JY:~/mesa$ ./install
/home/asus/mesa/const
building const package.
MAKEDEPF90
COMPILE_CMD ../public/const_def.f90
COMPILE_CMD ../public/const_lib.f90
LIB_TOOL libconst.a
MAKEDEPF90
TEST_COMPILE ../src/test_const.f
LOADER ../tester
export
done
mesa/const has been built, tested, and exported.
/home/asus/mesa/utils
building utils package.
MAKEDEPF90
COMPILE_CMD ../public/utils_def.f
COMPILE_CMD ../private/utils_dict.f
COMPILE_CMD ../private/utils_idict.f
COMPILE_CMD ../private/utils_system.f90
COMPILE_CMD ../private/utils_openmp.f
COMPILE_CMD ../private/utils_nan_qp.f90
COMPILE_CMD ../private/utils_nan_dp.f90
COMPILE_CMD ../private/utils_nan_sp.f90
COMPILE_CMD ../private/utils_nan.f90
COMPILE_CMD ../public/utils_lib.f
CC ../private/utils_c_system.c
In file included from /home/asus/mesasdk/lib/gcc/x86_64-pc-linux-gnu/13.1.0/include-fixed/features.h:338,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:25,
from ../private/utils_c_system.c:25:
/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/stdlib.h:133:35: error: missing binary operator before token "("
133 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:139:35: error: missing binary operator before token "("
139 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:145:35: error: missing binary operator before token "("
145 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:151:36: error: missing binary operator before token "("
151 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:157:36: error: missing binary operator before token "("
157 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:163:36: error: missing binary operator before token "("
163 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:169:37: error: missing binary operator before token "("
169 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:211:17: error: missing binary operator before token "("
211 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
| ^
/usr/include/stdlib.h:225:35: error: missing binary operator before token "("
225 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:231:35: error: missing binary operator before token "("
231 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:237:35: error: missing binary operator before token "("
237 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:243:36: error: missing binary operator before token "("
243 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:249:36: error: missing binary operator before token "("
249 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:255:36: error: missing binary operator before token "("
255 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:261:37: error: missing binary operator before token "("
261 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
In file included from /usr/include/stdio.h:27,
from ../private/utils_c_system.c:27:
/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)
| ^
In file included from /usr/include/string.h:26,
from ../private/utils_c_system.c:28:
/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/string.h:37:53: error: missing binary operator before token "("
37 | || __glibc_clang_prereq (3, 5))
| ^
/usr/include/string.h:53:62: error: missing binary operator before token "("
53 | #if defined __USE_MISC || defined __USE_XOPEN || __GLIBC_USE (ISOC2X)
| ^
/usr/include/string.h:165:21: error: missing binary operator before token "("
165 | || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X))
| ^
/usr/include/string.h:174:43: error: missing binary operator before token "("
174 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X)
| ^
../private/utils_c_system.c: In function 'c_mv':
../private/utils_c_system.c:202:17: warning: implicit declaration of function 'mkstemp'; did you mean 'mkstemps'? [-Wimplicit-function-declaration]
202 | fTemp = mkstemp(temp);
| ^~~~~~~
| mkstemps
make: *** [makefile_base:73: utils_c_system.o] Error 1
/home/asus/mesa/utils/make
FAILED
/home/asus/mesa/utils
./build_and_test FAILED
asus@asus-K42JY:
/mesa$ cd$ ls -l $MESA_DIR/utils/private/utils_c_system.c/$ echo $MESA_DIRasus@asus-K42JY:
/home/asus/mesa
asus@asus-K42JY:
-rw-r--r-- 1 asus asus 7842 مه 22 18:03 /home/asus/mesa/utils/private/utils_c_system.c
asus@asus-K42JY:
$ tail -n 100 $MESA_DIR/logs/install.log$ gfortran --versiontail: cannot open '/home/asus/mesa/logs/install.log' for reading: No such file or directory
asus@asus-K42JY:
GNU Fortran (GCC) 13.1.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
asus@asus-K42JY:
$ sudo apt-get update$ sudo apt-get upgrade -yErr:1 http://archive.ubuntu.com/ubuntu focal-proposed InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://ir.archive.ubuntu.com/ubuntu focal InRelease
Temporary failure resolving 'ir.archive.ubuntu.com'
Err:3 http://ir.archive.ubuntu.com/ubuntu focal-updates InRelease
Temporary failure resolving 'ir.archive.ubuntu.com'
Err:4 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease
Temporary failure resolving 'ppa.launchpad.net'
Reading package lists... Done
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/focal/InRelease Temporary failure resolving 'ir.archive.ubuntu.com'
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Temporary failure resolving 'ir.archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-proposed/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/focal/InRelease Temporary failure resolving 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
asus@asus-K42JY:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
asus@asus-K42JY:
$ sudo apt-get upgrade$ sudo $MESA_DIR -R 755 $MESA_DIRReading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
asus@asus-K42JY:
sudo: /home/asus/mesa: command not found
asus@asus-K42JY:
$ sudo chmod -R 755 $MESA_DIR$ ls $MESA_DIR/utils/private/utils_c_system.casus@asus-K42JY:
/home/asus/mesa/utils/private/utils_c_system.c
asus@asus-K42JY:
$ cd $MESA_DIR/mesa$ ./installasus@asus-K42JY:
/home/asus/mesa/const
building const package.
make: '../tester' is up to date.
export
done
mesa/const has been built, tested, and exported.
/home/asus/mesa/utils
building utils package.
CC ../private/utils_c_system.c
In file included from /home/asus/mesasdk/lib/gcc/x86_64-pc-linux-gnu/13.1.0/include-fixed/features.h:338,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:25,
from ../private/utils_c_system.c:25:
/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/stdlib.h:133:35: error: missing binary operator before token "("
133 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:139:35: error: missing binary operator before token "("
139 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:145:35: error: missing binary operator before token "("
145 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:151:36: error: missing binary operator before token "("
151 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:157:36: error: missing binary operator before token "("
157 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:163:36: error: missing binary operator before token "("
163 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:169:37: error: missing binary operator before token "("
169 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:211:17: error: missing binary operator before token "("
211 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
| ^
/usr/include/stdlib.h:225:35: error: missing binary operator before token "("
225 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:231:35: error: missing binary operator before token "("
231 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:237:35: error: missing binary operator before token "("
237 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:243:36: error: missing binary operator before token "("
243 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:249:36: error: missing binary operator before token "("
249 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:255:36: error: missing binary operator before token "("
255 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:261:37: error: missing binary operator before token "("
261 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
In file included from /usr/include/stdio.h:27,
from ../private/utils_c_system.c:27:
/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)
| ^
In file included from /usr/include/string.h:26,
from ../private/utils_c_system.c:28:
/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/string.h:37:53: error: missing binary operator before token "("
37 | || __glibc_clang_prereq (3, 5))
| ^
/usr/include/string.h:53:62: error: missing binary operator before token "("
53 | #if defined __USE_MISC || defined __USE_XOPEN || __GLIBC_USE (ISOC2X)
| ^
/usr/include/string.h:165:21: error: missing binary operator before token "("
165 | || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X))
| ^
/usr/include/string.h:174:43: error: missing binary operator before token "("
174 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X)
| ^
../private/utils_c_system.c: In function 'c_mv':
../private/utils_c_system.c:202:17: warning: implicit declaration of function 'mkstemp'; did you mean 'mkstemps'? [-Wimplicit-function-declaration]
202 | fTemp = mkstemp(temp);
| ^~~~~~~
| mkstemps
make: *** [makefile_base:73: utils_c_system.o] Error 1
/home/asus/mesa/utils/make
FAILED
/home/asus/mesa/utils
./build_and_test FAILED
asus@asus-K42JY:
/mesa$ cd/mesa$ tail -n 100 $MESA_DIR/logs/install.log/$ cd $MESA_DIRasus@asus-K42JY:
asus@asus-K42JY:
tail: cannot open '/home/asus/mesa/logs/install.log' for reading: No such file or directory
asus@asus-K42JY:~/mesa$ ./clean
cleaning adipls
make[1]: Entering directory '/home/asus/mesa/adipls/make'
make[1]: Leaving directory '/home/asus/mesa/adipls/make'
make[1]: Entering directory '/home/asus/mesa/adipls/make'
make[1]: Leaving directory '/home/asus/mesa/adipls/make'
cleaning astero
cleaning atm
cleaning auto_diff
cleaning binary
cleaning chem
cleaning colors
cleaning const
cleaning eos
cleaning gyre
cleaning interp_1d
cleaning interp_2d
cleaning ionization
cleaning kap
cleaning math
cleaning mtx
cleaning net
cleaning neu
cleaning num
cleaning rates
cleaning sample
cleaning star
cleaning star_data
cleaning utils
cleaning lib directory.
cleaning include directory.
cleaning rates_data/cache.
finished touch
removing some data to force reinstall
finished clean
asus@asus-K42JY:~/mesa$ ./install
/home/asus/mesa/const
building const package.
MAKEDEPF90
COMPILE_CMD ../public/const_def.f90
COMPILE_CMD ../public/const_lib.f90
LIB_TOOL libconst.a
MAKEDEPF90
TEST_COMPILE ../src/test_const.f
LOADER ../tester
export
done
mesa/const has been built, tested, and exported.
/home/asus/mesa/utils
building utils package.
MAKEDEPF90
COMPILE_CMD ../public/utils_def.f
COMPILE_CMD ../private/utils_dict.f
COMPILE_CMD ../private/utils_idict.f
COMPILE_CMD ../private/utils_system.f90
COMPILE_CMD ../private/utils_openmp.f
COMPILE_CMD ../private/utils_nan_qp.f90
COMPILE_CMD ../private/utils_nan_dp.f90
COMPILE_CMD ../private/utils_nan_sp.f90
COMPILE_CMD ../private/utils_nan.f90
COMPILE_CMD ../public/utils_lib.f
CC ../private/utils_c_system.c
In file included from /home/asus/mesasdk/lib/gcc/x86_64-pc-linux-gnu/13.1.0/include-fixed/features.h:338,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:25,
from ../private/utils_c_system.c:25:
/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/stdlib.h:133:35: error: missing binary operator before token "("
133 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:139:35: error: missing binary operator before token "("
139 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:145:35: error: missing binary operator before token "("
145 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:151:36: error: missing binary operator before token "("
151 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:157:36: error: missing binary operator before token "("
157 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:163:36: error: missing binary operator before token "("
163 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:169:37: error: missing binary operator before token "("
169 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:211:17: error: missing binary operator before token "("
211 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
| ^
/usr/include/stdlib.h:225:35: error: missing binary operator before token "("
225 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:231:35: error: missing binary operator before token "("
231 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:237:35: error: missing binary operator before token "("
237 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:243:36: error: missing binary operator before token "("
243 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:249:36: error: missing binary operator before token "("
249 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:255:36: error: missing binary operator before token "("
255 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:261:37: error: missing binary operator before token "("
261 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
In file included from /usr/include/stdio.h:27,
from ../private/utils_c_system.c:27:
/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)
| ^
In file included from /usr/include/string.h:26,
from ../private/utils_c_system.c:28:
/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/string.h:37:53: error: missing binary operator before token "("
37 | || __glibc_clang_prereq (3, 5))
| ^
/usr/include/string.h:53:62: error: missing binary operator before token "("
53 | #if defined __USE_MISC || defined __USE_XOPEN || __GLIBC_USE (ISOC2X)
| ^
/usr/include/string.h:165:21: error: missing binary operator before token "("
165 | || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X))
| ^
/usr/include/string.h:174:43: error: missing binary operator before token "("
174 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X)
| ^
../private/utils_c_system.c: In function 'c_mv':
../private/utils_c_system.c:202:17: warning: implicit declaration of function 'mkstemp'; did you mean 'mkstemps'? [-Wimplicit-function-declaration]
202 | fTemp = mkstemp(temp);
| ^~~~~~~
| mkstemps
make: *** [makefile_base:73: utils_c_system.o] Error 1
/home/asus/mesa/utils/make
FAILED
/home/asus/mesa/utils
./build_and_test FAILED
asus@asus-K42JY:
/mesa$ cd$ gfortran --version/$ echo $MESA_DIRasus@asus-K42JY:
/home/asus/mesa
asus@asus-K42JY:
GNU Fortran (GCC) 13.1.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
asus@asus-K42JY:
$ ls -l $MESA_DIR/utils/private/utils_c_system.c$ nano $MESA_DIR/utils/private/utils_c_system.c-rwxr-xr-x 1 asus asus 7842 مه 22 18:03 /home/asus/mesa/utils/private/utils_c_system.c
asus@asus-K42JY:
asus@asus-K42JY:
$ cd $MESA_DIR/mesa$ ./cleanasus@asus-K42JY:
cleaning adipls
make[1]: Entering directory '/home/asus/mesa/adipls/make'
make[1]: Leaving directory '/home/asus/mesa/adipls/make'
make[1]: Entering directory '/home/asus/mesa/adipls/make'
make[1]: Leaving directory '/home/asus/mesa/adipls/make'
cleaning astero
cleaning atm
cleaning auto_diff
cleaning binary
cleaning chem
cleaning colors
cleaning const
cleaning eos
cleaning gyre
cleaning interp_1d
cleaning interp_2d
cleaning ionization
cleaning kap
cleaning math
cleaning mtx
cleaning net
cleaning neu
cleaning num
cleaning rates
cleaning sample
cleaning star
cleaning star_data
cleaning utils
cleaning lib directory.
cleaning include directory.
cleaning rates_data/cache.
finished touch
removing some data to force reinstall
finished clean
asus@asus-K42JY:~/mesa$ ./install
/home/asus/mesa/const
building const package.
MAKEDEPF90
COMPILE_CMD ../public/const_def.f90
COMPILE_CMD ../public/const_lib.f90
LIB_TOOL libconst.a
MAKEDEPF90
TEST_COMPILE ../src/test_const.f
LOADER ../tester
export
done
mesa/const has been built, tested, and exported.
/home/asus/mesa/utils
building utils package.
MAKEDEPF90
COMPILE_CMD ../public/utils_def.f
COMPILE_CMD ../private/utils_dict.f
COMPILE_CMD ../private/utils_idict.f
COMPILE_CMD ../private/utils_system.f90
COMPILE_CMD ../private/utils_openmp.f
COMPILE_CMD ../private/utils_nan_qp.f90
COMPILE_CMD ../private/utils_nan_dp.f90
COMPILE_CMD ../private/utils_nan_sp.f90
COMPILE_CMD ../private/utils_nan.f90
COMPILE_CMD ../public/utils_lib.f
CC ../private/utils_c_system.c
In file included from /home/asus/mesasdk/lib/gcc/x86_64-pc-linux-gnu/13.1.0/include-fixed/features.h:338,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:25,
from ../private/utils_c_system.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/stdlib.h:133:35: error: missing binary operator before token "("
133 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:139:35: error: missing binary operator before token "("
139 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:145:35: error: missing binary operator before token "("
145 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:151:36: error: missing binary operator before token "("
151 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:157:36: error: missing binary operator before token "("
157 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:163:36: error: missing binary operator before token "("
163 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:169:37: error: missing binary operator before token "("
169 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:211:17: error: missing binary operator before token "("
211 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
| ^
/usr/include/stdlib.h:225:35: error: missing binary operator before token "("
225 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:231:35: error: missing binary operator before token "("
231 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:237:35: error: missing binary operator before token "("
237 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:243:36: error: missing binary operator before token "("
243 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:249:36: error: missing binary operator before token "("
249 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:255:36: error: missing binary operator before token "("
255 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
/usr/include/stdlib.h:261:37: error: missing binary operator before token "("
261 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
| ^
In file included from /usr/include/stdio.h:27,
from ../private/utils_c_system.c:32:
/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)
| ^
In file included from /usr/include/string.h:26,
from ../private/utils_c_system.c:33:
/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/string.h:37:53: error: missing binary operator before token "("
37 | || __glibc_clang_prereq (3, 5))
| ^
/usr/include/string.h:53:62: error: missing binary operator before token "("
53 | #if defined __USE_MISC || defined __USE_XOPEN || __GLIBC_USE (ISOC2X)
| ^
/usr/include/string.h:165:21: error: missing binary operator before token "("
165 | || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X))
| ^
/usr/include/string.h:174:43: error: missing binary operator before token "("
174 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X)
| ^
../private/utils_c_system.c: In function 'c_mv':
../private/utils_c_system.c:207:17: warning: implicit declaration of function 'mkstemp'; did you mean 'mkstemps'? [-Wimplicit-function-declaration]
207 | fTemp = mkstemp(temp);
| ^~~~~~~
| mkstemps
make: *** [makefile_base:73: utils_c_system.o] Error 1
/home/asus/mesa/utils/make
FAILED
/home/asus/mesa/utils
./build_and_test FAILED
asus@asus-K42JY:
/mesa$ cd$ gfortran -v/$ uname -aasus@asus-K42JY:
Linux asus-K42JY 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
asus@asus-K42JY:
Using built-in specs.
COLLECT_GCC=/home/asus/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/home/asus/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/user/sdk2-tmp/build/gcc/configure CC= CXX= --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk --with-gmp=/home/user/sdk2-tmp/mesasdk --with-mpfr=/home/user/sdk2-tmp/mesasdk --with-mpc=/home/user/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --enable-clocale=generic
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.1.0 (GCC)
asus@asus-K42JY:
$ echo $MESASDK_ROOT$ echo $PATH/home/asus/mesasdk
asus@asus-K42JY:
/home/asus/mesasdk/bin:/home/asus/mesasdk/bin:/home/asus/bin:/home/asus/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
asus@asus-K42JY:
$ echo $MESA_DIR$ $MESA_DIR/build.log/home/asus/mesa
asus@asus-K42JY:
/home/asus/mesa/build.log: line 2: articles: command not found
/home/asus/mesa/build.log: line 4: MESA: command not found
/home/asus/mesa/build.log: line 5: 15140: command not found
Linux asus-K42JY 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
/home/asus/mesa/build.log: line 8: Linux: command not found
Using built-in specs.
COLLECT_GCC=/home/asus/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/home/asus/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/user/sdk2-tmp/build/gcc/configure CC= CXX= --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk --with-gmp=/home/user/sdk2-tmp/mesasdk --with-mpfr=/home/user/sdk2-tmp/mesasdk --with-mpc=/home/user/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --enable-clocale=generic
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.1.0 (GCC)
/home/asus/mesa/build.log: line 11: Using: command not found
/home/asus/mesa/build.log: line 14: Target:: command not found
/home/asus/mesa/build.log: line 15: Configured: command not found
/home/asus/mesa/build.log: line 16: Thread: command not found
/home/asus/mesa/build.log: line 17: Supported: command not found
/home/asus/mesa/build.log: line 18: syntax error near unexpected token
(' /home/asus/mesa/build.log: line 18:
gcc version 13.1.0 (GCC) 'Beta Was this translation helpful? Give feedback.
All reactions