help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem with compiling cfengine-2.0.5pre on HP-UX 11i


From: Jieming Wang
Subject: RE: Problem with compiling cfengine-2.0.5pre on HP-UX 11i
Date: Thu, 10 Oct 2002 17:15:01 -0400

I made some progress after I switched to BerkeleyDB.3.3 and changed the order libPW (-lpthread -lm  -lc -lPW - libPW goes after libc). So I succeeded in compiling, but failed in installing (see below).

Thanks.

-JW

# make install
No suffix list.
Making install in pub
        rm -f libpub.a
        ar cru libpub.a getopt.o getopt1.o  full-write.o regex.o snprintf.o
        ranlib libpub.a
Making install in src
Too many command lines for `cfparse.h'
Too many command lines for `cfparse.h'
        /bin/sh ../mkinstalldirs /usr/local/sbin
  .././install-sh -c cfagent /usr/local/sbin/cfagent
  .././install-sh -c cfservd /usr/local/sbin/cfservd
  .././install-sh -c cfrun /usr/local/sbin/cfrun
  .././install-sh -c cfkey /usr/local/sbin/cfkey
  .././install-sh -c cfenvd /usr/local/sbin/cfenvd
  .././install-sh -c cfenvgraph /usr/local/sbin/cfenvgraph
  .././install-sh -c cfexecd /usr/local/sbin/cfexecd
        gcc -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 -I/usr/local/BerkeleyDB.3.3/include   install.c -L/usr/local/BerkeleyDB.3.3/lib -L/usr/local/ssl/lib  -L/opt/dce/lib -o install

In file included from install.c:35:
cf.defs.h:90:25: openssl/err.h: No such file or directory
cf.defs.h:91:25: openssl/pem.h: No such file or directory
cf.defs.h:92:25: openssl/evp.h: No such file or directory
cf.defs.h:93:25: openssl/rsa.h: No such file or directory
cf.defs.h:94:26: openssl/rand.h: No such file or directory
cf.defs.h:95:24: openssl/bn.h: No such file or directory
In file included from cf.defs.h:1613,
                 from install.c:35:
prototypes.h:241: `EVP_MAX_MD_SIZE' undeclared here (not in a function)
prototypes.h:241: size of array `digest' has non-integer type
prototypes.h:244: parse error before '*' token
prototypes.h:244: warning: data definition has no type or storage class
prototypes.h:245: parse error before "RSA"
prototypes.h:604: `EVP_MAX_MD_SIZE' undeclared here (not in a function)
prototypes.h:604: size of array `digest' has non-integer type
prototypes.h:605: `EVP_MAX_MD_SIZE' undeclared here (not in a function)
prototypes.h:605: size of array `digest' has non-integer type
prototypes.h:606: `EVP_MAX_MD_SIZE' undeclared here (not in a function)
prototypes.h:606: size of array `digest' has non-integer type
prototypes.h:607: `EVP_MAX_MD_SIZE' undeclared here (not in a function)
prototypes.h:607: size of array `digest1' has non-integer type
prototypes.h:607: `EVP_MAX_MD_SIZE' undeclared here (not in a function)
prototypes.h:607: size of array `digest2' has non-integer type
prototypes.h:608: `EVP_MAX_MD_SIZE' undeclared here (not in a function)
prototypes.h:608: size of array `digest' has non-integer type
In file included from install.c:36:
cf.extern.h:31: parse error before '*' token
cf.extern.h:31: warning: data definition has no type or storage class
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

-----Original Message-----
From: Mark.Burgess@iu.hio.no [mailto:Mark.Burgess@iu.hio.no]
Sent: Thursday, October 10, 2002 4:16 PM
To: Jieming.Wang@entrust.com
Cc: help-cfengine@gnu.org
Subject: Re: Problem with compiling cfengine-2.0.5pre on HP-UX 11i




Try deleting the -lPW - it is sometimes a problem.

M

On 10 Oct, Jieming Wang wrote:
> Hello,
>
> Can someone tell me what could be wrong ?
>
> System configurations: HP-UX11i /gcc3.0.1/openssl-0.9.6d/BerkeleyDB.4.1
>
> Thanks.
>
> -JW
>
>
>         gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.4.1/include
> -I/usr/local/ssl/include     -g -O2 -Wreturn-type -Wmissing-prototypes
> -Wuninitialized -g -O2 -I/usr/local/BerkeleyDB.4.1/include   -c `test -f
> 'strategies.c' || echo './'`strategies.c
>         gcc  -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g
> -O2 -I/usr/local/BerkeleyDB.4.1/include    -L/usr/local/BerkeleyDB.4.1/lib
> -L/usr/local/ssl/lib  -L/opt/dce/lib -o cfagent  cfagent.o init.o do.o
> wrapper.o report.o client.o  ip.o process.o ifconf.o image.o  item.o
> item-ext.o item-file.o  2Dlist.o globals.o classes.o  misc.o parse.o
> functions.o  edittools.o patches.o install.o  link.o tidy.o filedir.o eval.o
> modes.o chflags.o locks.o  mount.o macro.o filenames.o  varstring.o
> wildcard.o cfparse.o  comparray.o read.o checksums.o  proto.o filters.o
> copy.o  repository.o rotate.o errors.o  cflex.o net.o df.o log.o  crypto.o
> popen.o popen_def.o  sensible.o acl.o dce_acl.o  nameinfo.o strategies.o -ll
> -ldb -lcrypto -lPW -lpthread -lm  -lc -L../pub -lpub
> /usr/ccs/bin/ld: Unsatisfied symbols:
>    Error (first referenced in /usr/lib/libPW.a(rename.o)) (data)
> collect2: ld returned 1 exit status
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


reply via email to

[Prev in Thread] Current Thread [Next in Thread]