hi list,
i get the following error while trying to install PDP on a linux Fedora
Core 2 box with a planetccrma kernel.
anyone any ideas what this means?
thanks,
rob
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
-DPDP_VERSION="0.12.2" -g -Werror -I. -I/usr/X11R6/include
-I../include -I../../include -o pdp.o -c pdp.c
make[2]: Leaving directory
/home/robcanning/pure-data/externals/pdp/system/kernel' make -C image linux make[2]: Entering directory
/home/robcanning/pure-data/externals/pdp/system/image'
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
-DPDP_VERSION="0.12.2" -g -Werror -I. -I/usr/X11R6/include
-I../include -I../../include -o pdp_imageproc_common.o -c
pdp_imageproc_common.c
pdp_imageproc_common.c: In function _sign': pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1 make[2]: Leaving directory
/home/robcanning/pure-data/externals/pdp/system/image'
make[1]: *** [common] Error 2
make[1]: Leaving directory
`/home/robcanning/pure-data/externals/pdp/system'
make: *** [pdp_all] Error 2
On Wednesday 27 October 2004 14:43, rob canning wrote:
hi list, i get the following error while trying to install PDP on a linux Fedora Core 2 box with a planetccrma kernel.
pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1
It is the result of the -Werror flag. It changes compile time warnings to errors and stops the compilation. You can either edit the source to make them comply with the (stricter) standards of new gcc versions, or (what I did) remove the -Werror flag from the makefiles. (Even better would be to change the configure/automake/autoconf stuff to not set that flag)
hope this helps
Gerard