]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
rpc <-> tirpc issues, finally solved for systems with libtirpc installed, mb/jm/mt
authorMichael Traxler <M.Traxler@gsi.de>
Fri, 13 Sep 2019 21:24:35 +0000 (23:24 +0200)
committerMichael Traxler <M.Traxler@gsi.de>
Fri, 13 Sep 2019 21:24:35 +0000 (23:24 +0200)
trbnetd/Makefile
trbnetd/server/Makefile

index 59c0eb96d4df18c98ddd87715e720d39725ae23c..4aa7d280cabdd4825e69893e5d7bac36a4f4ac75 100644 (file)
@@ -11,7 +11,7 @@ else
 CPPFLAGS =
 endif
 
-INCDIR = -I. 
+INCDIR = -I. -I/usr/include/tirpc/
 
 CC = gcc
 CFLAGS = -pipe -g  -Wall -O3 -fPIC
index 41234b89c088e9297b7c9a9d6b6823c8eb8e10a4..7190473e4f53652212465ee48e39ee3114978ce9 100644 (file)
@@ -21,7 +21,7 @@ else
        endif
 endif
 
-INCDIR = -I../../libtrbnet
+INCDIR = -I../../libtrbnet -I/usr/include/tirpc/
 
 CFLAGS = -pipe -g -Wall  -Winline -O3 -fPIC -finline-functions -finline-limit=600000
 
@@ -31,7 +31,7 @@ CXXFLAGS = -pipe -g -Wall
 LD = $(CC)
 #LD = $(CXX)
 
-LDFLAGS = -ltirpc
+LDFLAGS = 
 LIBDIR = -L../../libtrbnet
 LOADLIBES = -Wl,-Bstatic -ltrbnet -Wl,-Bdynamic -lm -ltirpc