Problem with Makefiles...
Steffen A. Bass (bass@phy.duke.edu)
Wed, 1 Jul 1998 08:39:52 -0400 (EDT)
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
--------------------------------------------------------------------------