On Tue, 2011-03-22 at 08:58 -0600, Ann Davis wrote:
Pls. take a look at the project/package home:andavis:novell-hello; it's a very simple KMP that uses the macros and is building successfully for opensuse 11.x.
The Kernel Module Packages Manuals ( http://www.novell.com/developer/kernel_module_packages_manuals.html ) specifies to use the macros so certainly OBS should be able to handle them. They have always worked for SLE 11 SP1.
I must have used that as a guide when I made my spec files. The spec file there is almost identical to mine. With one exception. I have: %kernel_module_package and the sample has: %kernel_module_package -x debug -x trace So, I added those options as well. My Kbuild file is a standard one: obj-m := vmic_enable.o The module is one source file: vmic_enable.c Of course with these options the error persist. But I see a bit more:
From the OBS log, I see this for the working novell-hello driver:
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/home:andavis/openSUSE_11.2/136e91aafca2d76ed4550af5141b092e-novell-hello' /usr/src/packages/SOURCES/novell-hello.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DpWpV3 + umask 022 For my not working vmic_enable driver I see this: + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/home:rogeroberholtzer/openSUSE_11.2/e26b2630e283fef1ba4bf28da64b7b66-vmic_enable' /usr/src/packages/SOURCES/vmic_enable.spec Makefile:23: *** mixed implicit and normal rules. Stop. Makefile:23: *** mixed implicit and normal rules. Stop. Makefile:23: *** mixed implicit and normal rules. Stop. Makefile:23: *** mixed implicit and normal rules. Stop. Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N9vyzX + umask 022 Why? Who's Makefile is this that is not happy? All I provide is the bit of Kbuild as listed above. Surely that is not making the build on only 2 of the repos unhappy. I remain convinced something is up in OBS land. At least when building out-of-tree kernel modules on openSUSE 11.2 and 11.3 (all other repos tried are working). Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org