Problem with compiled sectionsd

The forum for our foreign guests... Please post in English
FreddyFr0g
Neugieriger
Neugieriger
Beiträge: 13
Registriert: Sonntag 30. März 2008, 19:18

Problem with compiled sectionsd

Beitrag von FreddyFr0g »

Hi There,

I suppose this is q question for Seife ;)
I'm trying to compile sectionsd from latest CVS, it compiles fine (make neutrino) but when I put it on my existing box, it complains about missing symbol:

Code: Alles auswählen

/sectionsd: undefined symbol: _Z12parseXmlFilePKcb
I noticed that Seife committed some changes into the CVS - having consolidated the xmlinterface.h/.cpp code.
I've hence followed the instructions from the CVS:

Code: Alles auswählen

Consolidate the three, slightly different versions of xmlinterface.{cpp,h}
into libtuxbox-xmltree. Everything compiled afterwards and I hope that I
did not forget anything. If something fails, it's probably due to a wrong
xmlinterface.h include, just change it to "#include <xmltree/xmlinterface.h>"
and everything should be fine.

It is recommended to start with a fresh checkout or a "make distclean"
after updating. If you cannot do that, you should at least do (from cdk/
directory):
- make -C ../apps/dvb/zapit uninstall
- make -C ../apps/misc/libs uninstall
- find all xmlinterface.h files in your cdkroot and remove them.
- make misc_libs
- make zapit
- make neutrino
But still get the same results. Is there a wrong xmlinterface.h include somewhere? I couldn't find any....

Or does it mean that the changes to the CVS means that I cannot just compile sectionsd and copy it to my "old" structure (with "old" lib) on my dbox without uploading some new libs as well (and in that case which files?)

Or any other ideas?

Thanks a lot!

FreddyFr0g
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Problem with compiled sectionsd

Beitrag von rhabarber1848 »

FreddyFr0g hat geschrieben:means that I cannot just compile sectionsd and copy it to my "old" structure (with "old" lib) on my dbox without uploading some new libs as well (and in that case which files?)
Correct, mklibs, which is executed near the end of the build process,
removes library code which is not needed by any application. Sectionsd
now needs a symbol which it did not need before so you have incomplete
libs. Maybe copying libtuxbox-xmltree.so.0.0.0 helps, but its just a guess.
Better you compile a new image including the updated sectionsd.
FreddyFr0g
Neugieriger
Neugieriger
Beiträge: 13
Registriert: Sonntag 30. März 2008, 19:18

Re: Problem with compiled sectionsd

Beitrag von FreddyFr0g »

copied libtuxbox-xmltree.so.0 across as well and it's working now - thanks!