pst3.c -m64 and plugins solaris - help


#1

Hello
running in to problems when installing nagios-plugins-1.4.13 on Solaris 7 machine.
./configure looks ok…
make not so ok…
getting error:
cc1: -m64 is not supported by this configuration
pst3.c: In function `main’:
pst3.c:82: warning: assignment makes pointer from integer without a cast

I changed the configure file… to not be 64 and got this error
pst3.c: In function `main’:
pst3.c:82: warning: assignment makes pointer from integer without a cast

from config.log
configure:25669: result: using nagios-plugins internal ps command (pst3) for solaris
configure:25677: using 32bit pst3

bash-2.01$ isainfo -b
64

bash-2.01$ isainfo -v
64-bit sparcv9 applications
32-bit sparc applications


#2

Hi Eva,

I am getting the same error message when trying to make Nagios plugin1.4.13 on Solaris8. If you got the solution of this problem please let me know. It would be great help for me.

Thanks in advance…


#3

I had this problem and fixed it by doing the following:

cd plugins-root vi Makefile
remove/comment out all references to pst3.c (its useless for solaris anyway)
in the current directory run:

Should complete without error.

cd .. make clean && make

Let me know if this helps