Forum Home
Press F1
 
Thread ID: 59695 2005-07-10 02:34:00 Installing PCI Modem under Linux B.M. (505) Press F1
Post ID Timestamp Content User
370986 2005-07-18 09:02:00 The results of gcc -v Graham.

root@ubuntu:/home/mine # gcc -v
bash: gcc: command not found
root@ubuntu:/home/mine #
B.M. (505)
370987 2005-07-19 02:34:00 That does look as if you have not got the compiler. I'm surprised that the make worked ... make and its associated utilities are usually part of a complete package including the compiler. I think. ;) And gcc ought to be in the ordinary user path (probably /bin/gcc --- try entering /bin/gcc B.M.).

Look for the compiler.


Sitting Duck:
I had a look at the boot script installation last night ... I suspect that it could be done manually, even if the make install refuses to. The module is put into the /lib/modules/.../char .. tree. There is a "registry" thing which is installed in /etc and executed at startup. There is a boot script put in /etc/rc.d/init.d, and has symbolic links to it put in rc.3, rc.5, rc.6 . This could all be done by hand, following the script. Or you could change the name of one of the distributions to the one you can get by using the exact same KERNAM=`cat .... uname... line right at the top.
Graham L (2)
370988 2005-07-19 02:59:00 Thanks for the Help Graham L

Im very new to linux so do not know my way around quite that well yet but i believe i have installed the full development kernel sources not just the headers.
SiTtInG_dUcK (8497)
370989 2005-07-19 03:11:00 SD: have a look in the "Intel...longwindedname" directory created when you unpacked the driver tar.gz package. Your compilation worked, so you will have a Intel536.ko file. That's the module for 2.6.x kernel. You might have an Intel536.o which is for 2.4.x as well;) You can sort of understand the install script if you try. I printed it out last night, but I forgot to bring it with me. ;( Graham L (2)
370990 2005-07-19 03:15:00 Graham /bin/gcc returns: :badpc:


root@ubuntu:/home/mine # /bin/gcc
bash: /bin/gcc: No such file or directory
root@ubuntu:/home/mine #
B.M. (505)
370991 2005-07-19 03:21:00 Is it "apt-get " you use to get a package? It's not the computer's fault. It can't run it if it hasn't got it. ;) Graham L (2)
370992 2005-07-19 04:40:00 Heey, I was crashing around "Windows" style double clicking icons when I came accross a file called "makefile" so I double-clicked it to see what would happen and bingo the screen went mad and returned the following . :lol:

all:
@echo usage: make [536ep]
@echo or [clean] or
@echo or [install]


clean:
cd coredrv; make clean
cd serialdrv; make clean
rm -f * . o
rm -f * . o

install:
bash 536ep-inst

check:
@bash config_check

config_sync:
mv /lib/modules/`uname -r`/build/include/linux/version . h version . bak
mv /lib/modules/`uname -r`/build/include/linux/autoconf . h autoconf . bak
cp /boot/vmlinuz . version . h /lib/modules/`uname -r`/build/include/linux/version . h
cp /boot/vmlinuz . autoconf . h /lib/modules/`uname -r`/build/include/linux/autoconf . h


536ep: check
cd coredrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
cp coredrv/536epcore . o .
cd serialdrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
cp serialdrv/536ep . o .


Someone tell me the driver's installed . :D

Must be an error message there somewhere . :p
B.M. (505)
370993 2005-07-19 05:30:00 To my (limited knowledge) eyes, there looks like no error, just a lot of commands to move or copy this file to that location....
Have you tried the modem at all?
Myth (110)
370994 2005-07-19 05:38:00 When you click on a text file in Windows, what happens? It comes up in Notepad or some other application which can handle text files.

"Makefile" is a text file containing the data the make utility needs to build something for the system. I guess that the GUI just recognised it as a text file and used a viewer to display it. It just displayed it. No errors. None expected. It didn't start make, passing it the Makefile file.

Sorry, I think you need to find what the C compiler package you need to get to install gcc is called, and fetch it.

find /lib/modules -name Intel536.ko will give no response. That will mean that the module hasn't been installed. I bet you haven't got Intel536.ko, nor Intel536.o in that Intel source directory, either.
Graham L (2)
370995 2005-07-19 07:59:00 :horrified :horrified :horrified Dead right Graham. No Intel536.ko or .k.

Sooooo, off to hunt down the C compiler. Wonder what it looks like?

I've got a Grubb, a Hoary Hedgehog, a Python, and a Warty something but no C compiler. :D
B.M. (505)
1 2 3 4 5 6 7 8