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

Henning Garus henning.garus at googlemail.com
Sat Sep 12 05:59:48 EDT 2009


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


More information about the aur-general mailing list