Problem with Makefiles...

From: Steffen A. Bass (bass@phy.duke.edu)
Date: Wed Jul 01 1998 - 14:39:52 MEST


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
--------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET