Can't Compile nrpe on Solaris 8 - getopt_long error

Dan Stromberg strombrg at dcs.nac.uci.edu
Tue Mar 1 00:39:57 CET 2005


You need to drum up a version of GNU getopt for your sun.

You can use this program to see if you already have it somewhere on your
system in common places:

http://dcs.nac.uci.edu/~strombrg/find-sym.html

Usage would be like:

find-sym -s getopt_long

On Sun, 2005-02-27 at 11:15 -0800, Naman Latif wrote:
> Hi,
> I am getting the below error when compiling NRPE on a SPARC Solaris 8 machine
> 
> gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONF
> IG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib/  -lssl -lcrypto -lnsl -lsocket
> /local1/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.0/../../../../sparc-sun-so
> laris2.8/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
> /var/tmp//ccvz71wu.o: In function `process_arguments':
> /var/tmp//ccvz71wu.o(.text+0x18ec): undefined reference to `getopt_long'
> /var/tmp//ccvz71wu.o(.text+0x1944): undefined reference to `getopt_long'
> collect2: ld returned 1 exit status
> 
> 
> Any Help ?
> 
> \\ Naman
> 
>  
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050228/db03bcb5/attachment.sig>


More information about the Users mailing list