Ticket #1105 (new defect)

Opened 11 months ago

Last modified 8 months ago

openSUSE11.1 NDAS fails to compile

Reported by: bluesky Assigned to: hootch
Priority: normal Milestone: 1.1
Component: xplat Version: 1.1-XX
Severity: normal Keywords:
Cc: Kernel Version (Result of "uname -r"): 2.6.27.21-0.1-pae
Linux Distribution: SuSE cpu/chip: i386
Linux Dist Version: 11.1

Description

NDAS 1.1.24 fails to compile. Running kernel 2.6.27.21-0.1-pae, make command results in a number of error messages. I run NDAS successfully on SUSE10.3. Does anybody know of any issues? I am aware of Linux2.6.27.patch for the above kernel but this modification did not resolve the problem. I am aware of the discussions on the topic from other tickets. Any pointers would be appreciated.

Attachments

openSUSE.patch (0.9 kB) - added by Typhuse on 06/30/09 15:09:59.
openSUSE 11.1 patch that is required to build the NDAS module.

Change History

(follow-up: ↓ 3 ) 06/30/09 15:08:57 changed by Typhuse

The module build was successful after applying the 2.6.27 patch, 2.6.28 patch, and a patch that I have created and attached. I used openSUSE 11.1 with the 2.6.27.23-0.1-default kernel. Yes, you must apply the 2.6.28 patch, even if you are running the 2.6.27 kernel. The module works without error, as far as I can tell.. But, I had to add "options ndas-core ndas_dev=wlan0" to /etc/modprobe.d/options. That just may from my system configuration. If you still have any errors after that, please post the output from "make".

06/30/09 15:09:59 changed by Typhuse

  • attachment openSUSE.patch added.

openSUSE 11.1 patch that is required to build the NDAS module.

07/06/09 16:05:46 changed by arnaud.faucher

The patch published in ticket #1110 for kernel 2.6.31 also runs fine on Ubuntu 9.04 (Linux kernel 2.6.28). Apply all patches from ticket #839 and patch from this ticket prior to apply patch from ticket #1110.

(in reply to: ↑ 1 ) 07/14/09 14:10:17 changed by bluesky

Replying to Typhuse:

The module build was successful after applying the 2.6.27 patch, 2.6.28 patch, and a patch that I have created and attached. I used openSUSE 11.1 with the 2.6.27.23-0.1-default kernel. Yes, you must apply the 2.6.28 patch, even if you are running the 2.6.27 kernel. The module works without error, as far as I can tell.. But, I had to add "options ndas-core ndas_dev=wlan0" to /etc/modprobe.d/options. That just may from my system configuration. If you still have any errors after that, please post the output from "make".

Typhuse, thank you for your help. I used your additional patch and attempted to recompile. I ended up with one error which I was not able to resolve. Would you please look at the 'make' output (part only) and let me know what I should do. Thanks.

make -C /lib/modules/2.6.27.23-0.1-pae/build \
		SUBDIRS=/opt/NDAS/ndas-1.1-24 \
		KBUILD_VERBOSE=1 \
		ndas_root=/opt/NDAS/ndas-1.1-24 \
		modules
make[1]: Entering directory `/usr/src/linux-2.6.27.23-0.1-obj/i386/pae'
make -C /usr/src/linux-2.6.27.23-0.1 O=/usr/src/linux-2.6.27.23-0.1-obj/i386/pae/. modules
make -C /usr/src/linux-2.6.27.23-0.1-obj/i386/pae \
	KBUILD_SRC=/usr/src/linux-2.6.27.23-0.1 \
	KBUILD_EXTMOD="/opt/NDAS/ndas-1.1-24" -f /usr/src/linux-2.6.27.23-0.1/Makefile \
	modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
	echo;								\
	echo "  ERROR: Kernel configuration is invalid.";		\
	echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";	\
	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
	echo;								\
	/bin/false)
{{{

}}}

Add/Change #1105 (openSUSE11.1 NDAS fails to compile)