On Sun, Oct 4, 2009 at 9:07 PM, Adam Charrett <a...@dvbstreamer.org> wrote:

> On Sun, 2009-10-04 at 10:25 +1300, Bernard Mentink wrote:
> >
> > Maybe my thanks was a tad quick. When I tried to compile it I get this
> > error:
> >
> >
> >
> --------------------------------------------------------------------------------------------------------------------
> > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
> > -Wall -Werror -D_GNU_SOURCE -g -O2 -MT sap.lo -MD -MP
> > -MF .deps/sap.Tpo -c sap.c -fPIC -DPIC -o .libs/sap.o
> > cc1: warnings being treated as errors
> > sap.c: In function ‘SAPServer’:
> > sap.c:226: error: dereferencing pointer ‘sockAddr4’ does break
> > strict-aliasing rules
> > sap.c:227: error: dereferencing pointer ‘sockAddr4’ does break
> > strict-aliasing rules
> > sap.c:198: note: initialized from here
> > sap.c:236: error: dereferencing pointer ‘sockAddr6’ does break
> > strict-aliasing rules
> > sap.c:237: error: dereferencing pointer ‘sockAddr6’ does break
> > strict-aliasing rules
> > sap.c:238: error: dereferencing pointer ‘sockAddr6’ does break
> > strict-aliasing rules
> > sap.c:242: error: dereferencing pointer ‘sockAddr6’ does break
> > strict-aliasing rules
> > sap.c:234: note: initialized from here
> > make[2]: *** [sap.lo] Error 1
> >
> ---------------------------------------------------------------------------------------------------------------------
> Odd, what version of gcc are you using? I've just checked and the
> release compiles with 3.4 and 4.3.
>
> Cheers
>
> Adam
>
>
HI Adam,

Using gcc v4.4.1. I have managed to get it to compile, but I had to turn off
strict aliasing with:

CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure --prefix=/usr


By the way, having run it and got rid of the .db files as per your original
response and re-fetched the guide data, I still get no change .... it
doesn't seem to have made any difference.

Do I have to do a setupdvbstreamer again?

Cheers,
Bernie
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to