LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-21-2004, 06:06 PM   #1
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
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]#
 
Old 12-13-2004, 06:51 PM   #2
OnyxG7
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake 9.2
Posts: 5

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help installing modem drivers LinAck Linux - Newbie 3 03-27-2005 11:30 PM
need help installing modem drivers.. najmul Linux - Networking 1 05-01-2004 06:55 AM
Kernel Source Headers? (help needed installing modem drivers) Jakeyboy Linux - Hardware 8 10-07-2003 03:59 PM
after installing modem drivers... warheros Linux - Software 2 07-18-2003 10:38 AM
Installing Modem drivers Ghostman1 Linux - General 6 01-03-2003 09:42 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration