From owner-freebsd-questions Tue Sep 8 16:37:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA07544 for freebsd-questions-outgoing; Tue, 8 Sep 1998 16:37:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA07516 for ; Tue, 8 Sep 1998 16:37:18 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id AAA10706; Wed, 9 Sep 1998 00:30:01 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id AAA03300; Wed, 9 Sep 1998 00:28:35 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809082328.AAA03300@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Michael Slater cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP compiling error In-reply-to: Your message of "Tue, 08 Sep 1998 19:47:07 +0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Sep 1998 00:28:34 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG /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 , , 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