Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: rdoac on November 18, 2007, 17:46:05

Title: Can't compile latest CVS
Post by: rdoac on November 18, 2007, 17:46:05
/usr/src/vomp/crosstool/gcc-3.4.5-glibc-2.2.5/powerpc-405-linux-gnu/bin/powerpc-405-linux-gnu-g++ -O3 -Wall -Wshadow -Werror -D_GNU_SOURCE -I../jpeg/jpeg-6b   -c -o abstractoption.o abstractoption.cc
make: *** No rule to make target `eventdispatcher.o', needed by `vompclient'.  Stop.


I tried moving everything over as vompold and downloading the original script and am getting the same thing.
Title: Re: Can't compile latest CVS
Post by: Chris on November 18, 2007, 18:12:54
I have now added the new files to cvs. Try it now :)
Title: Re: Can't compile latest CVS
Post by: Fourty2 on November 18, 2007, 18:46:59
Hello Chris,

hmm, still doesn't build...


eventdispatcher.cc: In member function `bool EventDispatcher::edFindAndCall(void*)':
eventdispatcher.cc:43: warning: 'edr' might be used uninitialized in this function
make: *** [eventdispatcher.o] Fehler 1
vivian:/usr/local/src/VoMP/client#


Hope, I didn't miss a patch in there...

Fourty2
Title: Re: Can't compile latest CVS
Post by: rdoac on November 19, 2007, 20:08:28
I get the same thing:

/usr/src/vomp/crosstool/gcc-3.4.5-glibc-2.2.5/powerpc-405-linux-gnu/bin/powerpc-405-linux-gnu-g++ -O3 -Wall -Wshadow -Werror -D_GNU_SOURCE -I../jpeg/jpeg-6b   -c -o eventdispatcher.o eventdispatcher.cc
eventdispatcher.cc: In member function `bool EventDispatcher::edFindAndCall(void*)':
eventdispatcher.cc:43: warning: 'edr' might be used uninitialized in this function
make: *** [eventdispatcher.o] Error 1

Title: Re: Can't compile latest CVS
Post by: Chris on November 20, 2007, 21:30:20
Ahah, I was wondering why you were getting the warning and I wasn't. For some reason it doesn't moan about that for a dev compile, only release compiles. To fix it just make line 43 say: "  EDReceiver* edr = NULL;   " instead. Don't update from cvs for a while now because live tv won't work soon.

Title: Re: Can't compile latest CVS
Post by: rdoac on November 21, 2007, 09:27:13
Chris,  I fixed the problem above, and now vompclient builds, but I can't package it together, if I try and build the dongle I get

gcc  -g -O2   -o genext2fs  genext2fs.o
make[1]: Leaving directory `/usr/src/vomp/dongle/genext2fs-1.4'
`../client/vompclient' -> `fs/vompclient'
`../client/other/vdr.jpg' -> `fs/vdr.jpg'
`../client/other/wallpaperNTSC.jpg' -> `fs/wallpaperNTSC.jpg'
`../client/other/wallpaperPAL.jpg' -> `fs/wallpaperPAL.jpg'
`../lbox_border/lbox_border.o' -> `fs/lib/modules/2.4.31/lbox_border.o'
*** glibc detected *** genext2fs-1.4/genext2fs: double free or corruption (out): 0xbfe03570 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7ecf632]
/lib/libc.so.6(cfree+0x87)[0xb7ed12c7]
/lib/libc.so.6(_IO_vfscanf+0x6ee)[0xb7eb295e]
/lib/libc.so.6(vsscanf+0x91)[0xb7ec2e11]
/lib/libc.so.6(_IO_sscanf+0x2e)[0xb7ebdc7e]
genext2fs-1.4/genext2fs[0x804ce4e]
genext2fs-1.4/genext2fs[0x804d94a]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb7e7f3e0]
genext2fs-1.4/genext2fs[0x8048f11]
======= Memory map: ========
08048000-08050000 r-xp 00000000 03:05 1655716    /usr/src/vomp/dongle/genext2fs-1.4/genext2fs
08050000-08051000 r--p 00007000 03:05 1655716    /usr/src/vomp/dongle/genext2fs-1.4/genext2fs
08051000-08052000 rw-p 00008000 03:05 1655716    /usr/src/vomp/dongle/genext2fs-1.4/genext2fs
08052000-08073000 rw-p 08052000 00:00 0          [heap]
b7d00000-b7d21000 rw-p b7d00000 00:00 0
b7d21000-b7e00000 ---p b7d21000 00:00 0
b7e68000-b7e69000 rw-p b7e68000 00:00 0
b7e69000-b7f96000 r-xp 00000000 03:05 344467     /lib/libc-2.7.so
b7f96000-b7f98000 r--p 0012d000 03:05 344467     /lib/libc-2.7.so
b7f98000-b7f99000 rw-p 0012f000 03:05 344467     /lib/libc-2.7.so
b7f99000-b7f9d000 rw-p b7f99000 00:00 0
b7fc4000-b7fce000 r-xp 00000000 03:05 7935819    /usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7fce000-b7fcf000 rw-p 00009000 03:05 7935819    /usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7fcf000-b7fd0000 rw-p b7fcf000 00:00 0
b7fd0000-b7fd1000 r-xp b7fd0000 00:00 0          [vdso]
b7fd1000-b7feb000 r-xp 00000000 03:05 344471     /lib/ld-2.7.so
b7feb000-b7fec000 r--p 00019000 03:05 344471     /lib/ld-2.7.so
b7fec000-b7fed000 rw-p 0001a000 03:05 344471     /lib/ld-2.7.so
bfdf1000-bfe07000 rw-p bffea000 00:00 0          [stack]
./build: line 41:  4696 Aborted                 ${LGENFS} -d fs -b ${RAMDISK_SIZE} -D devtable ramdisk
gzip: ramdisk: No such file or directory
/usr/src/vomp/crosstool/gcc-3.4.5-glibc-2.2.5/powerpc-405-linux-gnu/bin/powerpc-405-linux-gnu-objcopy: 'ramdisk.gz': No such file
Title: Re: Can't compile latest CVS
Post by: rdoac on November 22, 2007, 12:14:57
Anyone have any idea about the above?

