Giter Site home page Giter Site logo

Comments (3)

nckx avatar nckx commented on July 20, 2024

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

from libmesode.

 avatar commented on July 20, 2024

@pasis @jubalh

Changing '^xmpp_' to '.', in Makefile.am, fixed the errors for me. Thanks to @nckx

:-)

from libmesode.

nckx avatar nckx commented on July 20, 2024

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.

πŸŽƒ

from libmesode.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.