diff -uNr root-Source/cint/Module.mk root-new/cint/Module.mk --- root-Source/cint/Module.mk 2008-03-12 10:51:36 +0300 +++ root-new/cint/Module.mk 2008-03-29 01:14:17 +0300 @@ -192,6 +192,7 @@ CINTALLDEP += $(MODDIRS)/v6_loadfile_tmp.d CINTLIB := $(LPATH)/libCint.$(SOEXT) +CINTLIBEXTRA := -ldl ##### cint ##### CINTEXES := $(CINTDIRM)/cppmain.cxx diff -uNr root-Source/cint/src/g__cfunc.c root-new/cint/src/g__cfunc.c --- root-Source/cint/src/g__cfunc.c 2008-03-12 10:51:36 +0300 +++ root-new/cint/src/g__cfunc.c 2008-03-29 01:14:17 +0300 @@ -46,8 +46,7 @@ #if defined(G__ANSI) || defined(G__ANSIHEADER) -int memcmp(const void *region1,const void *region2,size_t count); -void* memcpy(void *region1,const void *region2,size_t n); +#include #elif defined(_AIX) /* IBM AIX */ int memcmp(const void *region1,const void *region2,size_t count); diff -uNr root-Source/config/root-config.in root-new/config/root-config.in --- root-Source/config/root-config.in 2008-03-12 10:51:25 +0300 +++ root-new/config/root-config.in 2008-03-29 20:15:00 +0300 @@ -267,8 +267,8 @@ linuxx8664gcc) # AMD Opteron and Intel EM64T (64 bit mode) Linux with gcc 3.x auxcflags="-m64" - auxldflags="-m64" - auxlibs="-lm -ldl -rdynamic" + auxldflags="-m64 -rdynamic" + auxlibs="-lm -ldl" ;; linuxx8664icc) # AMD Opteron and Intel EM64T (64 bit mode) Linux with Intel icc @@ -277,8 +277,8 @@ ;; linuxalphagcc) # Alpha Linux with gcc - auxcflags= - auxlibs="-lm -ldl -rdynamic" + auxcflags="-rdynamic" + auxlibs="-lm -ldl" ;; linuxarm) # ARM Linux with gcc diff -uNr root-Source/hist/Module.mk root-new/hist/Module.mk --- root-Source/hist/Module.mk 2008-03-12 10:51:19 +0300 +++ root-new/hist/Module.mk 2008-03-29 01:14:17 +0300 @@ -30,6 +30,8 @@ HISTLIB := $(LPATH)/libHist.$(SOEXT) HISTMAP := $(HISTLIB:.$(SOEXT)=.rootmap) +HISTLIBEXTRA := lib/libMathCore.so lib/libMatrix.so + # used in the main Makefile ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(HISTHH)) #ALLHDRS += $(patsubst $(MODDIRI)/Math/%.h,include/Math/%.h,$(HISTHH)) diff -uNr root-Source/tree/Module.mk root-new/tree/Module.mk --- root-Source/tree/Module.mk 2008-03-12 10:51:18 +0300 +++ root-new/tree/Module.mk 2008-03-29 01:14:17 +0300 @@ -32,6 +32,7 @@ TREELIB := $(LPATH)/libTree.$(SOEXT) TREEMAP := $(TREELIB:.$(SOEXT)=.rootmap) +TREELIBEXTRA := lib/libNet.so # used in the main Makefile ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(TREEH)) diff -uNr root-Source/xrootd/src/xrootd/src/XrdCrypto/GNUmakefile root-new/xrootd/src/xrootd/src/XrdCrypto/GNUmakefile --- root-Source/xrootd/src/xrootd/src/XrdCrypto/GNUmakefile 2008-03-12 10:51:21 +0300 +++ root-new/xrootd/src/xrootd/src/XrdCrypto/GNUmakefile 2008-03-29 01:14:17 +0300 @@ -137,7 +137,7 @@ $(LIBRARY): $(OBJECTS) $(LIBUTIL) @echo Creating shared library $(LIBRARY) - $(ECHO)$(CC) $(OBJECTS) $(LDSO) $(LIBUTIL) -o $(LIBRARY) + $(ECHO)$(CC) $(OBJECTS) $(LDSO) $(LIBUTIL) -o $(LIBRARY) -ldl $(LIBASSL): $(OBJCSSL) @echo Creating archive $(LIBASSL)