Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 May 2004 23:02:18 +0300
From:      Emil Filipov <tie@ankh.morp.org>
To:        freebsd-net@freebsd.org
Subject:   mpd 3.17 + latest freebsd 5 current = build problems
Message-ID:  <4097F6CA.1010001@ankh.morp.org>

next in thread | raw e-mail | index | archive | help
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.
</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






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