Bug 479489 - libv4l-0.5.7-1 failure to compile on several warnings and an error
libv4l-0.5.7-1 failure to compile on several warnings and an error
Product: Fedora
Classification: Fedora
Component: libv4l (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Hans de Goede
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-01-09 18:28 EST by R P Herrold
Modified: 2009-01-10 08:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-10 08:12:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
std out (840 bytes, text/plain)
2009-01-09 18:28 EST, R P Herrold
no flags Details
stderr (5.27 KB, text/plain)
2009-01-09 18:29 EST, R P Herrold
no flags Details

  None (edit)
Description R P Herrold 2009-01-09 18:28:09 EST
Created attachment 328605 [details]
std out

Description of problem:

cannot compile libv4l-0.5.7-1

Version-Release number of selected component (if applicable):


How reproducible:

rpmbuild --rebuild libv4l-0.5.4-1.fc10.src.rpm

Steps to Reproduce:

stdout and stderr log will attached
Actual results:

libv4lconvert.c:996: error: dereferencing pointer to incomplete type
make[1]: *** [libv4lconvert.o] Error 1
make[1]: *** Waiting for unfinished jobs....

files built this way:

$ rpmbuild --rebuild libv4l-0.5.4-1.fc10.src.rpm > libv4l-stdout.txt 2> libv4l-stderr.txt

Expected results:

successful rebuild

Additional info:

Please ask if details are needed.

-- Russ herrold
Comment 1 R P Herrold 2009-01-09 18:29:04 EST
Created attachment 328606 [details]
Comment 2 R P Herrold 2009-01-09 18:32:33 EST
camera target appears at /dev/video0 but I cannot get that far

It worked ONCE with ekiga, and not I cannot get ekiga to start, so I am rebuilding chain

I need it for testing 'camstream'

        libv4l-devel is needed by camstream-0.26.3-15orc.x86_64

or 'gyachi':

        libv4l-devel is needed by gyachi-1.1.61-1orc.x86_64
        gpgme-devel is needed by gyachi-1.1.61-1orc.x86_64
        libmcrypt-devel >= 2.5.0 is needed by gyachi-1.1.61-1orc.x86_64
        pulseaudio-libs-devel is needed by gyachi-1.1.61-1orc.x86_64
        gtkspell-devel is needed by gyachi-1.1.61-1orc.x86_64
Comment 3 Hans de Goede 2009-01-10 08:12:38 EST
This is the cause:
../include/libv4lconvert.h:77: warning: 'struct v4l2_frmsizeenum' declared inside parameter list
../include/libv4lconvert.h:77: warning: its scope is only this definition or declaration, which is probably not what you want
../include/libv4lconvert.h:82: warning: 'struct v4l2_frmivalenum' declared inside parameter list

Of the failure and that means that your /usr/include/linux/videodev2.h file is pretty old. It definitely is not one from a recent supported Fedora kernel, so I'm closing this.

Note You need to log in before you can comment on or make changes to this bug.