OpenWrt Forum Archive

Topic: UnionFS

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

did anyone already manage to compile unionfs ( http://www.fsl.cs.sunysb.edu/project-unionfs.html )
for openwrt experimental (cvs HEAD) ?!?

I am kinda stuck in the building process.
I use the cvs HEAD buildroot from june 14th.
GCC 3.4.4

I alread did some patches to the unionfs Makefile to ensure it uses the right compiler und the correct includes.
Compiling the first few files is ok
but then i get:

make
******************************************************************************
If you have questions about or problems building Unionfs, please read INSTALL.
******************************************************************************

/storage/openwrt/staging_dir_mipsel/bin/mipsel-linux-gcc -D__KERNEL__ -DMODULE -
I. -I/storage/openwrt/build_mipsel/linux-2.4-brcm/linux-2.4.30/include   -g -Os
-pipe -mips32 -mtune=mips32   -c -o file.o file.c
{standard input}: Assembler messages:
{standard input}:28215: Error: Cannot branch to symbol in another section.
{standard input}:28319: Error: Cannot branch to symbol in another section.
make: *** [file.o] Error 1


Anyone any idea what can be the reason for that ?!?
Any help very appreciated.

In my eyes union FS would be a very useful package on the openwrt platform.

cheers
Albert

(Last edited by mmaexx on 16 Jun 2005, 08:37)

same happens with mini_fo i am currently working on.

Solution is to add this to CFLAGS:
-G 0 -mno-abicalls -fno-pic

wbx wrote:

same happens with mini_fo i am currently working on.

Solution is to add this to CFLAGS:
-G 0 -mno-abicalls -fno-pic

Yeah !! That really does the trick.
I must admitt that i am not quite aware of what these flags actually do
but i managed to compile unionfs with it.
Thx wbx !!

The package became quite useless becaus the mini_fo
does almost all the needed functionality and is much much smaller in size.

Nevertheless here is the unionfs ipkg if somebody wants to use it

http://openwrt.hallertau.net/ipkg/kmod- … mipsel.ipk

The discussion might have continued from here.