[openbeosnetteam] Re: Stupid missing isc/* headers broke libbind.so build

Quoting Waldemar Kornewald <Waldemar.Kornewald@xxxxxx>: 
 
> > Done. 
> > libbind.so should build again fine. 
>  
> Very nice. 
 
Well, not. I should have done it two weeks ago! 
 
>  
> > LPR and IPP print transports add-on still fail to build due to: 
> > - undefined __inet_addr() 
> > - undefined getusername() 
> >  
> > I'm looking into it. 
>  
> They should link against libsocket.so and libbind.so instead of libnet.so. 
If 
> not, you could try to change it. 
 
AFAIK, nor libsocket.so nor libbind.so export getusername() and getpassword() 
API. That's true in BONE libraries and in our too, thanks to binary 
compatibility! 
So, this Be-specific APIs still lies in libnet.so.  
 
The problem is not at link time, but at compile time. 
Before, these two functions were prototyped in netdb.h, as there are in R5's 
netdb.h. 
But under BONE and our new netdb.h, there're not anymore.  
I can't find where BONE 7a defined them, if it does. 
 
Anyway, I should added them back in posix/netdb.h soon. 
 
> BTW, you added the ppp headers to the net_stack_driver Jamfile (even twice 
> ;).  
 
Twice is better! 
 
> Are you sure that this is correct? :) 
 
I'm sure it's *not*! 
 
> Why did you add them anyway? 
 
By mistake, as I didn't have finished userland IPC of NET_STACK_CONTROL_MODULE 
ioctl yet, it was not supposed to be commited. 
But it should not hurt anything, I guess. 
 
- Philippe 

Other related posts: