Forum OpenACS Q&A: ERROR: nssock: multiple target patterns.

I'm trying to compile AOLserver 4.01 (or 4.0) on Rehat 7.1 using the latest gcc 3.3.3 (although I tried it with 2.96 too). I'm getting this error...
gcc -pipe -L../nsthread -L../nsd -o nsd main.o -lnsthread -L/usr/local/lib -ltcl8.4 -ldl  -lpthread -lieee -lm -rdynamic -Wl,-rpath,/usr/local/aolserver/lib -Wl,-rpath,/usr/local/lib
make[1]: Leaving directory `/usr/local/src/aolserver-4.01/nsd'
make[1]: Entering directory `/usr/local/src/aolserver-4.01/nssock'
../include/Makefile.module:111: *** multiple target patterns.  Stop.
make[1]: Leaving directory `/usr/local/src/aolserver-4.01/nssock'
make: *** [all] Error 1
Posted by James Thornton on
Well, I think it was a path problem. I had been compiling it after su-ing from nsadmin (without the "-") -- it compiled fine after I did an "su -".