compile problem

Perumal, Santoshbabu santoshbabu_perumal at platts.com
Fri Mar 21 21:37:18 CET 2008


Hi,

            When I configure hobbit client getting following error

 

    ./configure --client

 

Configuration script for Hobbit client

 

This script asks a few questions and builds a Makefile to compile Hobbit

 

Checking your make-utility

 

Hobbit normally keeps all of the client configuration files

on the Hobbit server. If you prefer, it is possible to use

a local client configuration file instead - if so, answer

'client' to the next question.

NB: Local configuration requires the PCRE libs on each host.

 

Server side client configuration, or client side [server] ?

 

 

 

Checking for Large File Support ...

ERROR: Compiler doesnt recognize the off_t C type.

 

 

What userid will be running Hobbit [hobbit] ?

 

I cannot complete  hobbit client installation.when I execute make after
confire getting following error

 

  

 make

CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" OSDEF="-DSunOS" RPATHOPT=""
PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv
-lsocket -lnsl" BBTOPDIR="/home/hobbit" BBLOGDIR="" BBHOSTNAME=""
BBHOSTIP="127.0.0.1" BBHOSTOS="" LOCALCLIENT="no" make -C lib client

make[1]: Entering directory `/tmp/hobbit-4.2.0/lib'

gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/hobbit-4.2.0/include -DCLIENTONLY=1 -I. -I../include  -o
test-endianness test-endianness.c

test-endianness.c:15:20: string.h: No such file or directory

In file included from test-endianness.c:16:

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:36:27:
iso/stdio_iso.h: No such file or directory

In file included from test-endianness.c:16:

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:194:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:229:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:230:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:236:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:244:
error: syntax error before "size_t"

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:249:
error: syntax error before "size_t"

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:258:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:260:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:269:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:270:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:271:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:272:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:274:
error: syntax error before "FILE"

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:284:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:293:
error: syntax error before '*' token

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:294:
error: syntax error before "FILE"

/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/stdio.h:295:
error: syntax error before '*' token

test-endianness.c:17:20: stdlib.h: No such file or directory

test-endianness.c:18:20: unistd.h: No such file or directory

test-endianness.c: In function `main':

test-endianness.c:27: warning: implicit declaration of function `strcmp'

test-endianness.c:33: warning: implicit declaration of function `memcpy'

test-endianness.c:38: warning: implicit declaration of function `printf'

test-endianness.c:50: warning: implicit declaration of function
`fprintf'

test-endianness.c:50: error: `stderr' undeclared (first use in this
function)

test-endianness.c:50: error: (Each undeclared identifier is reported
only once

test-endianness.c:50: error: for each function it appears in.)

test-endianness.c:53: warning: implicit declaration of function `fflush'

test-endianness.c:53: error: `stdout' undeclared (first use in this
function)

make[1]: *** [test-endianness] Error 1

make[1]: Leaving directory `/tmp/hobbit-4.2.0/lib'

make: *** [lib-client] Error 2

 

 

that would be great if anyone help me on this to resolve this problem

 

 

 

 

Thanks

Santhoshbabu Perumal

Unix system Administrator

System Engineering, GO & I

The Mcgraw-Hill companies

HTS East Windsor, NJ

609-371-6317 (Desk)

609-385-5016 (work cell)
--------------------------------------------------------

The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer.  The McGraw-Hill Companies, Inc. reserves the right, subject to applicable local law, to monitor and review the content of any electronic message or information sent to or from McGraw-Hill employee e-mail addresses without informing the sender or recipient of the message.
--------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080321/484b3267/attachment.html>


More information about the Xymon mailing list