Thanks for the immediate reply. Your comment about the -G option made me think more, and
I found out that on SOlaris it is used to compile for a shared library, and on Linux has
a different meaning and as you said need an argument. I modified my Linux makefile to include
the -shared option and everything compiled without errors.