Bug introduced v10.0.1 and fixed in 10.0.2
Everything was working fine with WSTP (the successor to MathLink) in 10.0.0. But I upgraded to 10.0.1 today and now I can't compile either my programs (I've changed nothing - the directories to the libraries are the same as before) or the example programs provided with Mathematica.
Running the makefile gives undefined references to every single WSTP function used in the program. For example, for the program
addtwo.c (provided as an example in MMA), I get undefined references to
WSEvaluate and many more.
Has anyone else encountered this problem? Is there something I need to change?
System: Ubuntu 12.04, Mathematica 10.0.1.