[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/17] Build fixes: Build processUser.o and link against it
From: |
Justus Winter |
Subject: |
[PATCH 17/17] Build fixes: Build processUser.o and link against it |
Date: |
Thu, 15 Aug 2013 09:38:07 +0200 |
The process interfaces got new routines, add processUser.o so that
they get picked up by the servers that need them.
As I understand it this is no longer necessary once the libc has been
rebuilt with the new definitions. So this patch can either be omitted
if the libc is rebuild first, or committed now and reverted once the
libc has been rebuilt.
---
init/Makefile | 2 +-
libdiskfs/Makefile | 2 +-
libnetfs/Makefile | 3 ++-
libtrivfs/Makefile | 2 +-
mach-defpager/Makefile | 2 +-
trans/Makefile | 4 ++--
6 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/init/Makefile b/init/Makefile
index ffb82ff..5ae3b50 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -21,7 +21,7 @@ makemode := server
SRCS = init.c stubs.c
OBJS = $(SRCS:.c=.o) \
startupServer.o notifyServer.o startup_replyUser.o msgServer.o \
- startup_notifyUser.o
+ startup_notifyUser.o processUser.o
target = init
HURDLIBS = shouldbeinlibc
diff --git a/libdiskfs/Makefile b/libdiskfs/Makefile
index 3c8de4c..44cb3a6 100644
--- a/libdiskfs/Makefile
+++ b/libdiskfs/Makefile
@@ -57,7 +57,7 @@ installhdrs = diskfs.h diskfs-pager.h
MIGSTUBS = fsServer.o ioServer.o fsysServer.o exec_startupServer.o \
fsys_replyUser.o fs_notifyUser.o ifsockServer.o \
- startup_notifyServer.o
+ startup_notifyServer.o processUser.o
OBJS = $(sort $(SRCS:.c=.o) $(MIGSTUBS))
HURDLIBS = fshelp iohelp store ports shouldbeinlibc pager
diff --git a/libnetfs/Makefile b/libnetfs/Makefile
index 24b5aca..878ab60 100644
--- a/libnetfs/Makefile
+++ b/libnetfs/Makefile
@@ -58,7 +58,8 @@ SRCS= $(OTHERSRCS) $(FSSRCS) $(IOSRCS) $(FSYSSRCS)
$(IFSOCKSRCS)
installhdrs=netfs.h
-MIGSTUBS= ioServer.o fsServer.o fsysServer.o fsys_replyUser.o ifsockServer.o
+MIGSTUBS= ioServer.o fsServer.o fsysServer.o fsys_replyUser.o ifsockServer.o \
+ processUser.o
OBJS=$(sort $(SRCS:.c=.o) $(MIGSTUBS))
diff --git a/libtrivfs/Makefile b/libtrivfs/Makefile
index 1c6fd5e..6df2b7c 100644
--- a/libtrivfs/Makefile
+++ b/libtrivfs/Makefile
@@ -43,7 +43,7 @@ OTHERSRCS=demuxer.c protid-clean.c protid-dup.c cntl-create.c
\
SRCS=$(FSSRCS) $(IOSRCS) $(FSYSSRCS) $(OTHERSRCS)
-MIGSTUBS=fsServer.o ioServer.o fsysServer.o fsys_replyUser.o
+MIGSTUBS=fsServer.o ioServer.o fsysServer.o fsys_replyUser.o processUser.o
libname = libtrivfs
HURDLIBS = fshelp iohelp ports shouldbeinlibc
diff --git a/mach-defpager/Makefile b/mach-defpager/Makefile
index 5a98d69..8c48b29 100644
--- a/mach-defpager/Makefile
+++ b/mach-defpager/Makefile
@@ -27,7 +27,7 @@ SRCS := default_pager.c kalloc.c wiring.c main.c setup.c
OBJS := $(SRCS:.c=.o) \
$(addsuffix Server.o,\
memory_object default_pager memory_object_default exc) \
- default_pager_replyUser.o
+ default_pager_replyUser.o processUser.o
OTHERLIBS:= -lpthread
LDFLAGS += -static
diff --git a/trans/Makefile b/trans/Makefile
index b3210b6..6b821b8 100644
--- a/trans/Makefile
+++ b/trans/Makefile
@@ -27,7 +27,7 @@ SRCS = ifsock.c symlink.c magic.c null.c fifo.c new-fifo.c
fwd.c \
OBJS = $(SRCS:.c=.o) fsysServer.o ifsockServer.o passwordServer.o \
crashServer.o crash_replyUser.o msgServer.o \
default_pagerServer.o default_pagerUser.o \
- device_replyServer.o elfcore.o
+ device_replyServer.o elfcore.o processUser.o
HURDLIBS = ports netfs trivfs iohelp fshelp pipe ihash shouldbeinlibc
LDLIBS += -lpthread
password-LDLIBS = $(LIBCRYPT)
@@ -36,7 +36,7 @@ include ../Makeconf
vpath elfcore.c $(top_srcdir)/exec
-symlink: fsysServer.o
+symlink: fsysServer.o processUser.o
ifsock: ifsockServer.o
crash: crashServer.o crash_replyUser.o msgServer.o elfcore.o
password: passwordServer.o
--
1.7.10.4
- [PATCH 07/17] hurd: add proc_mark_important, (continued)
- [PATCH 07/17] hurd: add proc_mark_important, Justus Winter, 2013/08/15
- [PATCH 08/17] init: Mark all of inits children and init itself as important, Justus Winter, 2013/08/15
- [PATCH 09/17] libdiskfs: register libdiskfs-based translators as important, Justus Winter, 2013/08/15
- [PATCH 11/17] libtrivfs: register libtrivfs-based translators as important, Justus Winter, 2013/08/15
- [PATCH 10/17] libnetfs: register libnetfs-based translators as important, Justus Winter, 2013/08/15
- [PATCH 12/17] mach-defpager: register mach-defpager translators as important, Justus Winter, 2013/08/15
- [PATCH 13/17] trans: register symlink translators as important, Justus Winter, 2013/08/15
- [PATCH 15/17] hurd: add proc_{get,set}_code, Justus Winter, 2013/08/15
- [PATCH 16/17] exec: keep track of the range where executable segments are mapped, Justus Winter, 2013/08/15
- [PATCH 14/17] proc: keep track of {start,end}_code, Justus Winter, 2013/08/15
- [PATCH 17/17] Build fixes: Build processUser.o and link against it,
Justus Winter <=
- [PATCH 1/2] Hurd: make reboot() send messages to both pid 1 and 2, Justus Winter, 2013/08/15