Closed ghost closed 3 years ago
The tests make heavy use of unexported symbols; e.g., you can get them to ‘work’ by
--- a/Makefile.in 2021-02-23 19:59:36.016767814 +0100
+++ b/Makefile.in 2021-02-23 20:46:25.720571374 +0100
@@ -801,7 +801,7 @@
libmesode_la_CFLAGS = $(SSL_CFLAGS) $(MESODE_FLAGS) $(PARSER_CFLAGS)
# Export only public API
libmesode_la_LDFLAGS = $(SSL_LIBS) $(PARSER_LIBS) $(RESOLV_LIBS) \
+ -no-undefined -export-symbols-regex '^xmpp_'
- -no-undefined -export-symbols-regex '.'
libmesode_la_SOURCES = src/auth.c src/conn.c src/crypto.c src/ctx.c \
src/event.c src/handler.c src/hash.c src/jid.c src/md5.c \
src/rand.c src/resolver.c src/sasl.c src/scram.c src/sha1.c \
Mmm. Yucky. <3
@pasis @jubalh
Changing '^xmpp_'
to '.'
, in Makefile.am, fixed the errors for me. Thanks to @nckx
:-)
Oh! You're very welcome, but I don't consider the above a fix. It's more of a warning to others.
May someone with sharper autotools chops suggest something that doesn't frighten children.
:jack_o_lantern:
When building libmesode (v0.10.1) from source, with
--disable-static
configure-flag, the build fails with following errors: