I've built root 2.21-08 on a redhat 5.9 system. (RedHat Starbuck = beta for RedHat 6.0 => glibc 2.1 system). root built on a redhat 5.2 system core dumped while running the benchmarks, so I rebuilt it. You can get the .rpm files at: ftp://phyppro1.phy.bnl.gov/pub/root/starbuck The only real change was the definition of "union semun" which has to be done explicitly. Here is the patch file for the fix. Hopefully the root team can properly apply patch. (I just hacked in the fix so that I could get the thing compiled.) Steve. P.S. I think I reported 80+SomthingK root marks for my dual 400Mhz PII running redhat 5.2. I get slightly over 90K root marks on the same PC with starbuck installed. (2.2 kernel) And this was with a cernlib build job running in the background. We should all send Linus, Alan and the linux kernel development team a thank you note for a job well done with 2.2. [adler@ssadler SOURCES]$ more patch.root-v2.21.glib.2.1 diff -uNr src.orig/BASE_MapFile.cxx src/BASE_MapFile.cxx --- src.orig/BASE_MapFile.cxx Mon Mar 29 08:43:07 1999 +++ src/BASE_MapFile.cxx Sun Apr 11 09:40:45 1999 @@ -158,6 +158,14 @@ ushort *array; // array for GETALL & SETALL }; #endif +#ifdef _SEM_SEMUN_UNDEFINED /* glibc 2.1 */ +union semun { + int val; /* <= value for SETVAL */ + struct semid_ds *buf; /* <= buffer for IPC_STAT & IPC_SET */ + unsigned short int *array; /* <= array for GETALL & SETALL */ + struct seminfo *__buf; /* <= buffer for IPC_INFO */ +}; +#endif #ifdef R__LINUX # define SEM_A 0200 // alter permission # define SEM_R 0400 // read permission
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET