Re: Problem with SGI IRIX6.2 CC Compiler version 2.23/12 of root

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Mar 08 2000 - 17:57:32 MET


Hi John,
I have extracted this makefile for your configuration.
Could you try it and let me know.

Rene Brun

# Makefile of ROOT for SGI IRIX 6.x with CC compiler

include ../Makefile.config

PLATFORM      = sgi

CXX           = CC
CC            = cc
CXXFLAGS      = -n32  -signed -DSGI_REL=62 $(EXTRA_CXXFLAGS)
CFLAGS        = -n32  -signed -DSGI_REL=62 $(EXTRA_CFLAGS)
CINTCXXFLAGS  = -n32  -signed -DSGI_REL=62 -DG__REGEXP1 -DG__UNIX
-DG__OSFDLL \
                -DG__SHAREDLIB -DG__SIGNEDCHAR -DG__ROOT -DG__REDIRECTIO
$(EXTRA_CXXFLAGS)
CINTCFLAGS    = -n32  -signed -DSGI_REL=62 -DG__REGEXP1 -DG__UNIX
-DG__OSFDLL \
                -DG__SHAREDLIB -DG__SIGNEDCHAR -DG__ROOT -DG__REDIRECTIO
$(EXTRA_CFLAGS)
OPT           = -O
NOOPT         =
LD            = $(CXX)
LDFLAGS       = $(OPT) $(EXTRA_LDFLAGS)
SOFLAGS       = -n32 -shared -o
SOEXT         = so
SYSLIBS       = -lm -lPW -ldl
XLIBS         = ../lib/libXpm.a -lX11
CILIBS        =  -lm -ltermcap -lbsd -lgen -ldl


##### MACROS and TARGETS #####

include Make-macros


##### DEPENDENCIES #####

include Make-depend



Watts, John wrote:
> 
> When I start a browser and try to browse a tree with the  SGI IRIX6.2 CC
> Compiler version 2.23/12 of root I get the following error:
> 
> root [5] 2334722:root.exe: rld: Fatal Error: attempted access to
> unresolvable symbol in /usr/people/wattsjw/archive/root/lib/libGX11.so:
> XpmFree
> 
> The root/lib contains several versions of libXpm.so: libXpm.so libXpm.so.4
> and libXpm.so.4 .10 libXpm.so4.10
> When I move libXpm.so4.10 to libXpm.so and explicitly load the library:
> gSystem.Load("libXpm");
> The problem is resolved.  It is not resolved by simple moving the library.
> Since this architecture is not supported by a Makefile in the source
> distribution I can not rebuild root to fix this.
> Is the Makefile and configuration available?



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET