pkgsrc-Bugs archive

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

pkg/40394: graphics/libv4l compilation errros (missing include) on NetBSD 4.0



>Number:         40394
>Category:       pkg
>Synopsis:       graphics/libv4l compilation errros (missing include) on NetBSD 
>4.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 14 09:25:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE  (pkgsrc current within an hour or so)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        graphics/libv4l (or the libv4l1 part of it, at least, if that
        is not all of it) requires videodev.h which doesn't exist on
        NetBSD 4.0.   That leads to lots of undefined symbols, etc.

>How-To-Repeat:
        I use pkg_comp and the NetBSD 4.0 release sets with libkver to
        simulate a pure 4.0 environment.   For this build I'm using
        pkgsrc modular xorg, rather than the x* sets from 4.0 (I doubt
        any of this information is particularly relevant here).

        Building graphics/libv4l results in ...

gmake[1]: Entering directory 
`/pkg_comp/obj/pkgsrc/graphics/libv4l/4x/libv4l-0.4.3/libv4l1'
cc -c -MMD  -I../include -I../../../../linux/include -fvisibility=hidden -fPIC 
-g -O1 -Wall -Wno-unused -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -o libv4l1.o libv4l1.c
libv4l1.c:65:22: error: videodev.h: No such file or directory
libv4l1.c: In function 'palette_to_pixelformat':
libv4l1.c:91: error: 'VIDEO_PALETTE_GREY' undeclared (first use in this 
function)
libv4l1.c:91: error: (Each undeclared identifier is reported only once
libv4l1.c:91: error: for each function it appears in.)
libv4l1.c:93: error: 'VIDEO_PALETTE_RGB555' undeclared (first use in this 
function)
libv4l1.c:95: error: 'VIDEO_PALETTE_RGB565' undeclared (first use in this 
function)
libv4l1.c:97: error: 'VIDEO_PALETTE_RGB24' undeclared (first use in this 
function)

        And lots more like that (incl deref ptr to incomplete type errs).

>Fix:

        Perhaps this package should be restructed to NetBSD 5 and above?
        If so, something needs to be done with devel/ptlib that depends upon
        this one (wnd which used to build fine on NetBSD 4.0).

>Unformatted:
 Severity:      serious


Home | Main Index | Thread Index | Old Index