, i am trying to generate initramfs with genkernel and unionfs support ,but i have compiling failures during the compilation of fuse...
how i solve this problem ? ...i use the sys-kernel/genkernel-3.4.24_p1 .fuse: >> Configuring...
configure: WARNING: unrecognized options: --disable-kernel-module
--
config.status: creating example/Makefile
config.status: creating include/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-kernel-module
--
Making all in util
make[1]: Entering directory `/var/tmp/genkernel/17311.5006.32153.1284/fuse-2.8.6/util'
gcc -DHAVE_CONFIG_H -I. -I../include -I../lib -Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing -MT fusermount-fusermount.o -MD -MP -MF .deps/fusermount-fusermount.Tpo -c -o fusermount-fusermount.o `test -f 'fusermount.c' || echo './'`fusermount.c
gcc -DHAVE_CONFIG_H -I. -I../include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing -MT ulockmgr_server-ulockmgr_server.o -MD -MP -MF .deps/ulockmgr_server-ulockmgr_server.Tpo -c -o ulockmgr_server-ulockmgr_server.o `test -f 'ulockmgr_server.c' || echo './'`ulockmgr_server.c
fusermount.c: In function 'clone_newns':
fusermount.c:295:2: warning: implicit declaration of function 'clone'
fusermount.c:295:44: error: 'CLONE_NEWNS' undeclared (first use in this function)
fusermount.c:295:44: note: each undeclared identifier is reported only once for each function it appears in
fusermount.c: In function 'unmount_fuse_locked':
fusermount.c:422:9: warning: ignoring return value of 'fchdir', declared with attribute warn_unused_result
fusermount.c: In function 'clone_newns':
fusermount.c:297:1: warning: control reaches end of non-void function
fusermount.c: In function 'unlock_umount':
fusermount.c:117:7: warning: ignoring return value of 'lockf', declared with attribute warn_unused_result
fusermount.c: In function 'mount_fuse':
fusermount.c9: warning: ignoring return value of 'fchdir', declared with attribute warn_unused_result
make[1]: *** [fusermount-fusermount.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/ulockmgr_server-ulockmgr_server.Tpo .deps/ulockmgr_server-ulockmgr_server.Po
make[1]: Leaving directory `/var/tmp/genkernel/17311.5006.32153.1284/fuse-2.8.6/util'
make: *** [all-recursive] Error 1
* Gentoo Linux Genkernel; Version 3.4.24_p1
* Running with options: initramfs --no-clean --no-mrproper --splash=natural_gentoo --splash-res=800x600 --all-ramdisk-modules --unionfs
* ERROR: Failed to compile the "" target...
i tried to fix the compiling problems adding in the fuse section of /usr/share/genkernel/gen_compile.sh the "sed -i '1i#define _GNU_SOURCE' util/fusermount.c" before ./configure with no success !!!!
can anyone help me ???

