[hobbit] client compile on SunOS 5.8
Brian Lynch
brianlynch at gmail.com
Thu Jul 28 07:20:55 CEST 2005
Try setting your path to the 'ar' command:
> export PATH=$PATH:/usr/ccs/bin
> make
- Brian
On 7/27/05, 刘正明 <liu-zm at neusoft.com> wrote:
>
> Besides using gcc ( I didn't have that on the first system I tried) . I
> looks like it wants
> "ar" too.
> From the readme I though id didn't need extra software.
>
> bash-2.03# make
> CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT
> -DSunOS -I. -I`pwd`/include" RPATHOPT="" PCREINCDIR="" SSLFLAGS=""
> SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv -lsocket -lnsl"
> BBTOPDIR="/usr/hobbit" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="202.107.117.8<http://202.107.117.8>"
> BBHOSTOS="" make -C lib client
> make[1]: Entering directory `/tmp/hobbit-4.1.0/lib'
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o digest.o digest.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -DBBTOPDIR=\"/usr/hobbit\"
> -DBBLOGDIR=\"\" -DBBHOSTNAME=\"\" -DBBHOSTIP=\"202.107.117.8\"
> -DBBHOSTOS=\"\" -c -o environ.o environ.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o errormsg.o errormsg.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o md5.o md5.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o memory.o memory.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o misc.o misc.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o sendmsg.o sendmsg.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o sig.o sig.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o stackio.o stackio.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I.
> -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o timefunc.o timefunc.c
> ar cr hobbitclient.a digest.o environ.o errormsg.o md5.o memory.o misc.o
> sendmsg.o sig.o stackio.o timefunc.o
> make[1]: ar: Command not found
> make[1]: *** [hobbitclient.a] Error 127
> make[1]: Leaving directory `/tmp/hobbit-4.1.0/lib'
> make: *** [lib-client] Error 2
> bash-2.03# vi Makefile
> "Makefile" 25 lines, 424 characters
>
> Many Thanks and Best Regards,
>
> 刘正明
> ---------------------------------------------
> 东软软件园产业发展有限公司
> Neusoft Park Industrial Development Co., Ltd.
>
> Tel: 86-24-83668304
> Fax: 86-24-23782700
> Http: www.neusoft.com <http://www.neusoft.com>
> Email: liu-zm at neusoft.com
> -----------------------------------
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050727/8ba15a52/attachment.html>
More information about the Xymon
mailing list