Re: Compilation fail on master (dvbinfo.c) (13e9ce3)
Greg Mountford <[email protected]>
| Newsgroups | gmane.comp.video.videolan.libdvbpsi.devel |
|---|---|
| Message-ID | <CANuOnh7ek7RNSKhgAWjuC4VBn9+0JY=Mujbr8hao6+VRQoWraA@mail.gmail.com> |
[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 <[email protected]> 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 > _______________________________________________ libdvbpsi-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libdvbpsi-devel