Mailinglist Archive: opensuse (3506 mails)

< Previous Next >
Re: [SLE] problem to build - part 2
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Sun, 3 Sep 2006 17:34:13 +0000 (UTC)
  • Message-id: <200609031934.00509.andjoh@xxxxxxxxxx>
On Sunday 03 September 2006 19:29, Marc Collin wrote:
> hi
>
> hi tried to build forcedeth.c (nvidia network driver)
>
> [code]
> #make -C /usr/src/linux-2.6.16.21-0.13 SUBDIRS=$PWD modules
> make: Entering directory `/usr/src/linux-2.6.16.21-0.13'
> Makefile:450: .config: No such file or directory
>
> WARNING: Symbol version dump
> /usr/src/linux-2.6.16.21-0.13/Module.symvers
> is missing; modules will have no dependencies and modversions.
>
> CC [M] /home/anny/download/NV_MCP55_Linux_DRV_PKG_v1.11/forcedeth.o
> gcc: error trying to exec 'cc1': execvp: No such file or directory

What is the output of

rpm -q gcc
rpm -q cpp

If you have them installed, as you say, then I suspect they are of different
versions. they need to match

Also do

rpm -V gcc
rpm -V cpp

just to make sure they aren't corrupt. If they are, you'll have to reinstall
them

After you have a working gcc and cpp, you need to do

cd /usr/src/linux
make mrproper
make cloneconfig
make scripts
make prepare-all


< Previous Next >
References