[netperf-talk] Solaris 9 compile issue

Rick Jones rick.jones2 at hp.com
Mon Nov 19 13:45:44 PST 2007


> Of course, I just now tried a TCP_SENDFILE test and it dumped core :)

Turns-out that in my case at least, the code for solaris sendfilev was 
bracketed by if defined(__sun__) and __sun__ isn't defined.  It seems 
that __sun is defined.

If you could check with gcc (I've not got gcc on my system) to see which 
of __sun__ and __sun are defined, that would help a lot.  At least with 
sendfile in general if not in your specific situation.

rick jones


More information about the netperf-talk mailing list