[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 57/75: Add missing libraries to fix link errors
From: |
Samuel Thibault |
Subject: |
[hurd] 57/75: Add missing libraries to fix link errors |
Date: |
Thu, 14 Jan 2016 01:04:10 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch dde
in repository hurd.
commit 2c414dc400729160ec4d2004c60470ce59ad9008
Author: Flavio Cruz <address@hidden>
Date: Wed Dec 30 01:40:22 2015 +0100
Add missing libraries to fix link errors
This fixes several linking problems I had in my recent cross-compilation
of the Hurd. I added missing static libraries and also organized some of
the targets for more concise rules.
* console-client/Makefile: Add libiohelp.a and libihash.a.
* daemons/Makefile: Add libihash.a and libshouldbeinlibc.a.
* devnode/Makefile: Add iohelp and ihash to HURDLIBS.
* random/Makefile: Likewise.
* trans/Makefile: Reorder targets alphabetically and add libiohelp.a and
libihash.a.
* utils/Makefile: Add libihash.a.
---
console-client/Makefile | 5 +++--
daemons/Makefile | 3 ++-
devnode/Makefile | 2 +-
random/Makefile | 2 +-
trans/Makefile | 23 +++++++++++------------
utils/Makefile | 7 ++++---
6 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/console-client/Makefile b/console-client/Makefile
index 03dad1f..4ebdc82 100644
--- a/console-client/Makefile
+++ b/console-client/Makefile
@@ -52,8 +52,9 @@ driver-CPPFLAGS = -D'CONSOLE_DEFPATH="$(module-dir)\0"' \
driver-DEPS = $(..)config.make
console: $(CONSOLE_SRCS:.c=.o) \
- ../libnetfs/libnetfs.a ../libfshelp/libfshelp.a \
- ../libcons/libcons.a ../libports/libports.a \
+ ../libcons/libcons.a ../libfshelp/libfshelp.a \
+ ../libnetfs/libnetfs.a ../libiohelp/libiohelp.a \
+ ../libihash/libihash.a ../libports/libports.a \
../libshouldbeinlibc/libshouldbeinlibc.a
modules = vga pc_kbd generic_speaker pc_mouse current_vcs
diff --git a/daemons/Makefile b/daemons/Makefile
index db1acc7..9d32617 100644
--- a/daemons/Makefile
+++ b/daemons/Makefile
@@ -38,7 +38,8 @@ include ../Makeconf
rc: rc.sh
getty: getty.o ../libshouldbeinlibc/libshouldbeinlibc.a
mail.local: lmail.o ../libshouldbeinlibc/libshouldbeinlibc.a
-console-run: console-run.o ../libfshelp/libfshelp.a ../libports/libports.a
+console-run: console-run.o ../libfshelp/libfshelp.a ../libports/libports.a \
+ ../libihash/libihash.a ../libshouldbeinlibc/libshouldbeinlibc.a
runttys: runttys.o
runttys-LDLIBS = -lutil
diff --git a/devnode/Makefile b/devnode/Makefile
index 9529fa7..0964f8d 100644
--- a/devnode/Makefile
+++ b/devnode/Makefile
@@ -20,7 +20,7 @@ makemode := server
SRCS = devnode.c
LCLHDRS = util.h
-HURDLIBS = ports trivfs fshelp shouldbeinlibc
+HURDLIBS = fshelp ihash iohelp ports shouldbeinlibc trivfs
target = devnode
MIGSTUBS = deviceServer.o notifyServer.o
MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
diff --git a/random/Makefile b/random/Makefile
index 0949b63..5bdc9b1 100644
--- a/random/Makefile
+++ b/random/Makefile
@@ -24,7 +24,7 @@ target = random
SRCS = random.c gnupg-random.c gnupg-rmd160.c
OBJS = $(SRCS:.c=.o) startup_notifyServer.o
LCLHDRS = gnupg-random.h gnupg-rmd.h gnupg-bithelp.h random.h
-HURDLIBS = trivfs ports fshelp ihash shouldbeinlibc
+HURDLIBS = trivfs ports fshelp ihash iohelp shouldbeinlibc
OTHERLIBS = -lpthread
include ../Makeconf
diff --git a/trans/Makefile b/trans/Makefile
index ce1eae7..2fdcd38 100644
--- a/trans/Makefile
+++ b/trans/Makefile
@@ -55,22 +55,21 @@ include ../Makeconf
vpath elfcore.c $(top_srcdir)/exec
-symlink: fsysServer.o
-ifsock: ifsockServer.o
crash: crashServer.o crash_replyUser.o msgServer.o elfcore.o
+ifsock: ifsockServer.o
+mtab: fsUser.o
password: passwordServer.o
-streamio: device_replyServer.o
proxy-defpager: default_pagerServer.o default_pagerUser.o
+streamio: device_replyServer.o
+symlink: fsysServer.o
-proxy-defpager crash password streamio: ../libports/libports.a
../libtrivfs/libtrivfs.a ../libfshelp/libfshelp.a
+fakeroot: ../libnetfs/libnetfs.a
fifo new-fifo: ../libpipe/libpipe.a
-fwd: ../libfshelp/libfshelp.a ../libports/libports.a
-hello-mt magic null ifsock fifo new-fifo firmlink: ../libtrivfs/libtrivfs.a
../libfshelp/libfshelp.a ../libports/libports.a ../libihash/libihash.a
-magic: ../libiohelp/libiohelp.a
-hello: ../libtrivfs/libtrivfs.a ../libfshelp/libfshelp.a
../libports/libports.a ../libihash/libihash.a
-fakeroot: ../libnetfs/libnetfs.a ../libfshelp/libfshelp.a
../libiohelp/libiohelp.a ../libports/libports.a ../libihash/libihash.a
-remap: ../libtrivfs/libtrivfs.a ../libfshelp/libfshelp.a
../libports/libports.a ../libihash/libihash.a
-mtab: ../libtrivfs/libtrivfs.a ../libfshelp/libfshelp.a ../libports/libports.a
../libihash/libihash.a fsUser.o
-$(targets): ../libshouldbeinlibc/libshouldbeinlibc.a
+crash fifo firmlink hello hello-mt ifsock magic mtab new-fifo null password
proxy-defpager remap streamio: ../libtrivfs/libtrivfs.a
+$(targets): ../libfshelp/libfshelp.a \
+ ../libihash/libihash.a \
+ ../libiohelp/libiohelp.a \
+ ../libports/libports.a \
+ ../libshouldbeinlibc/libshouldbeinlibc.a
$(targets): %: %.o
diff --git a/utils/Makefile b/utils/Makefile
index 955789b..603b722 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -54,12 +54,13 @@ login addauth setauth: nonsugid.o
addauth rmauth setauth unsu: frobauth.o
rmauth setauth unsu: frobauth-mod.o
ps w: psout.o ../libps/libps.a ../libihash/libihash.a
-portinfo: ../libps/libps.a
+portinfo: ../libihash/libihash.a ../libps/libps.a
storeinfo storecat storeread: ../libstore/libstore.a
ftpcp ftpdir: ../libftpconn/libftpconn.a
-
-settrans: ../libfshelp/libfshelp.a ../libports/libports.a
+mount umount: ../libihash/libihash.a
+settrans: ../libfshelp/libfshelp.a ../libihash/libihash.a \
+ ../libports/libports.a
ps w ids settrans syncfs showtrans fsysopts storeinfo login vmstat portinfo \
devprobe vminfo addauth rmauth setauth unsu ftpcp ftpdir storeread \
storecat msgport mount umount nullauth rpctrace: \
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 56/75: fix compiler warnings in hurd/nfs and hurd/nfsd, (continued)
- [hurd] 56/75: fix compiler warnings in hurd/nfs and hurd/nfsd, Samuel Thibault, 2016/01/13
- [hurd] 41/75: fix compiler warnings in hurd/libdiskfs, Samuel Thibault, 2016/01/13
- [hurd] 69/75: Fix O_DIRECTORY lookup on trivial translators, Samuel Thibault, 2016/01/13
- [hurd] 47/75: fix compiler warnings in hurd/libstore, Samuel Thibault, 2016/01/13
- [hurd] 50/75: fix compiler warnings in hurd/procfs, Samuel Thibault, 2016/01/13
- [hurd] 54/75: fix compiler warnings in hurd/trans, Samuel Thibault, 2016/01/13
- [hurd] 58/75: Define IO_OUTTRAN so that term_on_pty returns a mach_port_t, Samuel Thibault, 2016/01/13
- [hurd] 49/75: fix compiler warnings in hurd/nfs and hurd/nfsd, Samuel Thibault, 2016/01/13
- [hurd] 35/75: fix compiler warnings in hurd/console-client, Samuel Thibault, 2016/01/13
- [hurd] 40/75: fix compiler warnings in hurd/isofs, Samuel Thibault, 2016/01/13
- [hurd] 57/75: Add missing libraries to fix link errors,
Samuel Thibault <=
- [hurd] 52/75: fix compiler warnings in hurd/random, Samuel Thibault, 2016/01/13
- [hurd] 62/75: fix mach-defpager static linking, Samuel Thibault, 2016/01/13
- [hurd] 60/75: Drop OTHERLIBS and use LDLIBS exclusively, Samuel Thibault, 2016/01/13
- [hurd] 63/75: allow pfinet to link using -O0, Samuel Thibault, 2016/01/13
- [hurd] 55/75: fix compiler warnings in hurd/utils, Samuel Thibault, 2016/01/13
- [hurd] 48/75: drop the deprecated malloc/free hooks in hurd/mach-defpager, Samuel Thibault, 2016/01/13
- [hurd] 38/75: fix compiler warnings in hurd/ext2fs, Samuel Thibault, 2016/01/13
- [hurd] 39/75: fix compiler warnings in hurd/console-client, Samuel Thibault, 2016/01/13
- [hurd] 51/75: Include missing header file in hurd/proc, Samuel Thibault, 2016/01/13
- [hurd] 34/75: boot: Fix boot.c compiler warning., Samuel Thibault, 2016/01/13