Hi Stephen, the three provided makefile front-ends are for linux with glibc -- Makefile.linux linux with egcs/glibc -- Makefile.linuxegcs HP-UX with aCC -- Makefile.hpuxacc To get a Makefile for linux with gcc and no glibc take the Makefile.linux and remove the -DR__GLIBC from the FLAGS definition. Cheers, Fons. > > > Hello Rooters, > I have tried to compile the new root source version on two different > Linux Machines and run into the same kind of problem. One Machine > has a Slackware distribution installed (Kernel 2.0.33 and gcc version > 2.7.2.2.f.2) and the other is SuSE 5.2 (also with Kernel 2.0.33 and gcc > version 2.7.2.1). In both cases I get the error message while compiling: > ... > gcc -g -Wall -fPIC -DR__GLIBC -c C_mvalloc.c > C_mvalloc.c:35: conflicting types for `getpagesize' > /usr/include/unistd.h:561: previous declaration of `getpagesize' > make: *** [C_mvalloc.o] Error 1 > > Could anyone help me on that? > > I ran into problems running my own application (modified Event-Example > from $ROOTSYS/test example) with the precompiled versions of root > (I got segmentation faults) - probably those two problems are tied > together. > > Thanks a lot, > Steffen > > > -------------------------------------------------------------------------- > Steffen A. Bass phone : [01] 919 660 2570 > Duke University, Dept. of Physics fax : [01] 919 660 2464 > Box 90305, Durham N.C. 27708-0305, USA e-mail: bass@phy.duke.edu > -------------------------------------------------------------------------- > -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET