[MacPorts] #64545: gtk-gnutella: update to 1.2.1
MacPorts
noreply at macports.org
Sun Apr 3 10:20:53 UTC 2022
#64545: gtk-gnutella: update to 1.2.1
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: gtk-gnutella |
---------------------------+--------------------
Comment (by barracuda156):
Replying to [comment:1 reneeotten]:
> the port has no maintainer, so feel free to attempt to update it and
submit a PR
I has been working on getting `gtk-gnutella` @1.2.2 build for a while, and
I reached a point where a build almost completes, but fails with undefined
symbols:
{{{
Undefined symbols:
"_upnp_delete_pending", referenced from:
_gtk_gnutella_exit in main.o
"_upnp_init", referenced from:
_main in main.o
"_upnp_map_tcp", referenced from:
_listen_port_changed in libcore.a(settings.o)
"_upnp_map_udp", referenced from:
_listen_port_changed in libcore.a(settings.o)
"_upnp_natpmp_disabled", referenced from:
_enable_natpmp_changed in libcore.a(settings.o)
"_upnp_unmap_tcp", referenced from:
_listen_port_changed in libcore.a(settings.o)
_socket_shutdown in libcore.a(sockets.o)
"_upnp_unmap_udp", referenced from:
_listen_port_changed in libcore.a(settings.o)
_socket_shutdown in libcore.a(sockets.o)
"_upnp_post_init", referenced from:
_main in main.o
_enable_natpmp_changed in libcore.a(settings.o)
_enable_upnp_changed in libcore.a(settings.o)
"_upnp_close", referenced from:
_gtk_gnutella_exit in main.o
"_upnp_disabled", referenced from:
_enable_upnp_changed in libcore.a(settings.o)
ld: symbol(s) not found
}}}
I did try using `miniupnpc` and `libupnp` ports both, the error is
identical.
If you or anyone may have any suggestions re what to try, that will be
greatly appreciated.
Here is what I used to try linking to needed libraries:
{{{
depends_lib-append port:miniupnpc
configure.args-append --libs="-lminiupnpc -lz -liconv"
configure.cxxflags-append -DUSE_UPNP
configure.cflags-append -I${prefix}/include/miniupnpc
configure.ldflags-append -ldl -L${prefix}/lib -lminiupnpc
-lz -liconv
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64545#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list