Am 26.11.2010 16:45, schrieb [email protected]: > Thomas Sachau: >> While you can use certain pieces, you cannot expect them to work with you= >> r own build process as with >> the original build process. Especially not, when your own sources are in = >> a different location than >> the script itself. > > I am always testing the aufs build process in a different location than > kernel source tree, with specifying "-C /kernel/src O=/build/dir" and > have never met problems. > > >> And from further tests, i found out, that those rm calls are not from scr= >> ipts/Makefile.headersinst, >> but instead from the main Makefile from the kernel source dir. > > Then I'd strongly suggest to specify O=. > > > J. R. Okajima >
That O var seems to create even more issues, gives me errors about kernel not configured and header files not found. On the other side, just removing "-f Makefile" prevents the rm lines and allows me to compile the module itself. The build issue with aufs2-utils still exists: make -j5 --load-average=8 CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar KDIR=/usr/src/linux C_INCLUDE_PATH=/var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/include x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -I./libau -O -Wall -Wl,--as-needed -Wl,--hash-style=gnu ver.c -o ver In file included from ver.c:19:0: /var/tmp/portage/sys-fs/aufs2-0_p20101122/work/aufs2-standalone/include/linux/aufs_type.h:159:27: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token make: *** [ver] Error 1 emake failed -- Thomas Sachau Gentoo Linux Developer
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev
