[aur-general] Compile of dvbstreaner fails with gcc 4.4

Bernard Mentink bmentink at gmail.com
Sat Sep 12 06:07:54 EDT 2009


On Sat, Sep 12, 2009 at 9:59 PM, Henning Garus <henning.garus at googlemail.com
> wrote:

> On Sat, Sep 12, 2009 at 08:34:15PM +1200, Bernard Mentink wrote:
> > I am trying to install the dvbstreamer package. When I compile  it I get
> an
> > error regarding "strict referencing of pointers". On googling around I
> find
> > that you can't use the -Werror compile option with gcc 4.4
> >
> Not really, as mentioned in the AUR comments, the better soulution is to
> deactivate strict-aliasing.
>
> > Can anyone tell me how to remove this option during the build, please
> tell
> > me the steps to follow to do this as I am
> > just a user that installs by "makepkg" etc ...
> >
>
> Replace the line:
>
> ./configure --prefix=/usr
>
> in the PKGBUILD with:
>
> CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure --prefix=/usr
>

Thanks, all good now.

Cheers,
Bernir


More information about the aur-general mailing list