> Wild guess: > Maybe the problem is that you linked against /usr/lib/libm.so.0 when you > should have linked against /usr/pkg/emul/linux/lib/libm.so.0 ? That is true, but Im unsure on how to link to the linux libm instead of linking to the netbsd libm? What compiler directive should I use to change the linking option? //erik