-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/10/07 07:20 AM, Ronald Rojas wrote: > Hi everyone, > > I'm having a problem compiling sap-ccms-plugin on 64-bit architecture. > Here's the error: > > /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: > warning: i386 architecture of input file `librfc.a(rfcilib.o)' is > incompatible with i386:x86-64 output > /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: > warning: i386 architecture of input file `librfc.a(cpictlib.o)' is > incompatible with i386:x86-64 output > librfc.a(cpictlib.o): In function `adjust_clock': > /bas/46B/gen/opt/linuxintel/krn/perf/pfclock.c:846: undefined reference > to `__divdi3' > /bas/46B/gen/opt/linuxintel/krn/perf/pfclock.c:846: undefined reference > to `__divdi3' > collect2: ld returned 1 exit status > make[1]: *** [shared] Error 1 > make[1]: Leaving directory > `/usr/local/src/sap-ccms-plugin-0.7.3/src/sap_moni' > make: *** [sap_moni] Error 2
You seem to be missing the 64bit version of librfc (or possibly just trying to use the 32 bit version instead of the 64 bit). Look for a 64bit librfc or install it. Alternatively you can compile your plugin in 32bit if your system supports it and has all the required libraries. The easiest way is to compile it on a 32bit server and copy it over (compiling 32bit on a 64bit linux is doable but usually a bit complex; search google if you want to try it). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHA46D6dZ+Kt5BchYRArlCAJ9VGdAlDrkGDkCdSWeCO4IpBP23igCcCENf jdWPM8RXzmHnFquZEEVlRlc= =e55p -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
