Re: [ROOT] Compile problem about ROOT 3.10.01 on IRIX and FreeBSD machine.

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Oct 13 2003 - 20:21:44 MEST


Hi Harufumi,

  the IRIX 64 problem has been fixed in cvs now.

For the FreeBSD issue we need somebody who makes the port using the
FreeBSD crypt header. Could you volunteer?


Cheers, Fons.




On Mon, 2003-10-13 at 14:32, Harufumi Tsuchiya wrote:
> Hello ROOTers,
> 
> Now, I am trying to compile ROOT source(v3.10.01) on IRIX and freeebsd machine.
> However, I have encountered the follwing problems.
> So, if anyone have idea to avoid such problems, please tell me.
> 
> (1) IRIX 65 with gcc 3.0.4
> 
> In compiling TUnixSystem.cxx, the following error message appeared and 
> makeing ROOT stopped.
>                                :                      
> g++ -O -fsigned-char -Wall -fPIC -Iinclude  -o unix/src/TUnixSystem.o -c unix/src/TUnixSystem.cxx
> unix/src/TUnixSystem.cxx: In static member function `static void 
>    TUnixSystem::UnixSignal(ESignals, void (*)(ESignals))':
> unix/src/TUnixSystem.cxx:2654: cannot convert `void (*)(...)' to `void 
>    (*)(int)' in assignment
> gmake: *** [unix/src/TUnixSystem.o] Error 1
>                                
> 
> (2) FreeBSD 5.1-RELEASED with gcc 3.2.3
> 
> At first, when compiing TAuthenticate.cxx, 
> error that no crypt.h file exist appeared. Indeed, crypt.h is in /usr/include/rpcsvc 
> instead of /usr/include. Hence, I modiifed line for including crypt.h to
> #include <rpcsvc/crypt.h> from #include <crypt.h> in the TAuthenticate.cxx. After that
> I encountered the follwing errors.
> 
> g++ -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude   -o net/src/TAuthDetails.o -c net/src/TAuthDetails.cxx
> g++ -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude   -o net/src/TAuthenticate.o -c net/src/TAuthenticate.cxx
> In file included from net/src/TAuthenticate.cxx:43:
> /usr/include/rpcsvc/crypt.h:30: declaration of `des_dir desargs::des_dir'
> /usr/include/rpcsvc/crypt.h:20: changes meaning of `des_dir' from `typedef enum 
>    des_dir des_dir'
> /usr/include/rpcsvc/crypt.h:31: declaration of `des_mode desargs::des_mode'
> /usr/include/rpcsvc/crypt.h:26: changes meaning of `des_mode' from `typedef 
>    enum des_mode des_mode'
> gmake: *** [net/src/TAuthenticate.o] Error 1
> 
> 
> Best regards,
> 
> Harufumi Tsuchiya
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET