Looks like it’s trying to use / as a file name - not clear where that comes from though. Run the build with CPPVERBOSE=1 make and post the output here (please use fenced code blocks rather than screenshots) as this should show more detail on where that path is coming from.
The problem is that I am not sure which file this is stemming from. I am using this version, because this one is tested for phantom voxelization in our lab and quality assured. I just want to be consistent with my compiler and cmake versions and the other lab mates, but I might end up just downloading a different one. Nonetheless, I don’t think the error is because of the version. Do you think something is not working anymore?
The \ therefore looks like it’s getting injected somewhere in LDFLAGS, so you’ll have to check first in your application’s GNUmakefile to see if that’s adjusting any link related flags, and then through the Geant4GMake files to track down what’s getting expanded/set to /.