[openbeosnetteam] Re: libnet fix

On Thu, 19 Jun 2003 01:05:21 GMT "Marcus Overhagen" <ml@xxxxxxxxxxxx> 
wrote:
> Ingo wrote:
> 
> > > /boot/home/config/bin/ld: Warning: size of symbol `_res' changed 
> > > from 
> > > 512 to 376 in /boot/develop/lib/x86/libnet.so
> > 
> > Damn, I missed this. We apparently link against /boot/develop/lib/
> > x86/
> > libnet.so.
> > 
> > Which is not surprising, considering:
> > 
> > $ gcc -dumpspecs
> > [...]
> > *lib:
> > -lnet -lroot
> > [...]
> > 
> > *sigh*
> 
> Amazing. Patching gcc does *not* solve the problem.
> 
> It reads this option from the "specs" file in /boot/develop/tools/
> gnupro/lib/gcc-lib/i586-beos/2.9-beos-991026
> Removing -lnet in the specs file will fix the linker problem,
> while the output of gcc  -dumpspecs will remainthe same.
> 
> > Anyone who knows, how to get around this?
> Yes

I have to admit, that I find Philippe's solution a bit better. :-)

CU, Ingo


Other related posts: