|
Post by Espen Skog on Jan 22, 2010 9:36:33 GMT -5
How can I easily compile dtvtrans+ from its source code on my Ubuntu server ? I tried to run Make but it errors out on map.cpp with functions zzz not members of yyy.
I believe my laptop parport is sucky as it is intermittently working with dtvtrans. So I hope I could try it under linux on another stationary pc.
Pre-compiled binary or compile-hints appreciated :-)
Espen
|
|
|
Post by nojoopa on Jan 22, 2010 10:10:42 GMT -5
How can I easily compile dtvtrans+ from its source code on my Ubuntu server ? A simple "make" in src/ should work. I tried to run Make but it errors out on map.cpp with functions zzz not members of yyy. I see no map.cpp in 1.0 (from here). Please paste the actual error message. Perhaps some change in newer GCCs (v4.x) broke something, can't test with this machine... (works fine for me(tm))
|
|
|
Post by Espen Skog on Jan 22, 2010 10:53:10 GMT -5
Sorry, main.cpp I mean :-) A little typo there.
Yes, I would assume too that a simple make would do the trick. But it (of course -- since I am a walking problem-magnet) does error out. It's friday.-..I think i should just go home and have a beer...
|
|
|
Post by nojoopa on Jan 23, 2010 5:28:33 GMT -5
Problem found and solved! (thanks alankila) Some of the C headers used by dtvtrans(plus) have been changed somewhere between GCC 4.1.1 and 4.4.3. I guess no one has tried to compile this recently. Here's the patch: dtvtransplus_1.0_fix_includes.patch(should work for plain dtvtrans too...) Put that in the src/ directory and do: patch -p0 < dtvtransplus_1.0_fix_includes.patch ...and it should compile again.
|
|
|
Post by Espen Skog on Jan 25, 2010 4:34:17 GMT -5
UPDATE: I did a "make ARCH=linux" and then it overridden the override (hehe..) and compiled. And this is even when ARCH=linux was set in the Makefile.
Argh... anyway, now it is compiled and works (it seems)...I will try it out with the cable+dtv later.
//ESPEN
|
|