* acl and attr: libmisc linkage
@ 2007-10-28 18:04 Andreas Gruenbacher
0 siblings, 0 replies; only message in thread
From: Andreas Gruenbacher @ 2007-10-28 18:04 UTC (permalink / raw)
To: linux-xfs, Timothy Shimmin; +Cc: Gerald Bringhurst, Brandon Philips
Hello,
I noticed that in some cases, gcc is unhappy when libmisc.a is specified after
libattr.so and libacl.so, and doesn't link in stuff from libmisc.a
(specifically, walk_tree). I don't know the exact reason for this behavior,
but putting libmisc.a before the dynamic libraries fixes the problem, i.e.,
like this:
-LLDLIBS = $(LIBACL) $(LIBATTR) $(LIBMISC)
-LTDEPENDENCIES = $(LIBACL) $(LIBMISC)
+LLDLIBS = $(LIBMISC) $(LIBACL) $(LIBATTR)
+LTDEPENDENCIES = $(LIBMISC) $(LIBACL)
Is that acceptable?
Thanks,
Andreas
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-28 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-28 18:04 acl and attr: libmisc linkage Andreas Gruenbacher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox