Print

Print


Hi Derek,

  I just tried on noric02, and confirmed your results.

  The confusing thing is that in my laptop and in another machine here 
it just works with the usual warnings, as follows. So I am a bit 
confused. What I was hoping for was a missing header file, but that's 
not our case. The noric machines have a rather old version of swig, so I 
cannot regenerate the wrapper there. I am going to try here with a newer 
swig and check on noric. Mah.

Fabrizio

Compiling XrdClientAdmin_c_wrap.c
XrdClientAdmin_c_wrap.c: In function 'void boot_XrdClientAdmin(CV*)':
XrdClientAdmin_c_wrap.c:1600: warning: unused variable 'items'
XrdClientAdmin_c_wrap.c: At global scope:
XrdClientAdmin_c_wrap.c:210: warning: 'swig_type_info* 
SWIG_TypeDynamicCast(swig_type_info*, void**)' defined but not used
XrdClientAdmin_c_wrap.c:233: warning: 'const char* 
SWIG_TypePrettyName(const swig_type_info*)' defined but not used
XrdClientAdmin_c_wrap.c:359: warning: 'char* SWIG_PackVoidPtr(char*, 
void*, const char*, size_t)' defined but not used
XrdClientAdmin_c_wrap.c:370: warning: 'const char* 
SWIG_UnpackVoidPtr(const char*, void**, const char*)' defined but not used
XrdClientAdmin_c_wrap.c:383: warning: 'char* SWIG_PackDataName(char*, 
void*, size_t, const char*, size_t)' defined but not used
XrdClientAdmin_c_wrap.c:398: warning: 'const char* 
SWIG_UnpackDataName(const char*, void*, size_t, const char*)' defined 
but not used
XrdClientAdmin_c_wrap.c:462: warning: 'swig_type_info* 
SWIG_TypeQuery(const char*)' defined but not used
XrdClientAdmin_c_wrap.c:468: warning: 'void 
SWIG_TypeClientData(swig_type_info*, void*)' defined but not used
XrdClientAdmin_c_wrap.c:478: warning: 'void 
SWIG_PropagateClientData(swig_type_info*)' defined but not used
XrdClientAdmin_c_wrap.c:682: warning: 'swig_type_info* 
SWIG_Perl_TypeCheckRV(SV*, swig_type_info*)' defined but not used
XrdClientAdmin_c_wrap.c:709: warning: 'int SWIG_Perl_ConvertPtr(SV*, 
void**, swig_type_info*, int)' defined but not used
XrdClientAdmin_c_wrap.c:819: warning: 'int SWIG_Perl_ConvertPacked(SV*, 
void*, int, swig_type_info*, int)' defined but not used
XrdClientAdmin_c_wrap.c:847: warning: 'void SWIG_Perl_SetErrorf(const 
char*, ...)' defined but not used
XrdClientAdmin_c_wrap.c:1037: warning: 'int swig_magic_readonly(SV*, 
MAGIC*)' defined but not used
Creating perl module library ../../lib/i386_linux26_dbg/XrdClientAdmin.so
Creating executable ../../bin/i386_linux26_dbg/xrdadmin




Derek Feichtinger wrote:
> Hi, Fabrizio
> 
> The problem appears on multiple systems and also with both build flavours 
> (classic and autotools).
> 
> I just had another try on noric02 at slac: same failure.
> 
> ...
> Making client component...
> Compiling XrdClientAdmin_c_wrap.c
> XrdClientAdmin_c_wrap.c:862: syntax error before `__attribute__'
> XrdClientAdmin_c_wrap.c:862: syntax error before `)' token
> XrdClientAdmin_c_wrap.c:863: syntax error before `*' token
> XrdClientAdmin_c_wrap.c:868: 'SwigPerlWrapperPtr' is used as a type, but is 
> not
>    defined as a type.
> XrdClientAdmin_c_wrap.c:1052: syntax error before `__attribute__'
> ...
> 
> Noric02: i686-pc-linux-gnu, RHEL WS Rel 3 , perl v5.8.8
> Same happens on my gentoo system with perl v5.8.7
> 
> 
> Cheers,
> Derek
> 
> On Monday 19 June 2006 11.38, Fabrizio Furano wrote:
>> Hi Derek,
>>
>>   I rebuilt it very recently here. Maybe some platform issue? Or some
>> mistake. Which platform (and perl version seen by the configure scripts)
>> are you using ?
>>
>> Fabrzio
>>
>> Derek Feichtinger wrote:
>>> Ciao, Fabrizio
>>>
>>> It seems that the building of the perl interface (--enable-perlint) no
>>> longer works. There's some problem with the SWIG generated
>>> XrdClientAdmin_c_wrap.c file, but I did not investigate (probably you
>>> just need to regenerate it).
>>>
>>> After talking to Peter at CERN on Wednesday, I added GNU readline support
>>> to the xrd executable, so it has a more intelligent command line behavior
>>> (I had thought this was already in place). The build will only use
>>> readline when it is available on the system. I'll send you the patch as
>>> soon as the other problem is resolved.
>>>
>>> Cheers,
>>> Derek
>