Hamid wrote:
Hi
I am trying to make my PCI/Orinoco wireless work, so I followed the manufacturer's instructions.
Upon issuing the command: 'insmod wavelan2_cs' it complains: "lib/modules/2.4.21-192-smp4G/pcmcia/wavelan2_cs.o: The module you are trying to load (/lib/modules/2.4.21-192-smp4G/pcmcia/wavelan2_cs.o) is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work."
But my gcc IS version 3 and I guess it is the only compiler which comes with SUSE 9.0. The make file for compiling wavelan2_cs refers to 'cc' which is a lin to gcc 3.x
Does anybody have any idea how to resolve this issue ?
I haven't copiled a kernel recently but AFAIK, it's still usually compiled with gcc 2.95.3 even though the installed compiler is gcc 3.3.1. Somebody tell me if I got that wrong. If that's right, then you may need to install gcc 2.95.3 at least temporarily. The usual way would be to download it from a mirror of ftp.gnu.org: $ tar zxvf gcc-2.95.3.tar.gz $ mkdir build-gcc $ cd build-gcc $ ../gcc-2.95.3/configure -v $ make (may take several hours depending on the processor) $ su # make install I haven't actually tried this with 2.95.3 (I use 3.3.2) but I've built a few compilers this way. Everything will get installed in /usr/local and you should find (use $gcc --version) it becomes the default version. If you later want to remove it, delete what you installed in /usr/local subdirectories: include, bin, lib, man, info. Alternatively specify (say) --prefix=/opt/gcc2 to get everything installed in /opt/gcc2 and set all the compiler flags to look there first when compiling the kernel. Sorry I don't know an easier way (maybe there's something on http://www.tldp.org/) or even confidently whether this is the solution you're looking for. -- JDL Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.