How to compile with 32bit arch on 64bit machine: 1) set the PAM_BIT environmental variable to "-m32" 2) enter the directory "event" 3) mv Makefile Makefile.orig 4) mv Makefile.compile32biton64bitarch Makefile 5) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and 117/118 /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtbeginS.o \ /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtendS.o \ the correct path depends on your setup. How to compile with 64bit arch on 64bit machine: 1) set the PAM_BIT environmental variable to "-m64" 2) enter the directory "event" 3) mv Makefile Makefile.orig 4) mv Makefile.compileon64bitarch Makefile 5) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and 117/118 /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtbeginS.o \ /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtendS.o \ the correct path depends on your setup. 6) remember to use 64bit external software (ROOT, MySQL, etc.)