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

From: Harufumi Tsuchiya (harufumi@icrr.u-tokyo.ac.jp)
Date: Mon Oct 13 2003 - 14:32:52 MEST


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



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