Looks like that flag is being pulled in from the tcl compilation flags. GCC claims it's a great thing, I suppose there's some rationale to it. In any case, it can also be fixed by updating the definition of NS_EXPORT in include/nsthread.h:
#else # if __GNUC__ >= 4 # define NS_EXPORT __attribute__ ((visibility ("default"))) # else # define NS_EXPORT # endif /* __GNUC__ >= 4 */ I've checked in this change. -J John Buckman from BookMooch wrote: > I've fixed my aolserver build process -- I believe that the following C > Flag: > > -fvisibility=hidden > > is the problem and should be removed from ns.make. > > -fvisibility=hidden appears to hide the nsthread libraries from the rest > of nsd, and thus creates a link error. > > I removed it from include/ns.mak and the aolserver build process on both > linux and osx now work. > > -john > > > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > _______________________________________________ > aolserver-talk mailing list > aolserver-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/aolserver-talk > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ aolserver-talk mailing list aolserver-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aolserver-talk