First off, I love xgraph.
Second, I've got some patches to xgraph that:
gcc -Wall
(just some of them, by no means all)
The patches get xgraph working on an Alpha running OpenBSD-3.0. I've also tested them on an Indy running Irix-6.2 using the SGI compiler, so I don't think they break anything for 32-bit, non-gcc compiles, either. They work on an UltraSparc running Solaris-2.8 using gcc-2.95.3, too (though that's not 64-bit code).
Download the diff.
It's a unidiff against
Xgraph from the NS project.
Apply it in the usual way:
cd [xgraph source dir] patch -p1 < [wherever you downloaded the patch]/patch-64b.txtHere,
patch should probably be GNU's patch.
On Solaris, eg, you'd need to run gpatch.
Some of the Makefile changes have to do with using a different version of the GNU auto* utils than what the "standard" NS distribution used.