[hsflinux] Re: cannot compile latest hsf linmodem driver - maybe gcc problem?

Hanno Böck hanno at gmx.de
Wed Jan 1 14:30:46 EST 2003


Okay, now I know the problem.
I'm using gentoo linux and my gcc is in
/usr/i686-pc-linux-gnu/gcc-bin/3.2/

The script only looks in /usr/bin, not in the full path.

I can compile the driver now, but I think this is definitely a bug and
should be fixed.

> It's telling you 3 things:
> 
> 1: That your kernel was compiled using gcc version 3.2.1;
> 2: That it cannot find gcc anywhere;
> 3: What to do about it.
> 
> Don't know how proficient you are in Unix or shell scripting, but if
> you find (don't know what driver you installed) a HSF compile
> directory called modules (I installed from the .tar.gz driver, so for
> me it's easy to find) and "less" kernelcompiler.sh, you'll se it's
> looking for gcc somewhere. It would be perfectly happy with gcc 3.2,
> but it can't find it.
> 
> gcc should be in /usr/bin. For example, I have 2 versions of gcc
> there, gcc3 and gcc2.9.6. Ican use either, by making a symlink from
> the relevant version to /usr/bin/gcc.
> 
> Whatever gcc version you use, to compile the HSF driver, it should be
> the same as the version used to compile your kernel.

-- 
Hanno Boeck - hanno at gmx.de               /"\
                                         \ / ASCII Ribbon Campaign
Say no to DMCA, TCPA, Palladium!          X  Against HTML Mail
www.stop1984.com                         / \



More information about the hsflinux mailing list