portmap_5beta does not compile

Gerard Beekmans gerard at linuxfromscratch.org
Thu Oct 11 15:01:07 PDT 2001

On Thu, Oct 11, 2001 at 08:41:40PM +0200, Jan Tim Schueszler wrote:
> Hi there,
> i have build my LFS 3.0 successfully and am now trying to install 
> different net-services. But trying to compile the above mentioned 
> portmapper, i get many errors like the following:
> portmap.c: In function 'xperror':
> portmap.c:299: argument 'what' doesn't match prototype
> /usr/include/stdio.h:546: prototype declaration
> portmap.c: In function 'reg_service':
> portmap.c:353: warning: passing arg 2 of 'svc_sendreply' from 
> incompatible pointer type
> portmap.c:362: warning: passing arg 2 of pointer to function from 
> incompatible pointer type
> and on it goes for function 'callit', too.
> What do i have to do to compile the portmapper successfully?

there is a portmap5 patch you should apply first. Did you do this?

If not, a good patch can be found at

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list