From owner-freebsd-net@FreeBSD.ORG Tue May 4 13:02:22 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9D0716A4CF for ; Tue, 4 May 2004 13:02:22 -0700 (PDT) Received: from hoster904.com (hoster904.com [66.211.137.19]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C3DB43D46 for ; Tue, 4 May 2004 13:02:22 -0700 (PDT) (envelope-from tie@ankh.morp.org) Received: (qmail 29977 invoked from network); 4 May 2004 20:02:56 -0000 Received: from unknown (HELO ankh.morp.org) (213.240.240.40) by hoster904.com with SMTP; 4 May 2004 20:02:56 -0000 Message-ID: <4097F6CA.1010001@ankh.morp.org> Date: Tue, 04 May 2004 23:02:18 +0300 From: Emil Filipov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: mpd 3.17 + latest freebsd 5 current = build problems X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 20:02:22 -0000 Hi list, I have just cvsup-ed my system (buildworld, buildkernel). I decided to also update my mpd installation from 3.15 to 3.17. However, I was rather unpleasantly surprised when the newly downloaded mpd port refused to compile: ---------------------------------------------------------- radius.c:29: error: conflicting types for `rad_demangle' /usr/include/radlib.h:216: error: previous declaration of `rad_demangle' radius.c:30: error: conflicting types for `rad_demangle_mppe_key' /usr/include/radlib_vs.h:81: error: previous declaration of `rad_demangle_mppe_key' radius.c: In function `RadiusPAPAuthenticate': radius.c:705: warning: passing arg 5 of `RadiusPutAuth' makes integer from pointer without a cast radius.c: In function `RadiusAccount': radius.c:1158: warning: long int format, int arg (arg 4) radius.c:1164: warning: long int format, int arg (arg 4) *** Error code 1 Stop in /usr/ports/net/mpd/work/mpd-3.17/src. *** Error code 1 Stop in /usr/ports/net/mpd/work/mpd-3.17. *** Error code 1 Stop in /usr/ports/net/mpd. ------------------------------------------- Swearing didn't help, so I started the old 'vi' editor and plunged in the source code of radius.c . As the error messages imply, there were duplicate/conflicting declaration of the functions 'rad_demangle' and ' rad_demangle_mppe_key' . After replacing these with 'rad_demangle1' and 'rad_demangle_mppe_key1' all over the radius.c file, there were no further problems. Regards, Emil Filipov