[openbeosnetteam] Re: libnet fix

  • From: "Marcus Overhagen" <ml@xxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Thu, 19 Jun 2003 01:05:21 GMT

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

Marcus



Other related posts: