Print

Print


Hi Derek,


  I can build on Solaris86 Intel with CC5 ok.

-- Fons


Derek Feichtinger wrote:
> Hi,
> 
> after the patches from Gerri the HEAD now builds fine on Linux. I still have 
> problems on solaris, where I testes two compiler environments.
> 
> 1)Sun WorkShop 6 2000/06/19   (which I had been using always before)
> 2) Sun C 5.8 Patch 121015-04 2007/01/10
> 
> Could anyone tell me with what xrootd should be currently buildable on 
> Solaris? Then I can maybe put effort into that combination.
> 
> The older compiler (1) has a silly problem with a "? a : b" construct:
> 
> Compiling XrdSecProtocolpwd.cc
> "XrdSecProtocolpwd.cc", line 533: Error: Different types for "?:" (const char* 
> and XrdOucString).
> "XrdSecProtocolpwd.cc", line 623: Error: Different types for "?:" (char* and 
> XrdOucString).
> 2 Error(s) detected.
> gmake[4]: *** [../../obj/sun4x_58/XrdSecProtocolpwd.o] Error 2
> gmake[3]: *** [SunOSall] Error 2
> gmake[2]: *** [all] Error 2
> gmake[1]: *** [XrdSecpwd] Error 2
> gmake: *** [all] Error 2
> 
> The newer compiler (2) has a different problem
> 
> Compiling XrdClientMessage.cc
> "XrdClientMessage.cc", line 87: Error: The function "posix_memalign" must have 
> a prototype.
> 1 Error(s) detected.
> gmake[4]: *** [../../obj/sun4x_58/XrdClientMessage.o] Error 1
> gmake[3]: *** [SunOSall] Error 2
> gmake[2]: *** [all] Error 2
> gmake[1]: *** [XrdClient] Error 2
> gmake: *** [all] Error 2
> 
> 
> Cheers,
> Derek
> 
> 
> On Wednesday 30 May 2007 09:54, Gerri Ganis wrote:
>> Hi Derek,
>>
>> Sorry again, I am validating at the CAF a set of changes while
>> committing bug fixes
>> ... now it should be ok (I've tried the head).
>>
>> Gerri
>>
>> Derek Feichtinger wrote:
>>> Hi, Gerri
>>>
>>> Thanks for the fix. But there is yet another problem with a missing
>>> function:
>>>
>>> Compiling XrdClientPhyConnection.cc
>>> XrdClientPhyConnection.cc: In function `void* SocketReaderThread(void*,
>>>   XrdClientThread*)':
>>> XrdClientPhyConnection.cc:42: no matching function for call to
>>> `XrdClientThread
>>>
>>>   ::MaskSignal(int)'
>>>
>>> make[4]: *** [../../obj/i386_rhel30/XrdClientPhyConnection.o] Error 1
>>> make[3]: *** [Linuxall] Error 2
>>> make[2]: *** [all] Error 2
>>> make[1]: *** [XrdClient] Error 2
>>> make: *** [all] Error 2
>>>
>>> Cheers,
>>> Derek
>>>
>>> On Wednesday 30 May 2007 01:51, Gerri Ganis wrote:
>>>> Hi Derek,
>>>>
>>>> Sorry, I forgot to commit the changes in XrdClient/XrdClientPSock.hh .
>>>> Now it should be fixed.
>>>>
>>>> Cheers, Gerri
>>>>
>>>> Derek Feichtinger wrote:
>>>>> Hi,
>>>>>
>>>>> there also currently seems to be a problem on Linux with the
>>>>> configure.classic build (and surely also the autotools build):
>>>>>
>>>>> Compiling XrdClientAbs.cc
>>>>> In file included from ../XrdClient/XrdClientPhyConnection.hh:18,
>>>>>                from ../XrdClient/XrdClientLogConnection.hh:21,
>>>>>                from ../XrdClient/XrdClientConnMgr.hh:29,
>>>>>                from ../XrdClient/XrdClientConn.hh:23,
>>>>>                from ../XrdClient/XrdClientAbs.hh:20,
>>>>>                from XrdClientAbs.cc:16:
>>>>> ../XrdClient/XrdClientPSock.hh: In member function `virtual int
>>>>>  XrdClientPSock::SaveSocket()':
>>>>> ../XrdClient/XrdClientPSock.hh:78: `fInterrupt' undeclared (first use
>>>>> this function)
>>>>>
>>>>> Cheers,
>>>>> Derek
> 

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: [log in to unmask]              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640