Hello Prof. Baun...

I think I fixed what is causing your problem, so if you do an svn update,
you can give it a try.

I inadvertently put the pvfs2_khandle_from_handle function inside of an
ifdef, and one of your --disables made it disappear.

-Mike

On Sat, Jan 31, 2015 at 3:53 PM, Prof. Dr. Christian Baun
<[email protected]> wrote:
> Hello
>
> when I understood Jims reply correct, it should be possible to compile
> the server and maybe the FUSE client on arm. I tried it this way with
> the latest SVN revision and now I'm stuck at this point.
>
> $ mkdir /home/pi/orangefs_svn
> $ cd /home/pi/orangefs_svn
> $ svn checkout http://www.orangefs.org/svn/orangefs/trunk 
> /home/pi/orangefs_svn
> $ ./prepare
> configure script successfully regenerated
> $ ./configure --enable-fuse
> ...
> ***** Displaying PVFS Configuration Information *****
> ------------------------------------------------------
> PVFS2 configured to build karma gui               :  no
> PVFS2 configured to build visualization tools     :  no
> PVFS2 configured to perform coverage analysis     :  no
> PVFS2 configured for aio threaded callbacks       : yes
> PVFS2 configured to use FUSE                      : yes
> PVFS2 configured for the 2.6/3 kernel module      :  no
> PVFS2 configured for the 2.4.x kernel module      :  no
> PVFS2 configured for using the mmap-ra-cache      :  no
> PVFS2 configured for resetting file position      :  no
> PVFS2 will use workaround for redhat 2.4 kernels  :  no
> PVFS2 will use workaround for buggy NPTL          :  no
> PVFS2 server capability cache enabled             : yes
> PVFS2 server credential cache enabled             :  no
> PVFS2 server certificate cache enabled            :  no
> PVFS2 configured with key-based security          :  no
> PVFS2 configured with certificate-based security  :  no
> PVFS2 server will be built                        : yes
> PVFS2 configured with profiling enabled           :  no
> PVFS2 user interface libraries will be built      : yes
> PVFS2 symbolic libraries will be built            :  no
> PVFS2 user environment variables enabled          :  no
> PVFS2 user interface library cache enabled        :  no
> Malloc will be redefined                          : yes
> PVFS2 client JNI enabled                          :  no
>
> PVFS2 version string: 2.9.0-orangefs-2015-01-31-084642
>
> $ make
> ...
>  CC src/apps/kernel/linux/pvfs2-client.o
>  LD src/apps/kernel/linux/pvfs2-client
>  CC src/apps/kernel/linux/pvfs2-client-core.o
> src/apps/kernel/linux/pvfs2-client-core.c: In function
> ‘package_downcall_members’:
> src/apps/kernel/linux/pvfs2-client-core.c:2931:17: warning: implicit
> declaration of function ‘pvfs2_khandle_from_handle’
> [-Wimplicit-function-declaration]
>  LD src/apps/kernel/linux/pvfs2-client-core
> src/apps/kernel/linux/pvfs2-client-core.o: In function
> `package_downcall_members':
> /home/pi/orangefs_svn/src/apps/kernel/linux/pvfs2-client-core.c:3057:
> undefined reference to `pvfs2_khandle_from_handle'
> /home/pi/orangefs_svn/src/apps/kernel/linux/pvfs2-client-core.c:3114:
> undefined reference to `pvfs2_khandle_from_handle'
> /home/pi/orangefs_svn/src/apps/kernel/linux/pvfs2-client-core.c:3222:
> undefined reference to `pvfs2_khandle_from_handle'
> collect2: ld returned 1 exit status
> Makefile:1058: recipe for target
> 'src/apps/kernel/linux/pvfs2-client-core' failed
> make: *** [src/apps/kernel/linux/pvfs2-client-core] Error 1
>
> The same result is when I try to build just the fuse client via
>
> $ ./configure --disable-server --disable-usrint --disable-opt --enable-fuse
> $ make
>
> What I can try to solve this issue?
>
> Best Regards and thanks for any help.
>    Christian
>
> ---
> Prof. Dr. Christian Baun
> http://www.christianbaun.de
> Frankfurt University of Applied Sciences
> Nibelungenplatz 1, 60318 Frankfurt am Main
>
>
>
> 2015-01-30 23:52 GMT+01:00 James Burton <[email protected]>:
>> OrangeFS is not supported and has not been tested on Raspian.
>>
>> That being said, we have gotten some inquiries about this and there was a
>> recent change in SVN that fixes this problem and allows OrangeFS to build.
>> (The problem was caused by a function call that is implemented for Intel
>> processors, but not for ARM. See http://linux.die.net/man/2/fadvise64)
>>
>> You can get the most recent version from the following svn repository
>>
>> http://www.orangefs.org/svn/orangefs/trunk
>>
>> Currently, the kernel module will not compile on Raspian, but you may be
>> able to mount the filesystem via fuse.
>>
>> Good luck!
>>
>> Jim Burton
>>
>> On Fri, Jan 30, 2015 at 5:40 PM, Prof. Dr. Christian Baun
>> <[email protected]> wrote:
>>>
>>> Hello,
>>>
>>> I try to install OrangeFS from source on a Raspberry Pi with Raspbian
>>> as operating system. During the make step, an error occurs at this
>>> point I'm stuck now. My steps are:
>>>
>>> $ uname -r
>>> 3.12.35+
>>>
>>> $ sudo wget -P /usr/src/
>>> http://www.orangefs.org/downloads/LATEST/source/orangefs-2.9.0.tar.gz
>>>
>>> $ sudo tar -xvzf /usr/src/orangefs-2.9.0.tar.gz -C /usr/src/
>>> $ sudo /bin/sh -c 'cd /usr/src/orangefs-2.9.0; ./configure
>>> -with-kernel=/usr/src/linux-source-3.12'
>>> …
>>> ***** Displaying PVFS Configuration Information *****
>>> ------------------------------------------------------
>>> PVFS2 configured to build karma gui               :  no
>>> PVFS2 configured to build visualization tools     :  no
>>> PVFS2 configured to perform coverage analysis     :  no
>>> PVFS2 configured for aio threaded callbacks       : yes
>>> PVFS2 configured to use FUSE                      :  no
>>> PVFS2 configured for the 2.6/3 kernel module      : yes
>>> PVFS2 configured for the 2.4.x kernel module      :  no
>>> PVFS2 configured for using the mmap-ra-cache      :  no
>>> PVFS2 configured for resetting file position      :  no
>>> PVFS2 will use workaround for redhat 2.4 kernels  :  no
>>> PVFS2 will use workaround for buggy NPTL          :  no
>>> PVFS2 server capability cache enabled             : yes
>>> PVFS2 server credential cache enabled             :  no
>>> PVFS2 server certificate cache enabled            :  no
>>> PVFS2 configured with key-based security          :  no
>>> PVFS2 configured with certificate-based security  :  no
>>> PVFS2 server will be built                        : yes
>>> PVFS2 configured with profiling enabled           :  no
>>> PVFS2 user interface libraries will be built      : yes
>>> PVFS2 symbolic libraries will be built            :  no
>>> PVFS2 user environment variables enabled          :  no
>>> PVFS2 user interface library cache enabled        :  no
>>> Malloc will be redefined                          : yes
>>> PVFS2 client JNI enabled                          :  no
>>>
>>> PVFS2 version string: 2.9.0-
>>>
>>> $ sudo make
>>> ...
>>>  CC src/io/dev/pint-dev.o
>>>  RANLIB lib/libpvfs2.a
>>>  CC src/client/usrint/pvfs-path.o
>>>  CC src/client/usrint/mmap.o
>>>  CC src/client/usrint/openfile-util.o
>>> src/client/usrint/openfile-util.c: In function ‘my_glibc_fadvise64’:
>>> src/client/usrint/openfile-util.c:292:20: error: ‘SYS_fadvise64’
>>> undeclared (first use in this function)
>>> src/client/usrint/openfile-util.c:292:20: note: each undeclared
>>> identifier is reported only once for each function it appears in
>>> src/client/usrint/openfile-util.c:293:1: warning: control reaches end
>>> of non-void function [-Wreturn-type]
>>> Makefile:1082: recipe for target 'src/client/usrint/openfile-util.o'
>>> failed
>>> make: *** [src/client/usrint/openfile-util.o] Error 1
>>>
>>>
>>> What can I do to handle this issue?
>>>
>>> Thanks for any help.
>>>
>>>     Christian
>>>
>>> ---
>>> Prof. Dr. Christian Baun
>>> http://www.christianbaun.de
>>> Frankfurt University of Applied Sciences
>>> Nibelungenplatz 1, 60318 Frankfurt am Main
>>>
>>> _______________________________________________
>>> Pvfs2-users mailing list
>>> [email protected]
>>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>>
>>
>
> ---
> Prof. Dr. Christian Baun
> http://www.christianbaun.de
> Frankfurt University of Applied Sciences
> Nibelungenplatz 1, 60318 Frankfurt am Main
> Büro: +49-69-1533-3196
> Privat: +49-6235-9591351
> Mobil: +49-170-2817531
>
> Die 2. Auflage von "Computernetze kompakt" ist erschienen.
> ISBN 978-3-642-41652-1. Springer Vieweg. Februar 2014
>
>
> 2015-01-30 23:52 GMT+01:00 James Burton <[email protected]>:
>> OrangeFS is not supported and has not been tested on Raspian.
>>
>> That being said, we have gotten some inquiries about this and there was a
>> recent change in SVN that fixes this problem and allows OrangeFS to build.
>> (The problem was caused by a function call that is implemented for Intel
>> processors, but not for ARM. See http://linux.die.net/man/2/fadvise64)
>>
>> You can get the most recent version from the following svn repository
>>
>> http://www.orangefs.org/svn/orangefs/trunk
>>
>> Currently, the kernel module will not compile on Raspian, but you may be
>> able to mount the filesystem via fuse.
>>
>> Good luck!
>>
>> Jim Burton
>>
>> On Fri, Jan 30, 2015 at 5:40 PM, Prof. Dr. Christian Baun
>> <[email protected]> wrote:
>>>
>>> Hello,
>>>
>>> I try to install OrangeFS from source on a Raspberry Pi with Raspbian
>>> as operating system. During the make step, an error occurs at this
>>> point I'm stuck now. My steps are:
>>>
>>> $ uname -r
>>> 3.12.35+
>>>
>>> $ sudo wget -P /usr/src/
>>> http://www.orangefs.org/downloads/LATEST/source/orangefs-2.9.0.tar.gz
>>>
>>> $ sudo tar -xvzf /usr/src/orangefs-2.9.0.tar.gz -C /usr/src/
>>> $ sudo /bin/sh -c 'cd /usr/src/orangefs-2.9.0; ./configure
>>> -with-kernel=/usr/src/linux-source-3.12'
>>> …
>>> ***** Displaying PVFS Configuration Information *****
>>> ------------------------------------------------------
>>> PVFS2 configured to build karma gui               :  no
>>> PVFS2 configured to build visualization tools     :  no
>>> PVFS2 configured to perform coverage analysis     :  no
>>> PVFS2 configured for aio threaded callbacks       : yes
>>> PVFS2 configured to use FUSE                      :  no
>>> PVFS2 configured for the 2.6/3 kernel module      : yes
>>> PVFS2 configured for the 2.4.x kernel module      :  no
>>> PVFS2 configured for using the mmap-ra-cache      :  no
>>> PVFS2 configured for resetting file position      :  no
>>> PVFS2 will use workaround for redhat 2.4 kernels  :  no
>>> PVFS2 will use workaround for buggy NPTL          :  no
>>> PVFS2 server capability cache enabled             : yes
>>> PVFS2 server credential cache enabled             :  no
>>> PVFS2 server certificate cache enabled            :  no
>>> PVFS2 configured with key-based security          :  no
>>> PVFS2 configured with certificate-based security  :  no
>>> PVFS2 server will be built                        : yes
>>> PVFS2 configured with profiling enabled           :  no
>>> PVFS2 user interface libraries will be built      : yes
>>> PVFS2 symbolic libraries will be built            :  no
>>> PVFS2 user environment variables enabled          :  no
>>> PVFS2 user interface library cache enabled        :  no
>>> Malloc will be redefined                          : yes
>>> PVFS2 client JNI enabled                          :  no
>>>
>>> PVFS2 version string: 2.9.0-
>>>
>>> $ sudo make
>>> ...
>>>  CC src/io/dev/pint-dev.o
>>>  RANLIB lib/libpvfs2.a
>>>  CC src/client/usrint/pvfs-path.o
>>>  CC src/client/usrint/mmap.o
>>>  CC src/client/usrint/openfile-util.o
>>> src/client/usrint/openfile-util.c: In function ‘my_glibc_fadvise64’:
>>> src/client/usrint/openfile-util.c:292:20: error: ‘SYS_fadvise64’
>>> undeclared (first use in this function)
>>> src/client/usrint/openfile-util.c:292:20: note: each undeclared
>>> identifier is reported only once for each function it appears in
>>> src/client/usrint/openfile-util.c:293:1: warning: control reaches end
>>> of non-void function [-Wreturn-type]
>>> Makefile:1082: recipe for target 'src/client/usrint/openfile-util.o'
>>> failed
>>> make: *** [src/client/usrint/openfile-util.o] Error 1
>>>
>>>
>>> What can I do to handle this issue?
>>>
>>> Thanks for any help.
>>>
>>>     Christian
>>>
>>> ---
>>> Prof. Dr. Christian Baun
>>> http://www.christianbaun.de
>>> Frankfurt University of Applied Sciences
>>> Nibelungenplatz 1, 60318 Frankfurt am Main
>>>
>>> _______________________________________________
>>> Pvfs2-users mailing list
>>> [email protected]
>>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>>
>>
>
> _______________________________________________
> Pvfs2-users mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to