[haiku] Re: building error

  • From: "Travis D. Reed" <tdreed@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Fri, 30 Jan 2009 07:01:49 -0600

I was having the problem too. I commented out the definition of "dirname" in
one of the files somewhere and then it compiled. The rest of these replies
are pretty unhelpful for your problem.

On Fri, Jan 30, 2009 at 3: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
>
>
> ---------
> 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
> .......
>
>
> ---AddSymlinkToContainerCopyFilesScript
> <HaikuImage>beos/system/add-ons/kernel/boot/bfs
> ...skipped radeon.accelerant for lack of libbe.so...
>
>
> 2009/1/30 Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
>
>> Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx> wrote:
>> > 2009/1/29 Sean Healy <jalopeura@xxxxxxxxxxx>:
>> > ocuments/dev/installing_haiku_to_a_partition_from_linux
>> > > Like the user with the problem, this is what I've been doing to
>> > > build Haiku
>> > > and install it to a partition. Unlike that user, I haven't run into
>> > > a
>> > > problem. (Although it has been two or three weeks since I've gone
>> > > through
>> > > the process.) Is this method no longer preferred? If so, how can
>> > > one go
>> > > about installing Haiku to a partition without using sudo?
>> > You can change the permissions of the target partition before running
>> > jam: for example, let's say the haiku target partition is /dev/sda3.
>> > You'd run "sudo chmod o+rw /dev/sda3".
>>
>> Also, you need to have read ability on /dev/sda3 in this case, like via
>> "sudo chmod o+r /dev/sda" for this. I'm using a script that does this
>> for me, whenever I want to install Haiku to a partition.
>> Another advantage of this approach is that you can't accidently clobber
>> other partitions, as you don't have the rights to write on them (ie. if
>> you copied over a different UserBuildConfig that mentioned another
>> partition).
>>
>> Bye,
>>    Axel.
>>
>>
>>
>


-- 
--Travis D. Reed

Other related posts: