[Xymon] 4.3.5 compile problems Solaris 10 x86

Ralph Mitchell ralphmitchell at gmail.com
Tue Sep 20 02:39:46 CEST 2011


Looks like you're not linking one or more network libraries.  I don't have a
Solaris system to get any closer than that.

Ralph Mitchell


On Mon, Sep 19, 2011 at 8:03 PM, Roland Soderstrom <
rolands at logicaltech.com.au> wrote:

>  Hi,
>
> Can't compile on Solaris 10 x86
>
> ipndbb # pkginfo|grep SMC
> application SMCdb47                          db
> application SMCevtlog                        eventlog
> application SMCexpat                         expat
> application SMCfontc                         fontconfig
> application SMCfping                         fping
> application SMCftype                         freetype
> application SMCgcc                           gcc
> application SMCgd                            gd
> application SMCgviz                          graphviz
> application SMCjpeg                          jpeg
> application SMClibart                        libart_lgpl
> application SMClibpng                        libpng
> application SMCliconv                        libiconv
> application SMClintl                         libintl
> application SMClynx                          lynx
> application SMCmake                          make
> application SMCncurs                         ncurses
> application SMColdap                         openldap
> application SMCossl                          openssl
> application SMCpcre                          pcre
> application SMCrrdt                          rrdtool
> application SMCsasl                          sasl
> application SMCsudo                          sudo
> application SMCxpm                           xpm
> application SMCzlib                          zlib
>
> Should take care of all (most?) dependencies
>
> Configure runs fine
>
> Make fail
> ipndbb # /usr/local/bin/make
> Snip
> ......
>
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
> -I/var/tmp/xymon-4.3.5/include -I/usr/local/include -I. -I../include
> -DSTANDALONE -o loadhosts loadhosts.c ./libxymon.a -lrt
> loadhosts_file.c: In function `load_hostnames':
> loadhosts_file.c:131: warning: 'insavchar' might be used uninitialized in
> this function
> Undefined                       first referenced
>  symbol                             in file
> recv                                ./libxymon.a(sendmsg.o)
> getservbyname                       ./libxymon.a(sendmsg.o)
> gethostbyname                       ./libxymon.a(sendmsg.o)
> socket                              ./libxymon.a(sendmsg.o)
> getsockopt                          ./libxymon.a(sendmsg.o)
> connect                             ./libxymon.a(sendmsg.o)
> inet_aton                           ./libxymon.a(sendmsg.o)
> inet_ntoa                           ./libxymon.a(sendmsg.o)
> shutdown                            ./libxymon.a(sendmsg.o)
> ld: fatal: Symbol referencing errors. No output written to loadhosts
> collect2: ld returned 1 exit status
> make[1]: *** [loadhosts] Error 1
> make[1]: Leaving directory `/var/tmp/xymon-4.3.5/lib'
> make: *** [lib-build] Error 2
> ipndbb #
>
> Any ideas?
> Been googling and found nothing
>
> --
>
>  Best Regards,
>
>    *Roland Soderstrom* | *Senior System Administrator*
>
> *Direct* 03 8643 6485   |   *Mobile* 0425 362 611   |   *Office* 03 8643
> 6444
> *Email* rolands at logicaltech.com.au   |   *Web* www.logicaltech.com.au
>
>  [image: Logicaltech]
>
>
> Disclaimer: This message contains privileged and confidential information
> intended only for the use of the addressee named above.
> If you are not the intended recipient of this message you must not
> disseminate, copy or take any action in reliance on it.
> Any views expressed in this message are those of the individual sender,
> except where the sender specifically states them to be the views of the
> company.
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110919/d9ac01d3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageLT.jpg
Type: image/jpeg
Size: 3773 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110919/d9ac01d3/attachment.jpg>


More information about the Xymon mailing list