[Mesa-users] error in installling mesa-r12115

aman awasthi amanawasthi4444 at gmail.com
Sat Feb 20 07:38:34 UTC 2021


Hi sir,
            I am trying to install the mesa-r 12115   on my desktop. I am
getting the following error message which I have attached as a file.


   - version of MESA- ---mesa-r12115
   - version of the SDK--mesasdk-x86_64-linux-20.3.2
   - platform-- Desktop, Ubuntu 20.04.2 LTS

Also

   - uname -a: Linux aman-OptiPlex-9020 5.8.0-43-generic #49~20.04.1-Ubuntu
   SMP Fri Feb 5 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
   - gfortran -v: gcc version 9.2.0 (GCC)
   - echo $MESASDK_ROOT: /home/aman/mesasdk
   - echo $PATH:
   /home/aman/mesasdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Also, I tried the several combination of mesa with mesasdk but I am getting
the same error  for each combination.

Thanks in advance for your help
Aman Awasthi


*In case you are not able to read the attached file the error is as
follows,*

aman at aman-OptiPlex-9020:~$ cd $MESA_DIR
aman at aman-OptiPlex-9020:~/Documents/MESA/mesa-r12115$ ./install

/home/aman/Documents/MESA/mesa-r12115/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/aman/Documents/MESA/mesa-r12115/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/aman/mesasdk/lib/gcc/x86_64-pc-linux-gnu/9.2.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:26:
/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)
      |                                                 ^
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)
      |                 ^
In file included from ../private/utils_c_system.c:26:
/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)
      |                 ^
In file included from ../private/utils_c_system.c:27:
/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)
      |                 ^
In file included from ../private/utils_c_system.c:28:
/usr/include/string.h:37:32: 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:177:17: warning: implicit declaration of
function 'mkstemp'; did you mean 'mkstemps'?
[-Wimplicit-function-declaration]
  177 |         fTemp = mkstemp(temp);
      |                 ^~~~~~~
      |                 mkstemps
make: *** [makefile_base:73: utils_c_system.o] Error 1

/home/aman/Documents/MESA/mesa-r12115/utils/make
FAILED


/home/aman/Documents/MESA/mesa-r12115/utils
./build_and_test FAILED
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210220/e31aec40/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MESA_installation_error
Type: application/octet-stream
Size: 8167 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210220/e31aec40/attachment.obj>


More information about the Mesa-users mailing list