Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Sep 1998 00:28:34 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Michael Slater <slaterm@slaterm.amitar.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP compiling error 
Message-ID:  <199809082328.AAA03300@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Tue, 08 Sep 1998 19:47:07 %2B0800." <Pine.BSF.4.01.9809081941450.567-100000@slaterm.amitar.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
/usr/include/sys/md5.h contains the MD5_CTX typedef.  This file is 
included from /usr/include/md5.h which is included from chap.c

So, either you've got a dodgy copy of md5.h or you've got a dodgy 
build environment.

> Hi, 
>   while trying to compile pp-980904 on FreeBSD-2.2.7 i get the following
> errors : 
> 
> chap.c: In function `RecvChapTalk':
> chap.c:123: `MD5_CTX' undeclared (first use this function)
> chap.c:123: (Each undeclared identifier is reported only once
> chap.c:123: for each function it appears in.)
> chap.c:123: parse error before `MD5context'
> chap.c:198: warning: implicit declaration of function `MD5Init'
> chap.c:198: `MD5context' undeclared (first use this function)
> chap.c:199: warning: implicit declaration of function `MD5Update'
> chap.c:200: warning: implicit declaration of function `MD5Final'
> 
> Anybody have a clue how to fix this ?
> 
> 
> Michael

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809082328.AAA03300>