Ticket #1105 (new defect)
openSUSE11.1 NDAS fails to compile
| Reported by: | bluesky | Owned by: | hootch |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | xplat | Version: | 1.1-XX |
| Severity: | normal | Keywords: | |
| Cc: | cpu/chip: | i386 | |
| Linux Distribution: | SuSE | Linux Dist Version: | 11.1 |
| Kernel Version (Result of "uname -r"): | 2.6.27.21-0.1-pae |
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
Change History
Changed 3 years ago by Typhuse
-
attachment
openSUSE.patch
added
openSUSE 11.1 patch that is required to build the NDAS module.
comment:3 in reply to: ↑ 1 Changed 3 years ago 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)
{{{
}}}

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".