[haiku-development] Re: lklhaikufs build log

  • From: marius adrian popa <mapopa@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 17 Apr 2011 22:08:34 +0300

On Wed, Apr 13, 2011 at 10:49 PM, marius adrian popa <mapopa@xxxxxxxxx> wrote:
> On Wed, Apr 13, 2011 at 5:57 PM, marius adrian popa <mapopa@xxxxxxxxx> wrote:
>> I follow the instructions from here
>>
>> //www.freelists.org/post/haiku-development/lklhaikufs-progress-report
>>
>> and until now i got these errors
>> https://gist.github.com/917673
>> I will redo the building today to see what is missing , maybe some
>> path somewhere

The path was related to haiku source tree and hardcoded,

diff --git a/src/add-ons/kernel/file_systems/lklhaikufs/Jamfile
b/src/add-ons/kernel/file_systems/lklhaikufs/Jamfile
index e49b84f..c506da5 100644
--- a/src/add-ons/kernel/file_systems/lklhaikufs/Jamfile
+++ b/src/add-ons/kernel/file_systems/lklhaikufs/Jamfile
@@ -24,7 +24,7 @@ rule AddStringPrefix prefix : string_list
        local result ;
        for i in $(2)
        {
-               result += $(1)/home/gringo/hack/haiku/haiku/$(i) ;
+               result += $(1)/home/mariuz/work/haiku/$(i) ;
        }
        return $(result) ;
 }
@@ -34,7 +34,7 @@ rule BuildLKL
        local headers ;
        LKL_CROSS_CC = $(HAIKU_CC) ;
        HERE = $(lklhaikuFSTop) ;
-       LKL_LINUX_DIR = "/home/gringo/hack/lkl/linux-2.6" ;
+       LKL_LINUX_DIR = "/home/mariuz/work/lkl-linux-2.6" ;
        headers = [ AddStringPrefix -I : [ FStandardHeaders ] [
FStandardOSHeaders ] $(SUBDIRSYSHDRS)  $(HAIKU_CONFIG_HEADERS
        ENV_INC = $(headers) ;
 }




now i have another conflicting type , but i don't think we need
network related code from linux


In file included from /home/mariuz/work/haiku/headers/posix/sys/socket.h:11,
                 from
/home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:7:
/home/mariuz/work/haiku/headers/posix/sys/types.h:42: error:
conflicting types for 'umode_t'
/home/mariuz/work/lkl-linux-2.6/include/asm-generic/types.h:11: note:
previous declaration of 'umode_t' was here
In file included from /home/mariuz/work/haiku/headers/posix/size_t.h:9,
                 from /home/mariuz/work/haiku/headers/posix/sys/types.h:56,
                 from /home/mariuz/work/haiku/headers/posix/sys/socket.h:11,
                 from
/home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:7:

Other related posts: