|
From: Ilya E. <il...@gl...> - 2009-09-29 18:30:58
|
That also seems to be an inconsistency in 0.0.18 code. I'm almost sure that you could take the perl part from 0.0.19 and compile it with 0.0.18. Alternatively, please, find relevant patch to 0.0.18 attached to this message. -ilya > When trying to compile version 0.0.18 the SweetAuth Perl Libraries I get a > error during make: > > hbsvsl04:/usr/src/sweetspot-0.0.18/perl/SweetAuth # perl Makefile.PL > Warning: -L../../src changed to > -L/usr/src/sweetspot-0.0.18/perl/SweetAuth/../../src > Writing Makefile for SweetAuth > hbsvsl04:/usr/src/sweetspot-0.0.18/perl/SweetAuth # make > cc -c -I../../src -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV > -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall > -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables > -fasynchronous-unwind-tables -g -Wall -pipe -DVERSION=\"0.01\" > -DXS_VERSION=\"0.01\" -fPIC > "-I/usr/lib/perl5/5.10.0/i586-linux-thread-multi/CORE" SweetAuth.c > In file included from SweetAuth.xs:5: > ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined > In file included from SweetAuth.xs:2: > /usr/lib/perl5/5.10.0/i586-linux-thread-multi/CORE/perl.h:299:1: warning: > this is the location of the previous definition > SweetAuth.c: In function âXS_SweetAuth_constantâ: > const-xs.inc:5: warning: unused variable âtargâ > SweetAuth.c:37: warning: unused variable âPerl___notusedâ > SweetAuth.xs: In function âXS_SweetAuth_sweetauthâ: > SweetAuth.xs:25: error: âSW_UAM_ARG_VECTOR_SIZEâ undeclared (first use in > this function) > SweetAuth.xs:25: error: (Each undeclared identifier is reported only once > SweetAuth.xs:25: error: for each function it appears in.) > SweetAuth.xs:40: warning: implicit declaration of function âsw_config_loadâ > SweetAuth.xs:25: warning: unused variable âsw_argvâ > SweetAuth.c:157: warning: unused variable âtargâ > SweetAuth.c:156: warning: unused variable âRETVALâ > SweetAuth.c:148: warning: unused variable âPerl___notusedâ > SweetAuth.c: In function âboot_SweetAuthâ: > SweetAuth.c:218: warning: unused variable âPerl___notusedâ > make: *** [SweetAuth.o] Error 1 > > I was hoping you would have some insight into the cause of this problem. We > are running 0.0.18 due to a bug in the source for 0.0.19 that I believe you > are already addressing. |