[aur-general] Compile of dvbstreaner fails with gcc 4.4
Hi All, 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 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 ... Thanks, Bernie
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
On Sat, Sep 12, 2009 at 9:59 PM, Henning Garus <henning.garus@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
participants (2)
-
Bernard Mentink
-
Henning Garus