Hi, "Hans-Peter Jansen": > trying to build aufs2-util in an openSUSE 11.1/i586 build environment > leads to: ::: > make -C libau all > make[1]: Entering directory > `/usr/src/packages/BUILD/aufs2-standalone.tree-27-20100111/aufs2-util-standalone.tree-27-20100111/libau' > gcc -I/usr/src/linux/include > -I/usr/src/packages/BUILD/aufs2-standalone.tree-27-20100111/aufs2-util-standalone.tree-27-20100111/../include > > -I/usr/src/packages/BUILD/aufs2-standalone.tree-27-20100111/aufs2-util-standalone.tree-27-20100111/libau > -c -o > libau.o libau.c :::
That is weird. As you can see aufs2-util.git/libau/Makefile, there are some flags. ---------------------------------------------------------------------- rdu64.o: CFLAGS += -DRdu64 ::: ${LibSoObj}: CFLAGS += -fPIC -DNDEBUG -D_REENTRANT -I. ---------------------------------------------------------------------- They are not shown in your build log. Did you modify the flags or compile rule (pattern in make)? > Also, the docs state, that libau should be installed explicitely, with > make install_ulib, but the Makefile disagrees. I'm using extensive sed > trickery to get rid of it, but I think it's worth to eliminate these > issues. > > From my aufs2.spec: > # disable building libau (fails in link stage with multiple definitions of > `readdir') > # don't try to set ownership on install (may fail with 'osc build') Currently I guess the cause of your failure is CFLAGS, but it may be worth to keep libau from "make all." Why did I put it in "all"? Because I'd recommend users to use it. :-) I don't know why you stop setting owner and group. J. R. Okajima ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com