On Fri, 2020-03-06 at 09:38 +0530, Dr Priyanka Jain wrote: > -- Build files have been written to: /home/NFS/37_hg/freebayes/build > /usr/bin/gmake: unrecognized option '--jobserver-auth=3,4'
This means that the version of make being invoked as a sub-make is different from the version of make you invoked from the command line. This is why all makefiles should always use '$(MAKE)' when invoking submakes and never hardcode a name like 'make' directly. The '$(MAKE)' variable should always contain the currently-running instance of make. You can see that you are running 'make -j4' but somehow the build system is trying to invoke '/usr/bin/gmake' which is a different version of make. I can't explain why that would happen; I think makefiles generated by cmake are usually written correctly. Maybe there's a bug in cmake or maybe the cmake files you're using are trying to directly invoke make somehow. The simplest solution is for you to run the same version of make that cmake wants, which in this case appears to be '/usr/bin/gmake'.