mpd 3.17 + latest freebsd 5 current = build problems

Emil Filipov tie at ankh.morp.org
Tue May 4 13:02:22 PDT 2004


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






More information about the freebsd-net mailing list