I dunno how to compile the dongle?

Title: Re: Can't compile latest CVS
Post by: hondansx on November 22, 2007, 15:52:57
Hi,

for me it works.
Something must be broken on your side.

Alex
Title: Re: Can't compile latest CVS
Post by: rdoac on November 22, 2007, 17:42:15
Looks like genext2fs is broke:

genext2fs-1.4/genext2fs -d fs -b 4096 -D devtable ramdisk
*** glibc detected *** genext2fs-1.4/genext2fs: double free or corruption (out): 0xbfc5b5b0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7e74632]
/lib/libc.so.6(cfree+0x87)[0xb7e762c7]
/lib/libc.so.6(_IO_vfscanf+0x6ee)[0xb7e5795e]
/lib/libc.so.6(vsscanf+0x91)[0xb7e67e11]
/lib/libc.so.6(_IO_sscanf+0x2e)[0xb7e62c7e]
genext2fs-1.4/genext2fs[0x804ce4e]
genext2fs-1.4/genext2fs[0x804d94a]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb7e243e0]
genext2fs-1.4/genext2fs[0x8048f11]
======= Memory map: ========
08048000-08050000 r-xp 00000000 03:05 7899715    /usr/src/vomp/dongle/genext2fs-1.4/genext2fs
08050000-08051000 r--p 00007000 03:05 7899715    /usr/src/vomp/dongle/genext2fs-1.4/genext2fs
08051000-08052000 rw-p 00008000 03:05 7899715    /usr/src/vomp/dongle/genext2fs-1.4/genext2fs
08052000-08073000 rw-p 08052000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7e0d000-b7e0e000 rw-p b7e0d000 00:00 0
b7e0e000-b7f3b000 r-xp 00000000 03:05 344467     /lib/libc-2.7.so
b7f3b000-b7f3d000 r--p 0012d000 03:05 344467     /lib/libc-2.7.so
b7f3d000-b7f3e000 rw-p 0012f000 03:05 344467     /lib/libc-2.7.so
b7f3e000-b7f42000 rw-p b7f3e000 00:00 0
b7f69000-b7f73000 r-xp 00000000 03:05 7935819    /usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7f73000-b7f74000 rw-p 00009000 03:05 7935819    /usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7f74000-b7f75000 rw-p b7f74000 00:00 0
b7f75000-b7f76000 r-xp b7f75000 00:00 0          [vdso]
b7f76000-b7f90000 r-xp 00000000 03:05 344471     /lib/ld-2.7.so
b7f90000-b7f91000 r--p 00019000 03:05 344471     /lib/ld-2.7.so
b7f91000-b7f92000 rw-p 0001a000 03:05 344471     /lib/ld-2.7.so
bfc49000-bfc5f000 rw-p bffea000 00:00 0          [stack]
Aborted
Title: Re: Can't compile latest CVS
Post by: Chris on November 22, 2007, 17:49:52
Strange. genext2fs is a generic, unmodified tool from the net. Is there anything out of the ordinary about your system?
Title: Re: Can't compile latest CVS
Post by: rdoac on November 22, 2007, 20:16:15
Don't think so, it's Gentoo.

I just installed the gentoo version and it does the same thing.

Without the -D devtable it works.. Wierd.

Am just about to NFS the build dir over to my laptop and try with that.
Title: Re: Can't compile latest CVS
Post by: rdoac on November 23, 2007, 11:54:14
Ok, I have made a few steps forward, and a couple back.

