LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Intel 536 problem on Slackware 12.0. (https://www.linuxquestions.org/questions/slackware-14/intel-536-problem-on-slackware-12-0-a-695701/)

biske 01-07-2009 06:06 PM

Intel 536 problem on Slackware 12.0.
 
I downloaded intel536 driver intel-536EP-2.56.76.0_2008_11_15.tar.bz2, unpacked, cd into directory and wrote next command:

make clean

then i wrote:

make 536

but there is an error. Here it is:

Module precompile check
Current running kernel is: 2.6.21.5-smp
/lib/modules... autoconf.h exists
autoconf.h matches running kernel
version.h matches running kernel
uname -r|grep "2.6" && \
cd coredrv && make 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko && \
exit; \
ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \
if [ ]; then \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
else \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
fi ; \
cp Intel536.o .. ; \
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\
fi
2.6.21.5-smp
make[1]: Entering directory `/root/modem/Modemi Intel 536 i 537/intel-536EP-2.56.76.0/coredrv'
make -C /lib/modules/2.6.21.5-smp/build SUBDIRS=/root/modem/Modemi Intel 536 i 537/intel-536EP-2.56.76.0/coredrv modules
make[2]: Entering directory `/usr/src/linux-2.6.21.5'
make[2]: Leaving directory `/usr/src/linux-2.6.21.5'
make[1]: Leaving directory `/root/modem/Modemi Intel 536 i 537/intel-536EP-2.56.76.0/coredrv'
2.6.21.5-smp
Failed to build driver



I installed again kernel source and kernel headers packages but there is an error again.
Can anyone help me or give me some usefull link?

biske 01-08-2009 04:18 AM

Can anyone help? i was ssearching this forum but can't find answer.

Linux.tar.gz 01-08-2009 10:21 AM

You try to compile a 2008_11_15 version on a relatively old system.
Try to download an older version.
12.0 was released the Sun Jul 1 22:30:42 CDT 2007

biske 01-08-2009 08:23 PM

I will try and tell you what happen. thnx

biske 01-09-2009 10:09 AM

Just one question before installing driver: Does I have to do any patch to kernel?

biske 01-09-2009 04:40 PM

I found somewhere on my hard old version of driver intel-536EP-2.56.76.0_23_02_2007.tgz. First and second steps now works without errors (commands make clean and make 536). But where I type:

make install

it gives me next output:

rm -f /etc/hamregistry.bin
bash Intel536_inst
running kernel 2.6.21.5-smp
installing hamregistry, used for persistant storage
installing Intel536 driver
unknown distribution - no boot scripts have been installed
make: *** [install] Error 1

biske 01-10-2009 07:59 AM

I installed driver and now works fine. Problem was script Intel536_inst but I took few changes on it and then installed driver. Thnx a lot.


All times are GMT -5. The time now is 08:56 AM.