[cpia] Re: cpia.o: unresolved symbol(s) was: "usb.h" is missing ? was: usageunder the 2.3.51 kernel"

Johannes Erdfelt jerdfelt@sventech.com
Tue, 14 Mar 2000 13:29:09 -0500


You need video4linux as well. It's called videodev.o.

Try doing a modprobe cpia_usb and it should resolve all of the
dependancies and load all of the modules needed. If that doesn't work
you need to compile video4linux support. It's in the main kernel.

JE

On Tue, Mar 14, 2000, vincent <vincent@linuxbe.org> wrote:
> I have change the following line in the Makefile because it s USB camera
> that I want install
> I don't know why it will installed the cpia_pp ?
> 
> OBJS     = cpia.o cpia_usb.o #cpia_pp.o #cpia_usb.o
> 
> I have also try to load cpia manually but I have some other error...
> 
> [root@jukebox module]# make clean
> rm -f *.o *~ core .depend
> [root@jukebox module]# make install
> gcc -c -D_CPIA_DEBUG_ -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer  -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=686 -fomit-frame-pointer
> -fno-strength-reduce -I. -I/usr/src/linux/include -D__KERNEL__ -DMODULE
> -DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VIDEO_CPIA_PP_MODULE
> -DCONFIG_VIDEO_CPIA_PP_DMA  cpia.c
> gcc -c -D_CPIA_DEBUG_ -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer  -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=686 -fomit-frame-pointer
> -fno-strength-reduce -I. -I/usr/src/linux/include -D__KERNEL__ -DMODULE
> -DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VIDEO_CPIA_PP_MODULE
> -DCONFIG_VIDEO_CPIA_PP_DMA  cpia_usb.c
> install -m 644 -o root -g root cpia.o cpia_usb.o  /lib/modules/`uname
> -r`/misc
> /sbin/depmod -a
> /lib/modules/2.3.51/misc/cpia_pp.o: unresolved symbol(s)
> 
> [root@jukebox module]# /sbin/depmod -ae
> /lib/modules/2.3.51/misc/cpia_pp.o: unresolved symbol(s)
>         parport_read
>         parport_unregister_device
>         parport_write
>         parport_unregister_driver
>         parport_register_driver
>         parport_negotiate
>         parport_register_device
>         parport_claim
>         parport_release
> [root@jukebox module]# 
> 
> [root@jukebox module]# /sbin/insmod cpia_usb
> ./cpia_usb.o: unresolved symbol cpia_unregister_camera
> ./cpia_usb.o: unresolved symbol cpia_register_camera
> [root@jukebox module]# /sbin/insmod cpia    
> ./cpia.o: unresolved symbol video_register_device
> ./cpia.o: unresolved symbol video_unregister_device
> [root@jukebox module]#
> 
> Thomas Davis wrote:
> > 
> > vincent wrote:
> > >
> > > ok gor the usb.h (thx you ;)
> > >
> > > but i have always the "unresolved symbol(s)" message ?
> > > why ?
> > >
> > 
> > do a 'depmod -ae', and it will tell you what the missing symbols are.
> > 
> > --
> > ------------------------+--------------------------------------------------
> > Thomas Davis            | PDSF Project Leader
> > tadavis@lbl.gov         |
> > (510) 486-4524          | "Only a petabyte of data this year?"
> > 
> > _______________________________________________
> > cpia mailing list  -  cpia@risc.uni-linz.ac.at
> > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
> 
> _______________________________________________
> cpia mailing list  -  cpia@risc.uni-linz.ac.at
> http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
>