[libdvbpsi-devel] Compilation fail on master (dvbinfo.c) (13e9ce3)

Greg Mountford greg.mountford at gmail.com
Tue Jul 23 11:25:59 CEST 2013


[SOLVED]

for some reason both my systems' <getopt.h> specifies 'CmdLineOption'
rather than 'option'. Changed this in both dvbinfo.c & decode_mpeg.c and
compiles fine.


On 23 July 2013 09:53, Greg Mountford <greg.mountford at gmail.com> wrote:

> Hi,
>
> I'm not sure of the best way to report/query this. I've tried on 2
> machines (Mac OS X and Ubuntu 12.10) using the following configure option
> as per the INSTALL doc: ./configure --prefix=/usr --enable-debug
> --disable-release
>
> make[3]: Entering directory
> `/media/space/projects/videoCreation/libdvbpsi/examples/dvbinfo'
> /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../..  -D_FILE_OFFSET_BITS=64
> -DDVBPSI_DIST   -g3 -gdwarf-2 -Wall -Werror --std=gnu99 -D_GNU_SOURCE
> -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow
> -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare
> -ggdb3 -DDVBPSI_DIST -MT dvbinfo-dvbinfo.o -MD -MP -MF
> .deps/dvbinfo-dvbinfo.Tpo -c -o dvbinfo-dvbinfo.o `test -f 'dvbinfo.c' ||
> echo './'`dvbinfo.c
> dvbinfo.c: In function ‘main’:
> *dvbinfo.c:457:32: error: array type has incomplete element type*
> dvbinfo.c:457:32: error: unused variable ‘long_options’
> [-Werror=unused-variable]
> cc1: all warnings being treated as errors
>
> Any clues?
>
> Cheers,
> Greg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libdvbpsi-devel/attachments/20130723/75e851d8/attachment.html>


More information about the libdvbpsi-devel mailing list