Hi Cyril,
Il giorno ven, 04/12/2009 alle 02.33 +0100, Cyril Brulebois ha scritto:
[...]
> It can be fixed by passing an extra -lutil parameter in faxd/:
> -LIBFAXSERVER=-L. -lfaxserver-${ABI_VERSION}
> +LIBFAXSERVER=-L. -lfaxserver-${ABI_VERSION} -lutil
this problem has been introduced recently by patch
803_faxgetty_libutil.dpatch:
diff -urNad hylafax-6.0.0~rc1~/faxd/Makefile.in
hylafax-6.0.0~rc1/faxd/Makefile.in
--- hylafax-6.0.0~rc1~/faxd/Makefile.in 2009-02-27 19:07:32.000000000 +0100
+++ hylafax-6.0.0~rc1/faxd/Makefile.in 2009-04-19 11:53:52.000000000 +0200
@@ -191,7 +191,7 @@
faxsend: ${FAXSENDOBJS} libfaxserver-${ABI_VERSION}.a ${LIBS}
${C++F} -o $@ ${FAXSENDOBJS} ${LIBFAXSERVER} ${LDFLAGS}
faxgetty: ${FAXGETTYOBJS} libfaxserver-${ABI_VERSION}.a ${LIBS}
- ${C++F} -o $@ ${FAXGETTYOBJS} ${LIBUTIL} ${LIBFAXSERVER} ${LDFLAGS}
+ ${C++F} -o $@ ${FAXGETTYOBJS} ${LIBFAXSERVER} ${LDFLAGS}
faxqclean: ${FAXQCLEANOBJS} libfaxserver-${ABI_VERSION}.a ${LIBS}
${C++F} -o $@ ${FAXQCLEANOBJS} ${LIBFAXSERVER} ${LDFLAGS}
This patch was meant to fix a lintian warning about faxgetty linked
against libutil without using any of its symbols. I now understand that
libutil is unnecessary on linux kernel, while it is mandatory at least
in freebsd.
Do you have any suggestion about how to change Makefile.in in order to
add LIBUTIL only on these systems that really require it?
Thanks,
Giuseppe
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]