[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make stopping at cfservd.c on HP-UX
From: |
Mark . Burgess |
Subject: |
Re: make stopping at cfservd.c on HP-UX |
Date: |
Sat, 7 Sep 2002 23:33:48 +0200 (MET DST) |
Hi Alan,
the warnings are bogus. Something to do woth your HPUX compiler.
The errors are trivial but fixable. New src/cfservd.c enclosed.
Mark
On 7 Sep, Alan.Kraft@USPTO.GOV wrote:
> Hello to all,
>
> I'm trying to get cfengine-2.0.4 to compile on an HP-UX 11.00 system with
> HP's ANSI C compiler, BerkeleyDB.4.0 and openssl-engine-0.9.6g.
>
>
> I've tried the following ideas from the list archives and FAQ to solve
> problems with unresolved symbols on HPUX :
>
> get a current bison 1.35
> delete cfparse.c, so bison creates a new one
> edit src/Makefile and change the LIBS entry to begin with -lc before -lPW
> CFLAGS "-Ae"
>
> This overcame the unresolved symbols problem, but now make stops with this
> error:
>
>
> source='cfservd.c' object='cfservd.o' libtool=no \
> depfile='.deps/cfservd.Po' tmpdepfile='.deps/cfservd.TPo' \
> depmode=hp /bin/sh ../depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.4.0/include
> -I/usr/local/ssl/include -I /usr/local/BerkeleyDB.4.0/include -I
> usr/local/ssl/include -I/opt/dce/include -Ae
> -I/usr/local/BerkeleyDB.4.0/include -c `test -f 'cfservd.c' || echo
> './'`cfservd.c
> cc: "cfservd.c", line 573: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 573: warning 563: Argument #2 is not the correct type.
> cc: "cfservd.c", line 574: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 574: warning 563: Argument #2 is not the correct type.
> cc: "cfservd.c", line 874: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 874: warning 563: Argument #3 is not the correct type.
> cc: "cfservd.c", line 2031: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2031: warning 563: Argument #2 is not the correct
> type.
> cc: "cfservd.c", line 2031: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2031: warning 563: Argument #3 is not the correct
> type.
> cc: "cfservd.c", line 2086: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2086: warning 563: Argument #1 is not the correct
> type.
> cc: "cfservd.c", line 2104: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2104: warning 563: Argument #1 is not the correct
> type.
> cc: "cfservd.c", line 2130: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2130: warning 563: Argument #2 is not the correct
> type.
> cc: "cfservd.c", line 2136: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2136: warning 563: Argument #2 is not the correct
> type.
> cc: "cfservd.c", line 2161: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2161: warning 563: Argument #2 is not the correct
> type.
> cc: "cfservd.c", line 2161: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2161: warning 563: Argument #3 is not the correct
> type.
> cc: "cfservd.c", line 2179: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2179: warning 563: Argument #2 is not the correct
> type.
> cc: "cfservd.c", line 2184: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2184: warning 563: Argument #2 is not the correct
> type.
> cc: "cfservd.c", line 2194: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2194: warning 563: Argument #2 is not the correct
> type.
> cc: "cfservd.c", line 2545: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2545: warning 563: Argument #2 is not the correct
> type.
> cc: "cfservd.c", line 2545: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2545: warning 563: Argument #4 is not the correct
> type.
> cc: "cfservd.c", line 2569: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2569: warning 563: Argument #2 is not the correct
> type.
> cc: "cfservd.c", line 2609: warning 604: Pointers are not
> assignment-compatible.
> cc: "cfservd.c", line 2609: warning 563: Argument #1 is not the correct
> type.
> cc: "cfservd.c", line 3093: error 1610: Attempting to return value from
> function of type void.
> cc: "cfservd.c", line 3104: error 1610: Attempting to return value from
> function of type void.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
>
> Any help would be much appreciated.
>
> Thanks,
>
> Alan
>
>
>
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cfservd.c
Description: Text document