Error Building VNSI
#1
I set up my new Zbox ID84 with OpenSuse 12.2

- VDR 1.7.32 OK (+vnsiserver git 2012-12-06)
- XBMC OK
=> git clone https://github.com/FernetMenta/xbmc.git 2012-12-06

VNSI Failed ( configure OK )
=> git clone git://github.com/opdenkamp/xbmc-pvr-addons.git 2012-12-06 ( 2012-12-08 same)

I cant find any any Error until this happens
# make
....
libtool: compile: g++ -DPACKAGE_NAME=\"xbmc-pvr-addons\" -DPACKAGE_TARNAME=\"xbmc-pvr-addons\" -DPACKAGE_VERSION=\"1:0:0\" "-DPACKAGE_STRING=\"xbmc-pvr-addons 1:0:0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAS_BUILTIN_SYNC_ADD_AND_FETCH=1 -DHAS_BUILTIN_SYNC_SUB_AND_FETCH=1 -DHAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP=1 -I. -Iinclude/ -g -O2 -MT json_writer.lo -MD -MP -MF .deps/json_writer.Tpo -c src/lib_json/json_writer.cpp -o json_writer.o >/dev/null 2>&1
Terminated
make[2]: *** [json_writer.lo] Error 1
make[2]: Leaving directory `/xbmc/addon/vnsi/git-12-12-08/lib/jsoncpp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/xbmc/addon/vnsi/git-12-12-08/lib'
make: *** [all-recursive] Error 1
Server OpenSuSE 12.3 - vdr-2.2.0 - 2xSatelco EasyWatch-C - streamdev-server git-19.02.15
Client OpenSuSE 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - XBMC - Nvidia GT 610 / 331.79
Client Zbox ID84 OpenSuse 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - Nvidia 331.79
Reply
#2
Did you run ./bootstrap before make?
If you compile XBMC yourself, it's much easier to compile the addons in-tree:

cd to xbmc (top folder of xbmc)
git clone git://github.com/opdenkamp/xbmc-pvr-addons.git pvr-addons
./bootstrap
./configure (configure should show you that pvr addons are present)
make
make install
Reply
#3
>> Did you run ./bootstrap before make?
Yes

>> cd to xbmc (top folder of xbmc)
Sure ? Not xbmc_src/addons ?

>> If you compile XBMC yourself, it's much easier to compile the addons in-tree
Oh, OK. But its the first time I run in troubles

I forget: My "productiv" Mediacenter with OpenSuse 12.1 compile works the way I described above
Maybe Compiler Version ? Older Versions throw Warnings while a Newer one sucks ?
Server OpenSuSE 12.3 - vdr-2.2.0 - 2xSatelco EasyWatch-C - streamdev-server git-19.02.15
Client OpenSuSE 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - XBMC - Nvidia GT 610 / 331.79
Client Zbox ID84 OpenSuse 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - Nvidia 331.79
Reply
#4
Quote:Sure ? Not xbmc_src/addons ?

For in-tree building it looks like this:

Code:
xbmc@ID80:~/progs/src/xbmc$ ls
aclocal.m4        copying.txt         Makefile             userdata
addons            docs                Makefile.in          val.out
bootstrap         doxygen_resources   Makefile.include     xbmc
bootstrap.mk      gitrev.sh           Makefile.include.in  XBMC-ATV2.xcodeproj
build-aux         hs_err_pid1785.log  media                xbmc.bin
codegenerator.mk  hs_err_pid1850.log  project              XBMC-IOS.xcodeproj
config.log        language            pvr-addons           XBMC.xcodeproj
config.status     lib                 README               xbmc-xrandr
configure         libtool             sounds               xbmc-xrandr.c
configure.in      LICENSE.GPL         system
CONTRIBUTORS      m4                  tools
xbmc@ID80:~/progs/src/xbmc$

Did you check if the libs in pvr-addons/lib did compile. There might be dependency not met on your system.

Reply
#5
/xbmc/xbmcsrc/git-12-12-06 :-) ls
CONTRIBUTORS
LICENSE.GPL
...
pvr-addons
sounds
system
...
/xbmc/xbmcsrc/git-12-12-06 :-) ./boostrap && ./configure --prefix=/xbmc/xbmc1 --enable-vdpau --disable-debug
=> OK
/xbmc/xbmcsrc/git-12-12-06 :-) make
...
libtool: compile: /usr/bin/ccache g++ -DPACKAGE_NAME=\"xbmc-pvr-addons\" -DPACKAGE_TARNAME=\"xbmc-pvr-addons\" -DPACKAGE_VERSION=\"1:0:0\" "-DPACKAGE_STRING=\"xbmc-pvr-addons 1:0:0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAS_BUILTIN_SYNC_ADD_AND_FETCH=1 -DHAS_BUILTIN_SYNC_SUB_AND_FETCH=1 -DHAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP=1 -I. -I. -I/xbmc/xbmcsrc/git-12-12-06/pvr-addons/xbmc -I/xbmc/xbmcsrc/git-12-12-06/pvr-addons/lib -Isrc -Isrc/lib/filesystem -I/xbmc/xbmcsrc/git-12-12-06/pvr-addons/lib/jsoncpp/include -g -O2 -fPIC -Wall -Wextra -Wno-missing-field-initializers -Woverloaded-virtual -Wno-parentheses -DTARGET_POSIX -DTARGET_LINUX -D_LINUX -DUSE_DEMUX -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Wall -Wextra -Wno-missing-field-initializers -Woverloaded-virtual -Wno-parentheses -fPIC -O2 -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 -MT TSReader.lo -MD -MP -MF .deps/TSReader.Tpo -c src/lib/tsreader/TSReader.cpp -fPIC -DPIC -o .libs/TSReader.o
Terminated
make[3]: *** [TSReader.lo] Error 1
make[3]: Leaving directory `/xbmc/xbmcsrc/git-12-12-06/pvr-addons/addons/pvr.argustv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/xbmc/xbmcsrc/git-12-12-06/pvr-addons/addons'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/xbmc/xbmcsrc/git-12-12-06/pvr-addons'
make: *** [pvraddons] Error 2



