Install error: fchmod type conflict

Hi,

I’m trying to install Root 3.34.02 on Ubuntu 13.04. I currently get the error:

gcc -O2 -pipe -m64 -Wshadow -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/main.o -c /sw/snoing-install/root-5.34.02/build/rmkdepend/main.c
/sw/snoing-install/root-5.34.02/build/rmkdepend/main.c:64:12: error: conflicting types for ‘fchmod’
In file included from /sw/snoing-install/root-5.34.02/build/rmkdepend/def.h:42:0,
from /sw/snoing-install/root-5.34.02/build/rmkdepend/main.c:30:
/usr/include/x86_64-linux-gnu/sys/stat.h:298:12: note: previous declaration of ‘fchmod’ was here
bin/rmkdepend -R -fcint/cint/src/g__cfunc.d -Y -w 1000 – -pipe -m64 -Wall -W -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__64BIT -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/sw/snoing-install/root-5.34.02/cint/cint/inc -I/sw/snoing-install/root-5.34.02/cint/cint/src -I/sw/snoing-install/root-5.34.02/cint/cint/src/dict -pthread -I. – /sw/snoing-install/root-5.34.02/cint/cint/src/g__cfunc.c
make: bin/rmkdepend: Command not found
make: *** [cint/cint/src/g__cfunc.o] Error 127

Any ideas what the problem might be? I can’t see any similar problems (regarding fchmod) reported on this forum.

Cheers,
Matt

Can probably ignore this; it looks to have been patched by 5.34.08, which installs fine.

I want to use some old version such as 5.32 in order to match some package. However, I encounter the same problem "conflicting types for ‘fchmod’ " described by mjmottram. I modified the Module.mk file by adding -fno-builtin-fchmod , but it did not work. Could u help me fix it or give some suggestion?