What I'd do is change config.h to say HAVE_GETHOSTBYNAME_R to undef
instead of define.
Apparently you're old libs are different from what's current.
jack.
On Mon, May 07, 2001 at 11:06:25AM +0200, Martin Hierling
wrote:> HI,
>
> I got an Error while compiling the icecast Server on SuSE 5.3.
>
> ice_resolv.c: In function inux_gethostbyname_r':
> ice_resolv.c:170: warning: passing arg 5 of ethostbyname_r' from
> incompatible pointer type
> ice_resolv.c:170: too many arguments to function ethostbyname_r'
> ice_resolv.c: In function inux_gethostbyaddr_r':
> ice_resolv.c:181: warning: passing arg 7 of ethostbyaddr_r' from
> incompatible pointer type
> ice_resolv.c:181: too many arguments to function ethostbyaddr_r'
> make[3]: *** [ice_resolv.o] Error 1
> make[3]: Leaving directory /home/martin/icecast-1.3.10/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory /home/martin/icecast-1.3.10/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory /home/martin/icecast-1.3.10'
> make: *** [all-recursive-am] Error 2
>
> Configure with no errors, gcc version 2.95.3 20010315 (release),
> libc.so.5.4.46, kernel 2.0.35 . I want to compile it on such an old System
> to copy it on a mini Linux Boot Disk. All the other tools (lame, liveice,
> mixer) are done. Only icecast make some Problems.
> Thanks for your help.
>
> regards Martin
>
> --
> ----------------------------------------------------------------
> /"\
> \ / ASCII Ribbon Campaign
> X Against HTML Mail
> / \
> ----------------------------------------------------------------
> - Martin Hierling - www.hierling.de
> ----------------------------------------------------------------
>
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> icecast project homepage: http://www.icecast.org/
> To unsubscribe from this list, send a message to
'icecast-request@xiph.org'
> containing only the word 'unsubscribe' in the body. No subject is
needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to
'icecast-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.