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

Attachment: signature.asc
Description: PGP signature

Reply via email to