Xymon Mailing List Archive search

Solaris 10 question

3 messages in this thread

list Robert P. McGraw · Tue, 20 Dec 2005 20:05:20 -0500 ·
I am having problem compiling hobbit on a Solaris 10 Sparc host.

I looked through the archive and found the following:

    * To: user-ae9b8668bcde@xymon.invalid
    * Subject: Re: [hobbit] Solution: Need HELP! Compile errors! Solaris 10
    * From: David Gore <user-0ef10ea25696@xymon.invalid>
    * Date: Tue, 17 May 2005 03:05:34 +0000
    * References:
<user-b6a4fcb37369@xymon.invalid>
<user-cf6cf96726f5@xymon.invalid> <user-53b483f5efc2@xymon.invalid>
    * User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Which is exactly the problem I am having.


A solution to the problem was the following:

##
#
Solution:

root (at)
hobbit:/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools>
./mkheaders
fixproto: populating
`/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include'
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root/usr)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root/usr/openwin)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root/usr/openwin/
include)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root/usr/openwin/
include/X11)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/X11)

#
##

This solution is kind of cryptic to me so can someone explain what needs to
be done in simpler terms for a simpler mind.

Also is there a precompiled version that can be downloaded?

Thanks

Robert


Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (XXX) XXX-XXXX
XXX N. University Street                   FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX
list Henrik Størner · Wed, 21 Dec 2005 07:46:13 +0100 ·
quoted from Robert P. McGraw
On Tue, Dec 20, 2005 at 08:05:20PM -0500, McGraw, Robert P. wrote:
I am having problem compiling hobbit on a Solaris 10 Sparc host.

I looked through the archive and found the following:
A solution to the problem was the following:

root (at) hobbit:/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools>
./mkheaders
quoted from Robert P. McGraw
This solution is kind of cryptic to me so can someone explain what needs to
be done in simpler terms for a simpler mind.
As far as I can tell: Login as root, cd to the gcc install directory
( /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools was
the one reported), and run the "mkheaders" tool found in that directory.
Also is there a precompiled version that can be downloaded?
Not that I know of.


Regards,
Henrik
list Charles Jones · Wed, 21 Dec 2005 00:18:15 -0700 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Tue, Dec 20, 2005 at 08:05:20PM -0500, McGraw, Robert P. wrote:
 
Also is there a precompiled version that can be downloaded?
   
I *could* send you mine, but since its not static compiled it still wouldn't work from you if you are missing gcc libraries. Also you should, for security sake, never ask for or accept compiled binaries from strangers :-)

Here is a dump of an ldd of hobbitd on my Solaris10 server, see if you have all of these libs:
# ldd hobbitd
        libresolv.so.2 =>        /lib/libresolv.so.2
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libc.so.1 =>     /lib/libc.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd5.so.1 =>   /lib/libmd5.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
        /platform/SUNW,Ultra-5_10/lib/libmd5_psr.so.1

-Charles