makefile - missing separator
I am trying to compile a JNI example from:
Using this make file:
gcc -o libnativelib.so -shared -Wl,-soname,libnative.so
I get this error:
makefile:1: *** missing separator. Stop.
From what i read, this error is caused by using spaces instead of tabs in the 'blank' spots, or possibly vice-versa. I've tried replacing all the spaces with tabs and then all the tabs with spaces, but either way it doesn't work.
What can I do?
things to try
Make sure you use a pure text editor (VI for example, compared to staroffice, VI is a pure ascii text editor)
Make sure there is exactly one space between items
the answer is that this is not a makefile at all, just a compile statement
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL