tags 615783 patch thanks
Hello, Attached patch was used to fix this problem in Ubuntu. https://launchpad.net/ubuntu/+source/t38modem/1.2.0-1ubuntu1
Description: Change order of parameters passed to ld. This fixes FTBFS with --as-needed option. Author: Ilya Barygin <bary...@gmail.com> Bug-Debian: http://bugs.debian.org/615783 --- t38modem-1.2.0.orig/Makefile +++ t38modem-1.2.0/Makefile @@ -111,7 +111,8 @@ OBJECTS := pmutils.o dle.o pmode # main_process.cxx USE_UNIX98_PTY := 1 -CPPFLAGS += `pkg-config --libs --cflags opal` +LIBS += `pkg-config --libs opal` +CPPFLAGS += `pkg-config --cflags opal` CPPFLAGS += -DUSE_OPAL # @@ -186,4 +187,4 @@ endif $(PROG) : $(OBJECTS) - $(CC) $(CPPFLAGS) -o $(PROG) $(OBJECTS) + $(CC) $(CPPFLAGS) -o $(PROG) $(OBJECTS) $(LIBS)