Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Problems compiling dvb driver build 2.6 with Mandrake 10



Hi Albert,

I just asked the question yesterday and, thanks to Anders Gunnarsson, I realized that although "urpmi" said me the kernel-source package was already installed, it was badly installed.

I arrived to the same situation at noon.

I talked with our local mandrake specialist here and he told me that he already encounterred this problem.

First, creating a soft link to replace the "s" with a "S" is not the solution.

Here is what he asked me to do :

First, I did

	cd /usr/src/linux

Then, I did

	make menuconfig

Then, in the menu, I chose "Load an alternate configuration file".
At the prompt, I enter "/boot/config" without the quotes.

Then I exited the menu.

Then, our local mandrake expert told me to rebuild a kernel I may not need, just to have those scripts built for a later compilation of the driver.

But before launching the make process, the expert also advised me to edit the Makefile and change the "EXTRAVERSION" variable to something more intuitive than "-7mdk-custom". I did it.

Then, in order to do build the kernel image, I enterred the following command under the /usr/src/linux directory :

	make bzImage

This built a compressed image of the kernel but I did not install it.

At this time, I went back to the place where I put the source code of the DVB driver and the make process went ok.

However, I still cannot figure out how to load the firmware for my Hauppauge Nexus-S board. I have a track however since I noticed that the "CONFIG_TTPCI_FIRMWARE" variable or something like that is not defined by default in the mandrake distribution. The exact variable name to define is given in the build-2.6/Makefile of the driver.

However, I can't say more about it right now since I'm on the way of recompiling the beast.

Hope this helps. Have a nice day. Chris

-----Original Message-----
From: linux-dvb-bounce@linuxtv.org
[mailto:linux-dvb-bounce@linuxtv.org]On Behalf Of Albert Puig
Sent: mercredi 22 septembre 2004 15:27
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] Problems compiling dvb driver build 2.6 with
Mandrake 10


Hi to everybody,

I have found some problems compiling the linuxtv-dvb-1.1.1. I have
installed a mandrake 10 with kernel version 2.6.3-7mdk.
 
In build-2.6 directory I execute make command, but the compilation
process find errors. The first one was that the name of the file
'vmlinux.lds.s' in madrake this appears with the last 's' in capitals
letters. I solve this problem doing a soft link to 'vmlinux.lds.s'.
But now, i have this message error:

 LD [M]  /home/albertp/LinuxTV-drivers/linuxtv-dvb-1.1.1/build-2.6/dvb-ttpci.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
ld:arch/i386/kernel/vmlinux.lds.s:5: ignoring invalid character `#' in
expression
ld:arch/i386/kernel/vmlinux.lds.s:5: syntax error
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make: *** [all] Error 2

Someone have the solution to this problem.
Thanxs,
Albert




Home | Main Index | Thread Index