LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   56k Modem driver install issues (https://www.linuxquestions.org/questions/linux-networking-3/56k-modem-driver-install-issues-174295/)

panthrax 04-25-2004 02:46 AM

56k Modem driver install issues
 
I am a newbie to linux almost entirely. I started playing with Slackware 9.1 for a few weeks untill I moved over to Fedora Core 1 which I am using now.

I have a HSF Conexant modem, along with linux drivers for it. In Slackware 9.1, I could easily install these drivers and be on the internet in no time. In Fedora Core 1 however, it is a different story.

After seeing it error towards the very end, it told me about a log file it generated, and for me to check it. Since I am a total newb to this, I'll let you gurus out there take a gander at this gobbly-gook and see if you can help me out.

Code:

../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)
rm -f *.o *.a
../../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
* compiling (gcc) mod_osspec.c
make -C osspec all
../../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
* compiling (gcc) osmemory.c
* compiling (gcc) osstring.c
* compiling (gcc) osdebug.c
* compiling (gcc) osfloat.c
* compiling (gcc) osstdio.c
* compiling (gcc) osmodule.c
* compiling (gcc) osnvm.c
* compiling (gcc) ostime.c
* compiling (gcc) linuxres.c
ar cr libosspec.a osmemory.o osstring.o osdebug.o osfloat.o osstdio.o osmodule.o osnvm.o ostime.o linuxres.o
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
> linking kernel module hsfosspec.o
                                                                                                                                                           
* compiling (gcc) mod_basic2.c
> linking kernel module hsfbasic2.o
                                                                                                                                                           
* compiling (gcc) mod_ich.c
> linking kernel module hsfich.o
                                                                                                                                                           
* compiling (gcc) mod_via.c
> linking kernel module hsfvia.o
                                                                                                                                                           
* compiling (gcc) mod_ali.c
> linking kernel module hsfali.o
                                                                                                                                                           
* compiling (gcc) mod_yukon.c
> linking kernel module hsfyukon.o
                                                                                                                                                           
* compiling (gcc) mod_engine.c
> linking kernel module hsfengine.o
                                                                                                                                                           
* compiling (gcc) serial_hsf.c
In file included from serial_hsf.c:897:
serial_core.c: In function `uart_close':
serial_core.c:1073: error: invalid operands to binary ==
make: *** [serial_hsf.o] Error 1


woodywellhung 04-25-2004 01:04 PM

sounds like you need to install the gcc compiler package.

In may distro (redhat 9) it came under 'basic development tools' but i dont know how other distros handle adding/removing applications.

you will also need the kernel sources installed as well.

rhine000 10-20-2004 11:14 AM

In serial_core.c, change line 1073 from:
if ((tty->count.counter == 1) && (state->count != 1)) {
to
if (((tty->count).counter == 1) && (state->count != 1)) {

and run hsfconfig again. Everything should be ok


All times are GMT -5. The time now is 07:13 AM.