LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing Modem Drivers (wrong RM headers I fear)? (http://www.linuxquestions.org/questions/linux-newbie-8/installing-modem-drivers-wrong-rm-headers-i-fear-184283/)

r3sistance 05-21-2004 06:06 PM

Installing Modem Drivers (wrong RM headers I fear)?
 
Erm, my expereince with Linux isn't great but I have a problem that my Modem drivers for linux will not work... I do the following as below following the readme file that came with the drivers that I downloaded from the intel site for the modem. I think looking at it I have installed the wrong RM headers for the Kernal Source? no idea tho since I am not really that good with linux so I was hoping someone could help me out and point me in the right direction... hee. Thanks in advanced, I logged what I did below.

[berwick@localhost Intel536-4.68]$ su
Password:

[root@localhost Intel536-4.68]# make 536
Module precompile check
Current running kernel is: 2.4.22-24mdk
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
cd coredrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536core;
make[1]: Entering directory `/home/berwick/Intel536-4.68/coredrv'
strip --strip-debug 536core.lib
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o locks.o softserial_io.o softserial_ioctl.o softserial.o 536core.lib -o Intel536.o
ld: Relocatable linking with relocations from format elf32-i386 (536core.lib) to format elf64-x86-64 (Intel536.o) is not supported
make[1]: *** [536core] Error 1
make[1]: Leaving directory `/home/berwick/Intel536-4.68/coredrv'
make: *** [536] Error 2
[root@localhost Intel536-4.68]# make clean
cd coredrv; make clean
make[1]: Entering directory `/home/berwick/Intel536-4.68/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/berwick/Intel536-4.68/coredrv'
rm -f *.o

[root@localhost Intel536-4.68]# make 536
Module precompile check
Current running kernel is: 2.4.22-24mdk
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
cd coredrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536core;
make[1]: Entering directory `/home/berwick/Intel536-4.68/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o coredrv.o coredrv.c
coredrv.c:284: warning: `power_callback' defined but not used
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o clmmain.o clmmain.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o rts.o rts.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o task.o task.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o uart.o uart.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o wwh_dflt.o wwh_dflt.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o locks.o locks.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o softserial_io.o softserial_io.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o softserial_ioctl.o softserial_ioctl.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o softserial.o softserial.c
strip --strip-debug 536core.lib
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o locks.o softserial_io.o softserial_ioctl.o softserial.o 536core.lib -o Intel536.o
ld: Relocatable linking with relocations from format elf32-i386 (536core.lib) to format elf64-x86-64 (Intel536.o) is not supported
make[1]: *** [536core] Error 1
make[1]: Leaving directory `/home/berwick/Intel536-4.68/coredrv'
make: *** [536] Error 2

[root@localhost Intel536-4.68]# make install
bash Intel536_inst
running kernel 2.4.22-24mdk
installing hamregistry, used for persistant storage
installing Intel 536 driver
install: cannot stat `Intel536.o': No such file or directory
mandrake Intel536_boot script
starting module and utilities
error loading Intel536
done

[root@localhost Intel536-4.68]#

OnyxG7 12-13-2004 06:51 PM

From the first error it seems you're linking 64-bit object files with 32-bit ones, so obviously it won't work. If the driver source code isn't released but only binaries, one can't do much. Look, ask... for a 64 bit version of the driver. Otherwise, run make clean and try again.


All times are GMT -5. The time now is 05:10 AM.