I think the makefile should be modified to have platform specific stuff somehow, so we can fix the second issue you are having.
Actually, FreeBSD is supposed to have linux binary compatibility - is my linux build from my buildserver compatible?
Actually, FreeBSD is supposed to have linux binary compatibility - is my linux build from my buildserver compatible?