[openbeosnetteam] Re: R5 compatibility and libnetapi.so

Oliver Tappe <openbeos@xxxxxxxxxxxxxxx> wrote:
> > Did you check a few BONE binaries for not being linked against 
> > libnet.so?
> Well, I just have and ping, traceroute and nslookup are linked 
> against 
> libnet.so. Many others will be, too, especially since the Be-provided 
> gccs 
> did come with linker specs that included '-lnet'.

Thanks, even that probably wouldn't have been a problem, because those 
are also linked against libsocket.so/libbind.so. Anyway, using the 
technique I described in the other mail, this should be good enough for 
us.

> Is that a problem (does BONE use the new API)? Anyway, I get the 
> feeling that 
> I haven't yet understood the exact problem that needs to be solved 
> here...

I think you have. Anyway, what we're trying to solve is that R5 does 
use different type/family/socket constant defines - to make it work 
with our stack, we need to detect that it's an R5 executable, and then 
translate those constants.
Our stack is more or less compatible with BONE, though (although the 
ioctl's differ, only socket(), setsockopt(), etc. are compatible) - 
this should be enough for most applications, the rest would need to be 
ported.

Bye,
   Axel.


Other related posts: