Mailing List archive

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

[mpeg2] Re: Problem compiling driver on Redhat 7.2



On Fri, 12 Apr 2002 17:01:41 +0200
David Mar <dmari@lavinia.tc> wrote:

> I just download the CVS version and it compiled allright! Thanks to Bram
> Stolk himself!
> 
> Ok, now I have all the modules compiled as *.o files and from the
> kfir/driver/ directory I type :
> 
> make insmod
> 
> and this is where I'm locked now, getting this error message :

rebuild your kernel with i2c and v4l,
then only load modules saa7113 and kfir

> 
> 
> [root@localhost driver]# make insmod
> make: /scripts/pathdown.sh: No se encontró el programa
> make
> make[1]: /scripts/pathdown.sh: No se encontró el programa
> make[1]: Cambiando a directorio `/root/CVSKfir/driver'
> DIR=`pwd`; (cd /usr/src/linux-2.4.7-10; make SUBDIRS=$DIR modules)
> make[2]: Cambiando a directorio `/usr/src/linux-2.4.7-10'
> make -C  /root/CVSKfir/driver CFLAGS="-D__KERNEL__
> -I/usr/src/linux-2.4.7-10/include -Wall -Wstrict-prototypes -Wno-trigraphs
> -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -Wno-unused -pipe
> -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.4.7-10/include/linux/modversions.h"
> MAKING_MODULES=1 modules
> make[3]: Cambiando a directorio `/root/CVSKfir/driver'
> make[3]: No se hace nada para `modules'.
> make[3]: Saliendo directorio `/root/CVSKfir/driver'
> make[2]: Saliendo directorio `/usr/src/linux-2.4.7-10'
> 
> make[1]: Saliendo directorio `/root/CVSKfir/driver'
> insmod videodev
> Using /lib/modules/2.4.7-10/kernel/drivers/media/video/videodev.o
> insmod i2c-core.o
> i2c-core.o: unresolved symbol create_proc_entry_Rsmp_3a9bfbd2
> i2c-core.o: unresolved symbol remove_proc_entry_Rsmp_cfd23da1
> i2c-core.o: unresolved symbol __generic_copy_to_user_Rsmp_d523fdd3
> i2c-core.o: unresolved symbol proc_bus_Rsmp_511d655f
> i2c-core.o: unresolved symbol kfree_Rsmp_037a0cba
> i2c-core.o: unresolved symbol printk_Rsmp_1b7d4074
> i2c-core.o: unresolved symbol sprintf_Rsmp_3c2c5af5
> i2c-core.o: unresolved symbol kmalloc_Rsmp_93d4cfe6
> make: [insmod] Error 1 (no tiene efecto)
> insmod i2c-algo-bit.o
> i2c-algo-bit.o: unresolved symbol i2c_add_adapter_Rsmp_33b75073
> i2c-algo-bit.o: unresolved symbol printk_Rsmp_1b7d4074
> i2c-algo-bit.o: unresolved symbol schedule_Rsmp_4292364c
> i2c-algo-bit.o: unresolved symbol __const_udelay_Rsmp_eae3dfd6
> i2c-algo-bit.o: unresolved symbol __udelay_Rsmp_9e7d6bd0
> i2c-algo-bit.o: unresolved symbol jiffies_Rsmp_0da02d67
> i2c-algo-bit.o: unresolved symbol i2c_del_adapter_Rsmp_5babfe4d
> make: [insmod] Error 1 (no tiene efecto)
> insmod saa7113.o
> saa7113.o: unresolved symbol i2c_transfer_Rsmp_a2a7e455
> saa7113.o: unresolved symbol i2c_add_driver_Rsmp_6d7c1838
> saa7113.o: unresolved symbol i2c_detach_client_Rsmp_6f8b23f6
> saa7113.o: unresolved symbol kfree_Rsmp_037a0cba
> saa7113.o: unresolved symbol printk_Rsmp_1b7d4074
> saa7113.o: unresolved symbol i2c_master_send_Rsmp_06fe6d88
> saa7113.o: unresolved symbol kmalloc_Rsmp_93d4cfe6
> saa7113.o: unresolved symbol i2c_del_driver_Rsmp_11a76106
> saa7113.o: unresolved symbol i2c_attach_client_Rsmp_0e8734a0
> make: [insmod] Error 1 (no tiene efecto)
> insmod kfir.o debug=1;
> kfir.o: unresolved symbol i2c_transfer_Rsmp_a2a7e455
> kfir.o: unresolved symbol free_irq_Rsmp_f20dabd8
> kfir.o: unresolved symbol i2c_bit_add_bus_Rsmp_d53ef5ba
> kfir.o: unresolved symbol pci_register_driver_Rsmp_304ebf84
> kfir.o: unresolved symbol iounmap_Rsmp_5fb196d4
> kfir.o: unresolved symbol pci_read_config_dword_Rsmp_086be4f9
> kfir.o: unresolved symbol __generic_copy_to_user_Rsmp_d523fdd3
> kfir.o: unresolved symbol video_unregister_device_Rsmp_a5512cf0
> kfir.o: unresolved symbol sys_close_Rsmp_268cc6a2
> kfir.o: unresolved symbol remove_wait_queue_Rsmp_2d22232f
> kfir.o: unresolved symbol __vmalloc_Rsmp_79995c5b
> kfir.o: unresolved symbol schedule_timeout_Rsmp_17d59d01
> kfir.o: unresolved symbol __ioremap_Rsmp_9eac042a
> kfir.o: unresolved symbol __wake_up_Rsmp_127fda83
> kfir.o: unresolved symbol kfree_Rsmp_037a0cba
> kfir.o: unresolved symbol printk_Rsmp_1b7d4074
> kfir.o: unresolved symbol vfree_Rsmp_2fd1d81c
> kfir.o: unresolved symbol sprintf_Rsmp_3c2c5af5
> kfir.o: unresolved symbol kmalloc_Rsmp_93d4cfe6
> kfir.o: unresolved symbol video_register_device_Rsmp_f59adb7b
> kfir.o: unresolved symbol i2c_bit_del_bus_Rsmp_2e7322be
> kfir.o: unresolved symbol schedule_Rsmp_4292364c
> kfir.o: unresolved symbol __const_udelay_Rsmp_eae3dfd6
> kfir.o: unresolved symbol pci_unregister_driver_Rsmp_738350d9
> kfir.o: unresolved symbol jiffies_Rsmp_0da02d67
> kfir.o: unresolved symbol request_irq_Rsmp_0c60f2e0
> kfir.o: unresolved symbol pci_write_config_dword_Rsmp_d187b286
> kfir.o: unresolved symbol pci_read_config_word_Rsmp_2482fae9
> kfir.o: unresolved symbol add_wait_queue_Rsmp_0987e9bc
> make: [insmod] Error 1 (no tiene efecto)
> 
> 
> 
> any idea?
> 
> 
> Thanks a lot for your patiente, guys. I'm a real nerd. ;)
> 
> 
> 
> 
> -----------------------------------------------------------
> David Marí Martínez
> dmari@lavinia.tc
> LavíniaTC
> www.lavinia.tc
> Permanyer,12
> 08009
> Barcelona
> +34932723410
> -----------------------------------------------------------
> ----- Original Message -----
> From: "Stephen Robert Norris" <srn@fn.com.au>
> To: "David Marí" <dmari@lavinia.tc>
> Cc: <mpeg2@linuxtv.org>
> Sent: Friday, April 12, 2002 1:12 PM
> Subject: [mpeg2] Re: Problem compiling driver on Redhat 7.2
> 
> 
> >
> > On Fri, 2002-04-12 at 21:08, David Marí wrote:
> > >
> > > Hi there.
> > >
> > > I recently acquired de MPEG-2 kfir based board from linuxtv.org and it
> works so fine on windows 98 for me.
> > >
> > > My problem is when I enter the linux RedHat 7.2 arena :
> > >
> > > I followed the step-by-step procedure to install the driver, but it does
> not compile! I am able to extract the microcode, but when it comes to
> compile the modules, it doesn't work. The kernel is version 2.4.7-10.
> > >
> > > Do you recommend that I use another linux version of RedHat? Maybe 7.0,
> 7.1 ?
> > >
> > > Or do you have any step-by-step guide to fix de bugs in the compilation
> in Redhat 7.2 or Kernels 2.4 and above?
> > >
> > > one of them is the typical deprecation of the used include malloc.h in
> the driver code.
> > >
> > >
> > > Thank you very much.
> >
> > What error are you getting? I remember I commented out the i2c stuff and
> > just used the kernels, which worked for me...
> >
> > --
> > Stephen Norris   srn@fn.com.au
> > Farrow Norris Pty Ltd +61 417 243 239
> >
> > -- Attached file included as plaintext by Listar --
> > -- File: signature.asc
> > -- Desc: This is a digitally signed message part
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.0.6 (GNU/Linux)
> > Comment: For info see http://www.gnupg.org
> >
> > iD8DBQA8tsEoe+ykMRrETOURApypAJ9s+lMEGxvnhy3c92pZTpMLWzBqTACfVBxO
> > 08bF0MG1GUShWIkWHOGdwq4=
> > =eZjl
> > -----END PGP SIGNATURE-----
> >
> >
> >
> 
> 
> 




Home | Main Index | Thread Index