June 5, 201214 yr I am trying to compile something and I am getting this message: You do not appear to have the sources for the 3.1.1-unRAID kernel installed. I also need help with this... checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check How can I solve this? --- SOLVED the version issue, deleted libstdc++.so.6 symlink and the .6.0.13 and created a symlink to .6.0.9 --- I installed cxx* but I get this message: Installed, but version is different. Current version='libstdc++.so.6.0.13' expected 'libstdc++.so.6.0.9' --- SOLVED ---
June 6, 201214 yr You can get the stock Linux kernel source from the official location: http://kernel.org/ and then you copy the unRAID kernel-specific files included in the 'bzroot'/ram filesystem into that hierarchy [/usr/src/linux-3.1.1-unRAID/ ... ].
June 6, 201214 yr Author I went to that URL and there is only a 3.1.10 (EOL) <- end of life? Is this the one?
June 6, 201214 yr Author Ok, now im confused.. Is it 3.0 or 3.1.1? Also, can you explain to me what files I need to copy from /bzroot? I saw the .config in /usr/src/linux-3.1.1-unRAID, should I copy what's in /usr/src/linux-3.1.1-unRAID to /usr/src/linux (link to /usr/src/linux-3.1.1 or is it linux-3.0 ?) EDIT: I copied what was in /usr/src/linux-3.1.1-unRAID to /usr/src/linux-3.1.1 but I get an error: ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. So I did both "make oldconfig" and "make prepare" and I now get this error: WARNING: Symbol version dump /usr/src/linux-3.1.1-unRAID/Module.symvers is missing; modules will have no dependencies and modversions. gcc -o /usr/src/zaptel-1.4.12.1/kernel/makefw /usr/src/zaptel-1.4.12.1/kernel/makefw.c /usr/src/zaptel-1.4.12.1/kernel/makefw /usr/src/zaptel-1.4.12.1/kernel/pciradio.rbt radfw > /usr/src/zaptel-1.4.12.1/kernel/radfw.h Loaded 42096 bytes from file CC [M] /usr/src/zaptel-1.4.12.1/kernel/pciradio.o In file included from /usr/src/zaptel-1.4.12.1/kernel/zaptel.h:39, from /usr/src/zaptel-1.4.12.1/kernel/pciradio.c:56: /usr/src/zaptel-1.4.12.1/kernel/zconfig.h:26:28: error: linux/autoconf.h: No such file or directory /usr/src/zaptel-1.4.12.1/kernel/pciradio.c: In function 'pciradio_start_dma': /usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1701: error: implicit declaration of function 'set_current_state' /usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1701: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) /usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1701: error: (Each undeclared identifier is reported only once /usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1701: error: for each function it appears in.) /usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1702: error: implicit declaration of function 'schedule_timeout' make[3]: *** [/usr/src/zaptel-1.4.12.1/kernel/pciradio.o] Error 1 make[2]: *** [_module_/usr/src/zaptel-1.4.12.1/kernel] Error 2 make[2]: Leaving directory `/usr/src/linux-3.1.1-unRAID' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/zaptel-1.4.12.1' make: *** [all] Error 2 root@Tower:/usr/src/zaptel-1.4.12.1#
Archived
This topic is now archived and is closed to further replies.