View Single Post
  #3 (permalink)  
Old 02-07-2005
xphile's Avatar
xphile xphile is offline
Super Moderator
 
Join Date: Aug 2003
Posts: 885
Thanks: 0
Thanked 0 Times in 0 Posts
xphile is on a distinguished road
Yep take a look at Makefile.am. Look at any of the enigma based plugins and you find this comment:

Code:
flash-plugin_ngrabstartstop: $(flashprefix)/.part_plugin_ngrabstartstop
$(flashprefix)/.part_plugin_ngrabstartstop: $(flashprefix)/.flash .plugins flash-enigma
	$(INSTALL) -d $(flashprefix)/root/lib/tuxbox/plugins
# copy enigma plugins after mklibs.. (mklibs.py do not detect enigma as a shared lib)
	@touch $@
Then if you search a bit further you see:

Code:
@if [ -f $(flashprefix)/.part_plugin_ngrabstartstop ] ; then \
		cp $(targetprefix)/lib/tuxbox/plugins/ngrab*.so $(flashprefix)/root/lib/tuxbox/plugins/ ; \
		cp $(targetprefix)/lib/tuxbox/plugins/ngrab*.cfg $(flashprefix)/root/lib/tuxbox/plugins/ ; \
	fi
Basically the copy of enigma based plugins must happen after the mklibs step. Use ngrab as an example to follow.

Quote:
Originally Posted by PLiŽ
Works great.

The only problem I know have is that my own plugin won't worlk. Actually I have recompiled it with the newly build CDK and that has passed without errors. But when I try to install this in the newly build image I get errors that functions cannot be found so probably earlier stripped from the libs by mklibs.py

When I then first copy my plugin before mklibs.py runs then mklibs.py is not able to run completely because it cannot find the functions used from enigma.

Anybody know how I can fix this problem?

Peter
Reply With Quote
 
Page generated in 0.12636 seconds with 9 queries