[haiku] Re: building error

  • From: Urias McCullough <umccullough@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Fri, 30 Jan 2009 07:40:38 -0800

On Fri, Jan 30, 2009 at 1:15 AM, Skar Cat <skarmiglione.sk4r@xxxxxxxxx> wrote:
> ok, and the link problem is why?
> what should i do?
> thnx
>
> warning: <src!bin!network!ftpd>ftpcmd.y depends on itself

You can ignore that for now...

> ---------
> AddSymlinkToContainerCopyFiles
> Script <HaikuImage>beos/system/add-ons/kernel/drivers/dev/net/usb_ecm
> Link generated/objects/haiku/x86/release/system/libroot/libroot.so
> generated/objects/haiku/x86/release/system/libroot/posix/glibc/misc/posix_gnu_misc.o:
> In function `dirname':
> (.text+0x0): multiple definition of `dirname'
> generated/objects/haiku/x86/release/system/libroot/posix/posix_main.o:(.text+0x1c10):
> first defined here
> /home/skarmiglione/src/haiku/generated/cross-tools/i586-pc-haiku/bin/ld:
> Warning: size of symbol `dirname' changed from 118 in
> generated/objects/haiku/x86/release/system/libroot/posix/posix_main.o to 181
> in
> generated/objects/haiku/x86/release/system/libroot/posix/glibc/misc/posix_gnu_misc.o
> collect2: ld returned 1 exit status

The above "dirname"  is your problem, try:

rm -rf generated/objects/haiku/x86/release/system/libroot/posix

then jam again...

Recently those symbols moved and jam isn't smart enough to figure out
how to fix it :)

Travis: Don't comment out dirname!... the problem is the junk you have
in generated still from prior to the change, not the code itself.

- Urias

Other related posts: