Bug#846758: Supporting H.323 Stack in Stretch?

Joerg Dorchain joerg at dorchain.net
Thu Jan 19 11:33:44 UTC 2017


On Thu, Jan 19, 2017 at 11:30:08AM +0100, Joerg Dorchain wrote:
> > 
> > I don't see any new development in
> > http://t38modem.cvs.sourceforge.net/viewvc/t38modem/t38modem/ . So
> > unless someone steps up to fix #846758 I'm afraid we'll have to RM it
> > eventually.
> 
> /usr/bin/ld: pmodeme.o: relocation R_X86_64_PC32 against symbol
> `_ZNK17PStringDictionaryI7PStringE5GetAtERKS0_' can not be used
> when making a shared object; recompile with -fPIC
> 
> That sounds almost trivial to me. I'll setup a build chroot and
> give it a try.

Done. Patch attached.

I am not sure if this is really the proper way, but works for
me(tm).

BTW, the non-package build works fine without this, it must be
triggered by some debian-specific hardening flags.

Bye,

Joerg


--- Makefile.old	2017-01-19 11:19:39.743784279 +0000
+++ Makefile	2017-01-19 11:16:49.851551130 +0000
@@ -132,6 +132,7 @@
 #		   main_process.cxx
 
 USE_UNIX98_PTY := 1
+CPPFLAGS += -fPIC
 CPPFLAGS += `pkg-config --cflags opal`
 LDFLAGS  += `pkg-config --libs opal`
 CPPFLAGS += -DUSE_OPAL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20170119/86c431b1/attachment-0002.sig>


More information about the Pkg-voip-maintainers mailing list