Server OpenSuSE 12.3 - vdr-2.2.0 - 2xSatelco EasyWatch-C - streamdev-server git-19.02.15
Client OpenSuSE 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - XBMC - Nvidia GT 610 / 331.79
Client Zbox ID84 OpenSuse 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - Nvidia 331.79
Reply
#6
I try to get a hold of wsnipex, he has a better knowledge about packing and what might be wrong here.
Reply
#7
Great, thanks a lot
Server OpenSuSE 12.3 - vdr-2.2.0 - 2xSatelco EasyWatch-C - streamdev-server git-19.02.15
Client OpenSuSE 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - XBMC - Nvidia GT 610 / 331.79
Client Zbox ID84 OpenSuse 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - Nvidia 331.79
Reply
#8
hmm, I don't see the problem. What gcc/g++ version is this?
can you pastebin the config.log?

Only thing notable is that some of compiler switches are doubled. Are you setting any CFLAGS/CXXFLAGS manually?

edit: did you already try to clean ccache, make distclean etc?
Reply
#9
>> What gcc/g++ version is this
# gcc --version
gcc (SUSE Linux) 4.7.1 20120723 [gcc-4_7-branch revision 189773]

# g++ --version
g++ (SUSE Linux) 4.7.1 20120723 [gcc-4_7-branch revision 189773]

>> Are you setting any CFLAGS/CXXFLAGS manually?
No

>> did you already try to clean ccache, make distclean etc?
No, thats what I forget to talk about. Thats the XBMC Source that was successfully build without pvr-addons. I just did git clone from pvr-addons inside the xbmc tree and build again
I'll start again with a distclean. (will take a while on a Zbox, 2hours about)

I also can try a gcc combat Version (gcc33).
The version where it works is 4.6.2

>> can you pastebin the config.log
No, not yet (no account). If necessary I build one
Server OpenSuSE 12.3 - vdr-2.2.0 - 2xSatelco EasyWatch-C - streamdev-server git-19.02.15
Client OpenSuSE 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - XBMC - Nvidia GT 610 / 331.79
Client Zbox ID84 OpenSuse 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - Nvidia 331.79
Reply
#10
# make clean && make distclean
# bootstrap && configure ...
# make
...
make[1]: Leaving directory `/xbmc/xbmcsrc/git-12-12-06/pvr-addons'
-----------------------
XBMC built successfully
-----------------------

Do not understand, but, nevertheless, thanks a lot.
Server OpenSuSE 12.3 - vdr-2.2.0 - 2xSatelco EasyWatch-C - streamdev-server git-19.02.15
Client OpenSuSE 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - XBMC - Nvidia GT 610 / 331.79
Client Zbox ID84 OpenSuse 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - Nvidia 331.79
Reply
#11
Great Smile
Reply
#12
Sorry, but one more Question about building vnsi inside xbmc tree
I thought I'd understood it, but I'm afraid that I don't

Did this
# git clone https://github.com/FernetMenta/xbmc.git xbmc_src
# cd xbmc_src && git clone git://github.com/opdenkamp/xbmc-pvr-addons.git
# cd ..
# ./bootstrap && configure && make && make install

But no pvr-addons coul be found under prefix/share/xbmc/addons
In xbmc_src/xbmc-pvr-addons only configure.ac could be found, no configure which should be build from bootstrap

So I
# cd xbmc_src/xbmc-pvr-addons
# ./bootstrap && configure --prefix=<xbmc_prefix> && make && make install


But no pvr builds could be found anywhere

Edit
Ok, I found them in xbmc_src/xbmc-pvr-addons/addons
Did I have to manually copy Files into share/xbmc/addons ?
Last time, as I remember, i didn't need todo this
Server OpenSuSE 12.3 - vdr-2.2.0 - 2xSatelco EasyWatch-C - streamdev-server git-19.02.15
Client OpenSuSE 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - XBMC - Nvidia GT 610 / 331.79
Client Zbox ID84 OpenSuse 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - Nvidia 331.79
Reply
#13
This command clones the addons into the correct folder:

git clone git://github.com/opdenkamp/xbmc-pvr-addons.git pvr-addons

Then you should have this folder: xbmc_src/pvr-addons
Reply
#14
Ahh, thanks a lot. I'll try it next time.
For now, I did an make install in xbmc_src, after make in xbmc-pvr-addons subdir
Server OpenSuSE 12.3 - vdr-2.2.0 - 2xSatelco EasyWatch-C - streamdev-server git-19.02.15
Client OpenSuSE 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - XBMC - Nvidia GT 610 / 331.79
Client Zbox ID84 OpenSuse 12.3 - vdr-2.2.0 - SoftHDDevice git-19.02.15 - Nvidia 331.79
Reply

Logout Mark Read Team Forum Stats Members Help
Error Building VNSI0