#11319 NORM Not Tri: Scratch need libv4l-devel package

Zarro Boogs per Child bugtracker at laptop.org
Sat Oct 8 06:20:01 EDT 2011


#11319: Scratch need libv4l-devel package
------------------------------------+---------------------------------------
           Reporter:  godiard       |       Owner:  dsd          
               Type:  defect        |      Status:  new          
           Priority:  normal        |   Milestone:  Not Triaged  
          Component:  build-system  |     Version:  not specified
         Resolution:                |    Keywords:               
        Next_action:  diagnose      |    Verified:  0            
Deployment_affected:                |   Blockedby:               
           Blocking:                |  
------------------------------------+---------------------------------------
Changes (by dsd):

  * next_action:  add to build => diagnose


Comment:

 I think there is something wrong with your compile setup. Maybe you didn't
 have the devel package installed on your compile box? Works for me:

 {{{
 [dsd at polyethylene camera]$ make
 rm -f *.o ../../../Plugins/so.CameraPlugin
 gcc  -fPIC -c *.c
 sqCamera-linux.c: In function ‘libCon’:
 sqCamera-linux.c:184:10: warning: assignment from incompatible pointer
 type [enabled by default]
 gcc -shared -lv4l2 *.o -o ../../../Plugins/so.CameraPlugin
 [dsd at polyethylene camera]$ ldd ../../../Plugins/so.CameraPlugin
         linux-gate.so.1 =>  (0x009b0000)
         libv4l2.so.0 => /usr/lib/libv4l2.so.0 (0x002b9000)
         libc.so.6 => /lib/libc.so.6 (0x00110000)
         libv4lconvert.so.0 => /usr/lib/libv4lconvert.so.0 (0x002c4000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x0029c000)
         /lib/ld-linux.so.2 (0x005ab000)
         librt.so.1 => /lib/librt.so.1 (0x0033c000)
         libm.so.6 => /lib/libm.so.6 (0x00d63000)
         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00764000)
 [dsd at polyethylene camera]$ rpm -q -f /usr/lib/libv4l2.so.0
 libv4l-0.8.5-1.fc15.i686
 }}}

 i.e. the plugin linked against libv4l2.so.0 which is found in the libv4l
 package, not libv4l-devel

-- 
Ticket URL: <http://dev.laptop.org/ticket/11319#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list