Incompatibility with 64bits?

Im trying to install nagios in a 64bits machine but i get this error with all the .o files and cant finish instalation… Is there any way to fix or avoid this?

/usr/bin/ld: warning: i386 architecture of input file comments-cgi.o' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input filexcomments-cgi.o’ is incompatible with i386:x86-64 output

control remote widget
Rc tank
Rc helicopters
Flying lesson
Rc boat
Rc hovercrafts
Rc cars

Sounds like you didn’t run your compiler with 64 bit support enabled. if you’re using gcc try the -m64 flag