[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: encrypt.c: In function `LoadSecretKeys':
From: |
Eric Methorst |
Subject: |
Re: encrypt.c: In function `LoadSecretKeys': |
Date: |
Fri, 7 Dec 2001 14:33:26 +0100 (CET) |
Do you have theinclude files (and sources) for openssl?
As the file encrypt.c states in the beginning, it'll try to include
certain files from the openssl library (see the include <openssl/des.h>)
That is where the 'des_cblock' is defined.
Thus at least this file should be present in /usr/include (or wherever
RetHat places the standard include files)
You will probable neet to install openssl (see the cfengine website for a
link)
Good Luck,
Eric Methorst
On Wed, 5 Dec 2001, Rune Mossige wrote:
> I am trying to compile cfengine-2.0a15 on a RedHat 7.2 Linux
> box with kernel 2.4.16, but it fails with:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/db3 -I/usr/local/include
> -g -O2 -c `test -f log.c || echo './'`log.c
> source='encrypt.c' object='encrypt.o' libtool=no \
> depfile='.deps/encrypt.Po' tmpdepfile='.deps/encrypt.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/db3 -I/usr/local/include
> -g -O2 -c `test -f encrypt.c || echo './'`encrypt.c
> encrypt.c: In function `LoadSecretKeys':
> encrypt.c:104: `des_cblock' undeclared (first use in this function)
> encrypt.c:104: (Each undeclared identifier is reported only once
> encrypt.c:104: for each function it appears in.)
> encrypt.c:104: parse error before `)'
> encrypt.c: In function `cfencrypt':
> encrypt.c:154: `des_key_schedule' undeclared (first use in this
> function)
> encrypt.c:154: parse error before `ks1'
> encrypt.c:161: `C_Block' undeclared (first use in this function)
> encrypt.c:161: parse error before `)'
> encrypt.c:162: parse error before `)'
> encrypt.c:163: parse error before `)'
> encrypt.c:167: `ks1' undeclared (first use in this function)
> encrypt.c:167: `ks2' undeclared (first use in this function)
> encrypt.c:167: `ks3' undeclared (first use in this function)
> encrypt.c:167: parse error before `)'
> encrypt.c: In function `cfdecrypt':
> encrypt.c:179: `des_key_schedule' undeclared (first use in this
> function)
> encrypt.c:179: parse error before `ks1'
> encrypt.c:187: `C_Block' undeclared (first use in this function)
> encrypt.c:187: parse error before `)'
> encrypt.c:188: parse error before `)'
> encrypt.c:189: parse error before `)'
> encrypt.c:191: `ks1' undeclared (first use in this function)
> encrypt.c:191: `ks2' undeclared (first use in this function)
> encrypt.c:191: `ks3' undeclared (first use in this function)
> encrypt.c:191: parse error before `)'
> make[2]: *** [encrypt.o] Error 1
> make[2]: Leaving directory `/local/src/cfengine-2.0.a15/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/local/src/cfengine-2.0.a15/src'
> make: *** [all-recursive] Error 1
>
>
> Is there anything special I need on a RedHat 7.2 system in order to
> compile it? I ran configure with:
> ./configure --prefix=/local
> and nothing else. I had to install the db3-devel-3.2.9-4 RPM
> first. Without that, it complained that db3 was not installed.
> Is there anything else that I have missed?
>
> --
> -------------------------------------------------------------------
> (-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
> Our ultimate goal is to make overloaded systems appear to be idle.
> High performance, High reliability, Low cost -------- Pick any two.
> -------------------------------------------------------------------
> Rune Mossige, Systems Support Engineer, WesternGeco, Stavanger
> Tel: (+47)51946869 Mobile:(+47)90871024
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
>
- encrypt.c: In function `LoadSecretKeys':, Rune Mossige, 2001/12/05
- Re: encrypt.c: In function `LoadSecretKeys':, Rune Mossige, 2001/12/06
- Re: encrypt.c: In function `LoadSecretKeys':,
Eric Methorst <=
- restart cron in Solaris, Daniel Nilsson, 2001/12/07
- Re: restart cron in Solaris, Ted Zlatanov, 2001/12/07
- Re: restart cron in Solaris, Alan Silver, 2001/12/07
- Re: restart cron in Solaris, Katherine Morris, 2001/12/07
- Re: restart cron in Solaris, Daniel Nilsson, 2001/12/10
- Re: restart cron in Solaris, Darren Dunham, 2001/12/10
- Re: restart cron in Solaris, Ted Zlatanov, 2001/12/10
- Re: restart cron in Solaris, Dan Zubairi, 2001/12/10
- Re: restart cron in Solaris, Katherine Morris, 2001/12/10
- Re: restart cron in Solaris, Katherine Morris, 2001/12/10