From 052c2b56eebdfa3aa5844422a049cd1cb991123c Mon Sep 17 00:00:00 2001 From: mholtrop Date: Tue, 24 Feb 2026 09:02:17 -0500 Subject: [PATCH 1/4] Changes to get things to compile on AlmaLinux 9 --- generators/egs5/config/src/egs5run.in | 4 +- run_cmake.sh | 1 + tools/stdhep-lib/CMakeLists.txt | 16 +- tools/stdhep-lib/src/GNUmakefile | 13 +- tools/stdhep-lib/src/mcfio/arch_mcfio | 2 +- tools/stdhep-lib/src/mcfio/src/GNUmakefile | 2 +- tools/stdhep-lib/src/mcfio/src/build.log | 690 ------------------ tools/stdhep-lib/src/src/stdhep/GNUmakefile | 2 +- .../src/src/stdhep/mcf_Stdhep_xdr.c | 2 +- .../src/src/stdhep/mcf_hepev4_xdr.c | 2 +- .../stdhep-lib/src/src/stdhep/mcf_hepup_xdr.c | 2 +- .../src/src/stdhep/mcf_stdcm1_xdr.c | 2 +- tools/stdhep-lib/src/src/stdhep_arch | 4 +- tools/stdhep-tools/src/Makefile | 2 +- 14 files changed, 38 insertions(+), 706 deletions(-) create mode 100644 run_cmake.sh delete mode 100644 tools/stdhep-lib/src/mcfio/src/build.log diff --git a/generators/egs5/config/src/egs5run.in b/generators/egs5/config/src/egs5run.in index b78807297..17e68b932 100755 --- a/generators/egs5/config/src/egs5run.in +++ b/generators/egs5/config/src/egs5run.in @@ -185,7 +185,7 @@ elif test "$MY_MACHINE" = "Linux" #COMPILER="g77" #DEBUG="-g -ffortran-bounds-check" #CFLAGS="-fno-automatic -finit-local-zero" - COMPILER="gfortran" + COMPILER="gfortran -std=legacy " DEBUG="-g -ffortran-bounds-check" CFLAGS="-fno-automatic -finit-local-zero" if test "$OPT_LEVEL" = "" @@ -236,7 +236,7 @@ echo "Your Compiler is $COMPILER" CFLAGS="$CFLAGS -fno-second-underscore -L$STDHEP/lib -I$STDHEP/src/inc" -LIBS="-lstdhep -lFmcfio" +LIBS="-lstdhep -lFmcfio -ltirpc" #------------------------- # Build the egs5job.f file #------------------------- diff --git a/run_cmake.sh b/run_cmake.sh new file mode 100644 index 000000000..abdba1568 --- /dev/null +++ b/run_cmake.sh @@ -0,0 +1 @@ +cmake .. -DPython3_EXECUTABLE=$(which python3) -DCMAKE_BUILD_TYPE=RelWithDbInfo -DCMAKE_CXX_COMPILER=$(which g++) -DCMAKE_C_COMPILER=$(which gcc) -DHPSMC_ENABLE_ROOT=ON -DHPSMC_ENABLE_EGS5=ON -DHPSMC_ENABLE_MADGRAPH=ON -DHPSMC_ENABLE_STDHEP=ON -DHPSMC_ENABLE_FIELDMAPS=OFF -DHPSMC_ENABLE_LCIO=OFF -DHPSMC_ENABLE_HPSJAVA=OFF -DHPSMC_ENABLE_PEDE=OFF -DHPSMC_ENABLE_CONDITIONS=OFF -DCMAKE_INSTALL_PREFIX=/net/data/gourd/HPS/sw diff --git a/tools/stdhep-lib/CMakeLists.txt b/tools/stdhep-lib/CMakeLists.txt index 872b0707c..70cdb6220 100644 --- a/tools/stdhep-lib/CMakeLists.txt +++ b/tools/stdhep-lib/CMakeLists.txt @@ -4,6 +4,20 @@ project(stdhep-lib VERSION 5.6.1) message(STATUS "StdHep library version: ${stdhep-lib_VERSION}") +find_path(TIRPC_INCLUDE_DIR NAMES rpc/types.h PATHS /usr/include /usr/include/tirpc) +find_library(TIRPC_LIBRARY NAMES tirpc rpc PATHS /usr/lib /usr/lib/x86_64-linux-gnu) + +if(TIRPC_INCLUDE_DIR AND TIRPC_LIBRARY) +# target_include_directories(your_target_name PRIVATE ${TIRPC_INCLUDE_DIR}) +# target_link_libraries(your_target_name PRIVATE ${TIRPC_LIBRARY}) + include_directories(${TIRPC_INCLUDE_DIR}) +else() + message(FATAL_ERROR "libtirpc not found. Please install the development package.") +endif() + +set(RPC_INCLUDE_DIR ${TIRPC_INCLUDE_DIR}) +set(RPC_LIBRARY ${TIRPC_LIBRARY}) + file(COPY ${PROJECT_SOURCE_DIR}/src/ DESTINATION ${CMAKE_BINARY_DIR}/stdhep-src/) set(STDHEP_DIR ${CMAKE_BINARY_DIR}/stdhep-src) @@ -15,7 +29,7 @@ set(STDHEP_LIBRARY_DIR ${STDHEP_LIBRARY_DIR} PARENT_SCOPE) set(STDHEP_LIBRARIES ${STDHEP_LIBRARIES} PARENT_SCOPE) add_custom_command(OUTPUT ${STDHEP_LIBRARIES} - COMMAND make + COMMAND make RPC_INCLUDE_DIR=${TIRPC_INCLUDE_DIR} RPC_LIBRARY=${TIRPC_LIBRARY} WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/stdhep-src" DEPENDS "${CMAKE_BINARY_DIR}/stdhep-src") diff --git a/tools/stdhep-lib/src/GNUmakefile b/tools/stdhep-lib/src/GNUmakefile index 4f2b029ed..15d6bec8c 100644 --- a/tools/stdhep-lib/src/GNUmakefile +++ b/tools/stdhep-lib/src/GNUmakefile @@ -20,17 +20,24 @@ ifdef CRNLIB endif #------------------------------------------ -all: binlib mcfio stdhep $(BUILD_DISPLAY) +all: info binlib mcfio stdhep $(BUILD_DISPLAY) + +info: + $(info ----------------------- INFO ----------------------) + $(info STDHEP_DIR = $(STDHEP_DIR)) + $(info RPC_INCLUDE_DIR = $(RPC_INCLUDE_DIR)) + $(info RPC_LIBRARY = $(RPC_LIBRARY)) + $(info DMAKE = $(DMAKE)) binlib: -test -d $(STDHEP_DIR)/bin || mkdir -p $(STDHEP_DIR)/bin -test -d $(STDHEP_DIR)/lib || mkdir -p $(STDHEP_DIR)/lib mcfio: - (cd mcfio/src; $(MAKE) $(DMAKE) all) > log.mcfio.$$$$ 2>&1 + (cd mcfio/src; $(MAKE) $(DMAKE) RPC_INCLUDE_DIR=$(RPC_INCLUDE_DIR) all) > log.mcfio.$$$$ 2>&1 stdhep: - (cd src/stdhep; $(MAKE) $(DMAKE) all) > log.stdhep.$$$$ 2>&1 + (cd src/stdhep; $(MAKE) $(DMAKE) RPC_INCLUDE_DIR=$(RPC_INCLUDE_DIR) RPC_LIBRARY=$(RPC_LIBRARY) all) > log.stdhep.$$$$ 2>&1 spin: (cd src/display/spin; $(MAKE) $(DMAKE) all) > log.spin.$$$$ 2>&1 diff --git a/tools/stdhep-lib/src/mcfio/arch_mcfio b/tools/stdhep-lib/src/mcfio/arch_mcfio index 4ddd6caee..cbda4cee0 100644 --- a/tools/stdhep-lib/src/mcfio/arch_mcfio +++ b/tools/stdhep-lib/src/mcfio/arch_mcfio @@ -34,7 +34,7 @@ ifeq "$(UNAME)" "IRIX64" endif ifeq "$(UNAME)" "Linux" CC=gcc - F77=gfortran + F77=gfortran -std=legacy CFLAGS= $(DFLG) -I/usr/X11R6/include FFLAGS= $(DFLG) -fno-second-underscore MXTLIBS = -L/usr/X11R6/lib -lXm -lX11 -lXt -lXp -lXext -lm diff --git a/tools/stdhep-lib/src/mcfio/src/GNUmakefile b/tools/stdhep-lib/src/mcfio/src/GNUmakefile index a818e5edc..27afdc0f5 100644 --- a/tools/stdhep-lib/src/mcfio/src/GNUmakefile +++ b/tools/stdhep-lib/src/mcfio/src/GNUmakefile @@ -13,7 +13,7 @@ BINDIR = ../../bin include ../arch_mcfio FINC = -I. -CINC = -I. +CINC = -I. -I$(RPC_INCLUDE_DIR) HLIB = ifdef HISTO_DIR CFLAGS += -DHISTO diff --git a/tools/stdhep-lib/src/mcfio/src/build.log b/tools/stdhep-lib/src/mcfio/src/build.log deleted file mode 100644 index 95a3e63b1..000000000 --- a/tools/stdhep-lib/src/mcfio/src/build.log +++ /dev/null @@ -1,690 +0,0 @@ -gfortran -c -o mcfio_FPrintDictionary.o -DUNIX -I. -fd-lines-as-comments -fno-second-underscore mcfio_FPrintDictionary.F -gcc -c -o mcf_evt_xdr.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcf_evt_xdr.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -mcf_evt_xdr.c: In function 'xdr_mcfast_fileheader': -mcf_evt_xdr.c:175:15: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->nBlocks, sizeof(int), xdr_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:218:15: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->nBlocks, sizeof(int), xdr_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c: In function 'xdr_mcfast_eventtable': -mcf_evt_xdr.c:320:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dim, sizeof(int), xdr_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:324:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dim, sizeof(int), xdr_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:328:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dim, sizeof(int), xdr_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:332:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dim, sizeof(int), xdr_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:336:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dim, sizeof(int), xdr_u_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, u_int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c: In function 'xdr_mcfast_eventheader': -mcf_evt_xdr.c:460:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dimBlocks, sizeof(int), xdr_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:464:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dimBlocks, sizeof(u_int), xdr_u_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, u_int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:507:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dimBlocks, sizeof(int), xdr_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:511:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dimBlocks, sizeof(u_int), xdr_u_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, u_int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:518:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dimNTuples, sizeof(int), xdr_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:522:16: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - mcftmp->dimNTuples, sizeof(u_int), xdr_u_int) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, u_int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c: In function 'xdr_mcfast_descrNTU': -mcf_evt_xdr.c:644:7: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &(dNTu->subOffset), &nn, nn, sizeof(long), xdr_long) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c: In function 'xdr_mcfast_varDescrNTU': -mcf_evt_xdr.c:685:9: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pdim, &nn, nn, sizeof(int), xdr_int)) == FALSE) - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c: In function 'xdr_mcfast_NTuple': -mcf_evt_xdr.c:793:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:798:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:820:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(short), xdr_short); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, short int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:824:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(int), xdr_int); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:828:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:832:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:837:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:842:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:846:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(long), xdr_long); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:870:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(short), xdr_short); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, short int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:874:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(int), xdr_int); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:878:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:882:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:887:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:892:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:896:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(long), xdr_long); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:932:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:937:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:957:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(short), xdr_short); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, short int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:961:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(int), xdr_int); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:965:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:969:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:974:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:979:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:983:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(long), xdr_long); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c: In function 'xdr_mcfast_NTupleXDRPtr': -mcf_evt_xdr.c:1081:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1086:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1109:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(short), xdr_short); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, short int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1113:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(int), xdr_int); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1117:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1121:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1126:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1131:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1135:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(long), xdr_long); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1160:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(short), xdr_short); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, short int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1164:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(int), xdr_int); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1168:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1172:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1177:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1182:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1186:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(long), xdr_long); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1226:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1231:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1253:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(short), xdr_short); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, short int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1257:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(int), xdr_int); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1261:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1265:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1270:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1275:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1279:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(long), xdr_long); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c: In function 'xdr_mcfast_NTupleVar': -mcf_evt_xdr.c:1356:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1360:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1373:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(short), xdr_short); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, short int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1376:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(int), xdr_int); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1379:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1382:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1386:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1390:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1393:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(long), xdr_long); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c: In function 'xdr_mcfast_NTupleSubVar': -mcf_evt_xdr.c:1437:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1441:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1454:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(short), xdr_short); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, short int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1457:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(int), xdr_int); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1460:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1463:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1467:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1471:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1474:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(long), xdr_long); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c: In function 'xdr_mcfast_NTupleSubStruct': -mcf_evt_xdr.c:1522:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1527:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1542:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(short), xdr_short); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, short int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1546:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(int), xdr_int); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1550:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1554:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1559:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(float), xdr_float); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, float *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1564:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(double), xdr_double); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, double *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -mcf_evt_xdr.c:1568:26: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [enabled by default] - (char **) &pt, &nn, nn, sizeof(long), xdr_long); - ^ -In file included from mcf_evt_xdr.c:29:0: -/usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, long int *)' - extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, - ^ -gcc -c -o mcfio_FBinding.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcfio_FBinding.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -gcc -c -o mcfio_Util1.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcfio_Util1.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -mcfio_Util1.c: In function 'mcfioC_InfoBlockChar': -mcfio_Util1.c:828:8: warning: passing argument 1 of 'xdr_free' from incompatible pointer type [enabled by default] - xdr_free(xdr_string, data); - ^ -In file included from mcfio_Util1.c:30:0: -/usr/include/rpc/xdr.h:373:13: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, char **, u_int)' - extern void xdr_free (xdrproc_t __proc, char *__objp) __THROW; - ^ -gcc -c -o mcfio_Direct.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcfio_Direct.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -mcfio_Direct.c: In function 'openReadDirect': -mcfio_Direct.c:142:19: warning: comparison between pointer and integer [enabled by default] - if (iff < NULL) { - ^ -gcc -c -o mcfio_SeqDummy.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcfio_SeqDummy.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -gcc -c -o mcfio_Block.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcfio_Block.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -gcc -c -o mcf_ntubldInit.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcf_ntubldInit.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -gcc -c -o mcf_ntuBldDbinc.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcf_ntuBldDbinc.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -gcc -c -o mcf_NTuIOFiles.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcf_NTuIOFiles.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -gcc -c -o mcf_NTuIOUtils.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcf_NTuIOUtils.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -gcc -c -o mcfio_UserDictionary.o -fd-lines-as-comments -I/usr/X11R6/include -I. mcfio_UserDictionary.c -cc1: warning: command line option '-fd-lines-as-comments' is valid for Fortran but not for C [enabled by default] -ar -urs ../../lib/libFmcfio.a mcfio_FPrintDictionary.o mcf_evt_xdr.o mcfio_FBinding.o mcfio_Util1.o mcfio_Direct.o mcfio_SeqDummy.o mcfio_Block.o mcf_ntubldInit.o mcf_ntuBldDbinc.o mcf_NTuIOFiles.o mcf_NTuIOUtils.o mcfio_UserDictionary.o diff --git a/tools/stdhep-lib/src/src/stdhep/GNUmakefile b/tools/stdhep-lib/src/src/stdhep/GNUmakefile index 81d3dd133..6169be49a 100644 --- a/tools/stdhep-lib/src/src/stdhep/GNUmakefile +++ b/tools/stdhep-lib/src/src/stdhep/GNUmakefile @@ -12,7 +12,7 @@ SINC = $(STDHEP_DIR)/src/inc INCS = -I$(SINC) -I$(STDHEP_DIR)/mcfio/src \ -I$(SINC)/isajet -I$(SINC)/pythia -I$(SINC)/herwig \ -I$(SINC)/qq -I$(SINC)/dpm -CFLAGS += -I$(SINC) -I$(STDHEP_DIR)/mcfio/src +CFLAGS += -I$(SINC) -I$(STDHEP_DIR)/mcfio/src -I$(RPC_INCLUDE_DIR) CPPFLGS = $(KPPFLAGS) $(INCS) FOBJS = $(patsubst %.F,%$(SFX).o,$(wildcard *.F)) diff --git a/tools/stdhep-lib/src/src/stdhep/mcf_Stdhep_xdr.c b/tools/stdhep-lib/src/src/stdhep/mcf_Stdhep_xdr.c index b44598968..012447cf2 100644 --- a/tools/stdhep-lib/src/src/stdhep/mcf_Stdhep_xdr.c +++ b/tools/stdhep-lib/src/src/stdhep/mcf_Stdhep_xdr.c @@ -47,7 +47,7 @@ #define TRUE 1 #endif -struct stdver stdver_; +extern struct stdver stdver_; bool_t xdr_stdhep_(XDR *xdrs, int *blockid, int *ntot, char** version) diff --git a/tools/stdhep-lib/src/src/stdhep/mcf_hepev4_xdr.c b/tools/stdhep-lib/src/src/stdhep/mcf_hepev4_xdr.c index 9b021f3c9..bc2b8cfd2 100644 --- a/tools/stdhep-lib/src/src/stdhep/mcf_hepev4_xdr.c +++ b/tools/stdhep-lib/src/src/stdhep/mcf_hepev4_xdr.c @@ -49,7 +49,7 @@ #define TRUE 1 #endif -struct stdver stdver_; +extern struct stdver stdver_; bool_t xdr_stdhep_4_(XDR *xdrs, int *blockid, int *ntot, char** version) diff --git a/tools/stdhep-lib/src/src/stdhep/mcf_hepup_xdr.c b/tools/stdhep-lib/src/src/stdhep/mcf_hepup_xdr.c index b870e688a..05573e28c 100644 --- a/tools/stdhep-lib/src/src/stdhep/mcf_hepup_xdr.c +++ b/tools/stdhep-lib/src/src/stdhep/mcf_hepup_xdr.c @@ -47,7 +47,7 @@ #define TRUE 1 #endif -struct stdver stdver_; +extern struct stdver stdver_; bool_t xdr_hepeup_(XDR *xdrs, int *blockid, int *ntot, char** version) diff --git a/tools/stdhep-lib/src/src/stdhep/mcf_stdcm1_xdr.c b/tools/stdhep-lib/src/src/stdhep/mcf_stdcm1_xdr.c index 460e253a1..673ef8437 100644 --- a/tools/stdhep-lib/src/src/stdhep/mcf_stdcm1_xdr.c +++ b/tools/stdhep-lib/src/src/stdhep/mcf_stdcm1_xdr.c @@ -46,7 +46,7 @@ #define TRUE 1 #endif -struct stdver stdver_; +extern struct stdver stdver_; struct stdcm1 stdcm1_; struct stdcm2 stdcm2_; diff --git a/tools/stdhep-lib/src/src/stdhep_arch b/tools/stdhep-lib/src/src/stdhep_arch index 640413269..d6c1d94c0 100644 --- a/tools/stdhep-lib/src/src/stdhep_arch +++ b/tools/stdhep-lib/src/src/stdhep_arch @@ -58,10 +58,10 @@ endif ifeq "$(UNAME)" "Linux" CC=gcc CPP=gcc -E - F77=gfortran + F77=gfortran -std=legacy -fd-lines-as-comments CFLAGS= $(DFLG) CXFLAGS = -I/usr/X11R6/include - FFLAGS= $(DFLG) -fno-second-underscore -fd-lines-as-comments + FFLAGS= $(DFLG) -fno-second-underscore KPPFLAGS= -C -P -DLinux -DUNIX LOCAL = -lnsl -lm #BUILD_SHARED = true diff --git a/tools/stdhep-tools/src/Makefile b/tools/stdhep-tools/src/Makefile index 2e207af25..359569205 100644 --- a/tools/stdhep-tools/src/Makefile +++ b/tools/stdhep-tools/src/Makefile @@ -5,7 +5,7 @@ STDHEP_C := $(STDHEP_DIR)/lib/libstdhepC.a MCFIO := $(STDHEP_DIR)/lib/libFmcfio.a LOADLIBS=-L$(STDHEP_DIR)/lib -L$(dir $(GSL_LIBRARY)) #LOADLIBS=-L/usr/local/lib/stdhep -L/afs/slac.stanford.edu/package/cernlib/@sys/cern/2002/lib -LDLIBS=-lstdhepC -lFmcfio -lgsl -lgslcblas +LDLIBS=-lstdhepC -lFmcfio -lgsl -lgslcblas -ltirpc #-l$(GSL_CBLAS_LIBRARY) -l$(GSL_LIBRARY) INCFILES=-I$(STDHEP_DIR)/src/inc -I$(SRC_DIR) -I$(GSL_INCLUDE_DIRS) CPP=g++ From 2459ecd1134c31e54afc5af3994dc49de754c7c7 Mon Sep 17 00:00:00 2001 From: Maurik Holtrop Date: Tue, 24 Feb 2026 14:48:18 -0300 Subject: [PATCH 2/4] Not tested. --- python/hpsmc/tools.py | 86 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/python/hpsmc/tools.py b/python/hpsmc/tools.py index 9ffc88d1b..f4bfd7a11 100644 --- a/python/hpsmc/tools.py +++ b/python/hpsmc/tools.py @@ -442,6 +442,92 @@ def optional_parameters(self): return ["detector", "run_number", "defs", "nevents"] +class ProcessMiniDst(Component): + """! + Run the make_mini_dst command on the input file. + + Required parameters are: **input_file** + Required configs are: **minidst_install_dir** + """ + + def __init__(self, **kwargs): + """! + Initialize ProcessMiniDst with default input file and the command to run. + """ + self.input_file = None + self.minidst_args = None + # Ensure to call the parent constructor properly + Component.__init__(self, name='makeminidst', + command='make_mini_dst', + description='Create the MiniDST ROOT file', + output_ext='.root', + **kwargs) + + def setup(self): + """! Setup the MiniDST component.""" + # Check if input files exist + if not len(self.input_files()): + raise Exception("No input files provided to make_mini_dst.") + + if not os.path.exists(self.minidst_install_dir): + raise Exception("minidst_install_dir does not exist: %s" % self.minidst_install_dir) + + + def required_parameters(self): + """! + Return list of required parameters. + + Required parameters are only the standard "input_files". + @return list of required parameters + """ + return [] + + def optional_parameters(self): + """! + Return list of optional parameters. + + There are currently no optional parameters. + @return list of optional parameters + """ + return [] + + def required_config(self): + """! + Return list of required configs. + + Required configs are: **minidst_install_dir** + @return list of required configs + """ + return ["minidst_install_dir"] + + def output_files(self): + """! Adjust names of output files.""" + if self.outputs is None: + f, ext = os.path.splitext(self.input_files()[0]) + self.outputs = f"{f}.root" + + return self.outputs + + def cmd_args(self): + """! + Setup command arguments for make_mini_dst. + @return list of arguments + """ + args = [] + + print("===== Make MiniDST with input files: ", end="") + for i in range(len(self.input_files())): + print(f"{self.input_files()[i]}", end=", ") + print(f" -> {self.output_files()}") + + args.extend(self.minidst_args) + + args.extend(['-o', self.output_files()[0]]) + args.extend(self.input_files()) + + return args + + class HPSTR(Component): """! Run the hpstr analysis tool. From 424d186a3ef6f6c8acf6942ff592dcc837c8911b Mon Sep 17 00:00:00 2001 From: Maurik Holtrop Date: Tue, 24 Feb 2026 15:31:56 -0300 Subject: [PATCH 3/4] Fix Python code style --- python/hpsmc/alignment/_apply.py | 2 +- python/hpsmc/tools.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/python/hpsmc/alignment/_apply.py b/python/hpsmc/alignment/_apply.py index 55dcc4363..d56ae874c 100644 --- a/python/hpsmc/alignment/_apply.py +++ b/python/hpsmc/alignment/_apply.py @@ -277,7 +277,7 @@ def execute(self, log_out, log_err): ### Parameters Floated ```json -{json.dumps(self.to_float, indent = 2)} +{json.dumps(self.to_float, indent=2)} ``` """) diff --git a/python/hpsmc/tools.py b/python/hpsmc/tools.py index 93737a80b..db4e98168 100644 --- a/python/hpsmc/tools.py +++ b/python/hpsmc/tools.py @@ -473,7 +473,6 @@ def setup(self): if not os.path.exists(self.minidst_install_dir): raise Exception("minidst_install_dir does not exist: %s" % self.minidst_install_dir) - def required_parameters(self): """! Return list of required parameters. From 04f3b7123652c6450454919b5d6942f543c5ffe1 Mon Sep 17 00:00:00 2001 From: Maurik Holtrop Date: Tue, 24 Feb 2026 15:33:58 -0300 Subject: [PATCH 4/4] Remove the incorrect fixed path --- run_cmake.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_cmake.sh b/run_cmake.sh index abdba1568..1f0b6491d 100644 --- a/run_cmake.sh +++ b/run_cmake.sh @@ -1 +1 @@ -cmake .. -DPython3_EXECUTABLE=$(which python3) -DCMAKE_BUILD_TYPE=RelWithDbInfo -DCMAKE_CXX_COMPILER=$(which g++) -DCMAKE_C_COMPILER=$(which gcc) -DHPSMC_ENABLE_ROOT=ON -DHPSMC_ENABLE_EGS5=ON -DHPSMC_ENABLE_MADGRAPH=ON -DHPSMC_ENABLE_STDHEP=ON -DHPSMC_ENABLE_FIELDMAPS=OFF -DHPSMC_ENABLE_LCIO=OFF -DHPSMC_ENABLE_HPSJAVA=OFF -DHPSMC_ENABLE_PEDE=OFF -DHPSMC_ENABLE_CONDITIONS=OFF -DCMAKE_INSTALL_PREFIX=/net/data/gourd/HPS/sw +cmake .. -DPython3_EXECUTABLE=$(which python3) -DCMAKE_BUILD_TYPE=RelWithDbInfo -DCMAKE_CXX_COMPILER=$(which g++) -DCMAKE_C_COMPILER=$(which gcc) -DHPSMC_ENABLE_ROOT=ON -DHPSMC_ENABLE_EGS5=ON -DHPSMC_ENABLE_MADGRAPH=ON -DHPSMC_ENABLE_STDHEP=ON -DHPSMC_ENABLE_FIELDMAPS=OFF -DHPSMC_ENABLE_LCIO=OFF -DHPSMC_ENABLE_HPSJAVA=OFF -DHPSMC_ENABLE_PEDE=OFF -DHPSMC_ENABLE_CONDITIONS=OFF -DCMAKE_INSTALL_PREFIX=..