You can edit the Makefile and remove "-Werror" as a temporary measure and get this compiled.
I saw an issue with a patch for this, but when I tried to apply the patch, it did not work. So it will take some time for me to apply the fixes in the patch manually, Samisa Abeysinghe http://samisa-abeysinghe.blogspot.com/ On Sun, Aug 28, 2011 at 5:24 PM, Samisa Abeysinghe < [email protected]> wrote: > You can set compiler options. > > Samisa Abeysinghe > > http://samisa-abeysinghe.blogspot.com/ > On Thu, Jul 21, 2011 at 10:56 PM, <[email protected]> wrote: > >> Hi there, >> >> GNU Make 3.82 >> gcc (GCC) 4.6.0 20110530 (Red Hat 4.6.0-9) >> Actual Snapshot from trunk svn ! >> >> Where can I prevent make from using the option -Werror ??? >> >> I'm pretty new to this ! >> >> Regards, >> Holger >> >> >> make[5]: Entering directory `/root/NetBeansProjects/** >> axis2trunk/trunk/util/src/**platforms/unix' >> /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. >> -I../../.. -I../../../include -I../../../include/platforms >> -I../../../include/platforms/**unix -g -O2 -D_LARGEFILE64_SOURCE -ansi >> -Wall -Werror -Wno-implicit-function-**declaration -D_GNU_SOURCE -MT >> uuid_gen_unix.lo -MD -MP -MF .deps/uuid_gen_unix.Tpo -c -o uuid_gen_unix.lo >> uuid_gen_unix.c >> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include >> -I../../../include/platforms -I../../../include/platforms/**unix -g -O2 >> -D_LARGEFILE64_SOURCE -ansi -Wall -Werror >> -Wno-implicit-function-**declaration >> -D_GNU_SOURCE -MT uuid_gen_unix.lo -MD -MP -MF .deps/uuid_gen_unix.Tpo -c >> uuid_gen_unix.c -fPIC -DPIC -o .libs/uuid_gen_unix.o >> uuid_gen_unix.c: In function 'axutil_uuid_gen_v1': >> uuid_gen_unix.c:62:20: error: variable 'tv' set but not used >> [-Werror=unused-but-set-**variable] >> cc1: all warnings being treated as errors >> >> make[5]: *** [uuid_gen_unix.lo] Error 1 >> make[5]: Leaving directory `/root/NetBeansProjects/** >> axis2trunk/trunk/util/src/**platforms/unix' >> make[4]: *** [all-recursive] Error 1 >> make[4]: Leaving directory `/root/NetBeansProjects/** >> axis2trunk/trunk/util/src' >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory `/root/NetBeansProjects/** >> axis2trunk/trunk/util' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/root/NetBeansProjects/** >> axis2trunk/trunk/util' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/root/NetBeansProjects/**axis2trunk/trunk' >> make: *** [all] Error 2 >> >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> [email protected].**org<[email protected]> >> For additional commands, e-mail: [email protected] >> >> >
