vdr-1.7.32 plugin dvbhddevice fails

Message ID 201211210321.25086.o.endriss@gmx.de
State New
Headers

Commit Message

Oliver Endriss Nov. 21, 2012, 2:21 a.m. UTC
  Richard Scobie <r.scobie@clear.net.nz> wrote:
> Hi Gerald,
> 
> Gerald Dachs wrote:
> 
> > If you would take a deeper look into your post you would have noticed 
> > that the mentioned file bitbuffer.o is not
> > build to this time. It must have been build in a former stage. So there 
> > is still no proof that it
> > has been build with -fPIC.
> > 
> 
> You are correct. It appears none of the object files in 
> dvbhddevice/libhdffcmd are being built without -fPIC, whereas all other 
> object files in all the other plugins are, so I will investigate further.


The attached patch should fix this problem.

CU
Oliver
  

Comments

Richard Scobie Nov. 21, 2012, 5:07 a.m. UTC | #1
Hi Olover,

Oliver Endriss wrote:

> The attached patch should fix this problem.

Many thanks, that has fixed it.

And bonus points for decoding the mangled grammer in my previous post...

Regards,

Richard
  

Patch

diff -pur dvbhddevice.org/Makefile dvbhddevice/Makefile
--- dvbhddevice.org/Makefile	2012-03-11 16:34:00.000000000 +0100
+++ dvbhddevice/Makefile	2012-11-20 15:06:37.000000000 +0100
@@ -99,7 +99,7 @@  i18n: $(I18Nmsgs) $(I18Npot)
 ### Targets:
 
 libvdr-$(PLUGIN).so: $(OBJS) libhdffcmd
-	$(MAKE) -C libhdffcmd all
+	$(MAKE) -C libhdffcmd PLUGIN=$(PLUGIN) all
 	$(CXX) $(CXXFLAGS) -shared $(OBJS) libhdffcmd/libhdffcmd.a -o $@
 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)