I got it compiled ok on my laptop, also Gentoo, so I guess I updated something like glibc which gentext2 doesn't like.

No I got "Login Failed", so I updated vompserver and get stuck on "Loading config.."

Any ideas, or is this what Chris mentioned would be CVS being broken?

I wanted to try out my Italian Language additions but can't without it compiling..........

Title: Re: Can't compile latest CVS
Post by: Chris on November 23, 2007, 19:51:47
It's probably possible to end up with it doing that over the last few days. Try updating your cvs client and server now, it should all work except for live TV.
Title: Re: Can't compile latest CVS
Post by: rdoac on November 24, 2007, 08:35:02
If I play too much with the TV and it doesn't work, my wife will kill me.  I'll wait until live TV works again and try then.

Is there a CVS command to pull in upto a certain date?  If so, what would be that date to have pretty much everything working?

Maybe we can set a default cvs to be a working one and have different streams which are the cutting edge development parts?

Is there available source for 2.7 client around, I can compile that with the language file to test?
Title: Re: Can't compile latest CVS
Post by: Fourty2 on November 24, 2007, 10:23:41
Quote from: rdoac on November 24, 2007, 08:35:02
Is there a CVS command to pull in upto a certain date?  If so, what would be that date to have pretty much everything working?

For example "cvs update -D2007-11-18"

Fourty2
Title: Re: Can't compile latest CVS
Post by: MarkC on November 24, 2007, 10:49:18
Quote from: rdoac on November 24, 2007, 08:35:02
Is there available source for 2.7 client around, I can compile that with the language file to test?

As well as the pull-by-date method Fourty2 mentioned, you can pull a specific release:

cvs update -r r0-2-7

The -D and -r tags are 'sticky'; to clear them and revert to the mainline, you can use

cvs update -A

If you browse CVS on sourceforge.net, there is a drop-down box showing all the available tags for the -r option.
Title: Re: Can't compile latest CVS
Post by: rdoac on November 24, 2007, 16:06:23
Thanks guys, that did the job...

Have done an Italian language file too.

Is there any merit in messing around with the VDR.jpg logo and/or backgrounds?

I quite fancy some fun options other than standard, dunno if anyone else would be interested?
Title: Re: Can't compile latest CVS
Post by: Chris on November 24, 2007, 18:51:00
I'd be interested!  ;D

See colour.cc and colour.h as well - you can change the colours for the whole program in there.
Title: Re: Can't compile latest CVS
Post by: Chris on December 06, 2007, 20:54:48
For anyone with similar build problems at the build dongle stage with genext2fs:

This isn't quite the same problem as reported earlier in this thread but it might be useful anyway. If genext2fs segfaults try editing the devtable file and remove the first two comment lines. See if it works then.
Title: Re: Can't compile latest CVS
Post by: rdoac on December 07, 2007, 13:07:59
Yea, Chris,

That fixed it for me.. :-)

I'm a happy bunny now.

Can you tell us when CVS is usable again?  (Ie,  you mentioned that TV playback wouldn't work etc)
Title: Re: Can't compile latest CVS
Post by: davep on December 07, 2007, 17:00:22
The CVS version is working for me now  :) The remote control seems much more responsive, with the scrolling speed of the EPG in particular much improved.
Title: Re: Can't compile latest CVS
Post by: rdoac on December 07, 2007, 21:59:59
Hmmm, looks good and compiles, but not quite working for me.

Radio just says channel unavailable, and the Info and Audio buttons are not working.

I'll go back to what I had for the time being.

I like the new on channel display though.  Reminds me of a dreambox.

If there was a way of interfacing it with femon it would be really cool!

Ie, have a signal strength bar, maybe channel logo etc.
Title: Re: Can't compile latest CVS
Post by: Chris on December 07, 2007, 23:46:50
Yep, that is the state of the code at the moment. The Live TV system has been almost completely rewritten, so it's definitely shaky at the moment. I've been using it myself and I would say that if you are careful with it, it is just about usable with the following caveats (mostly as pointed out by rdoac):

* Live Radio won't work
* Summary / audio channel selection won't work
* Old connection lost issues I hope are fixed now (somehow), but if there is an actual _real_ connection lost event now, it won't be handled well at all
* And as I found out just this evening, the new code performs really badly if the server is heavily loaded down. (It actually temporarily completely locked up my MVP..)

All these will be fixed before release.

The new live tv system is a real streaming system, and all the new code is supposed to:

* make it faster to change channels (hopefully)
* have live on the client closer to actual live (I think it's about as good as it's going to get now)
* make the full and now/next EPGs faster during live play
* allow the now/next EPG to do other channels (press left and right!)
* sort out all the lockup delay issues with bad channels, encrypted channels, faulty data, etc etc
* fix the initial A/V sync issues with live play
* look cooler.