[Gmsh] Fwd: Error compiling static library

Luca Verzeroli luca.verzeroli at serioplast.com
Mon Jul 2 09:47:05 CEST 2018


Hi,

I'm trying to compile the static library but I obtain error such as

[  0%] Linking CXX static library libgmsh.a
/usr/bin/ar: reopening CMakeFiles/lib.dir/Parser/Gmsh.yy.cpp.o: 
*Operation not permitted*

/usr/bin/ar: libgmsh.a: Error reading 
CMakeFiles/lib.dir/Parser/Gmsh.yy.cpp.o: Operation not permitted
CMakeFiles/lib.dir/build.make:15330: recipe for target 'libgmsh.a' failed
make[3]: *** [libgmsh.a] Error 1
make[3]: *** Deleting file 'libgmsh.a'
CMakeFiles/Makefile2:579: recipe for target 'CMakeFiles/lib.dir/all' failed
make[2]: *** [CMakeFiles/lib.dir/all] Error 2
CMakeFiles/Makefile2:591: recipe for target 'CMakeFiles/lib.dir/rule' failed
make[1]: *** [CMakeFiles/lib.dir/rule] Error 2
Makefile:405: recipe for target 'lib' failed
make: *** [lib] Error 2

Any ideas to solve? I have tried with sudo but nothing to do. CMake 
compiles the files correctly and than... the error. I compiled 
successfully gmsh but not the static library

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180702/75c1d928/attachment.html>


More information about the gmsh mailing list