[mythtv-commits] Ticket #7671: sa_control for Scientific Atlanta boxes, works for the 4250HDC too
MythTV
mythtv at cvs.mythtv.org
Sun Dec 20 22:08:44 UTC 2009
#7671: sa_control for Scientific Atlanta boxes, works for the 4250HDC too
----------------------------------------+-----------------------------------
Reporter: mpurschke@… | Owner: mdean
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: Contributed Scripts & Apps | Version: 0.22-fixes
Severity: medium | Mlocked: 0
----------------------------------------+-----------------------------------
Comment(by skd5aner <skd5aner@…>):
Replying to [comment:3 mpurschke@…]:
> Tiny change (thanks for the feedback, skd5aner). I had used the uint8_t
data type which works fine on my systems but is not portable. The new
version uses the __uint8_t type as it should be. The md5sum of the new
file is c6bf80d64b126d3cc717f11ebf4c5727.
Thanks for working on this, just had some time to test again - and still
seeing errors when compiling. If it helps, I'm using Ubuntu 9.10 and g++
(Ubuntu 4.4.1-4ubuntu8) 4.4.1:
{{{
g++ -o sa_control sa_control.cc -lrom1394 -lavc1394 -lraw1394
sa_control.cc: In function âint SendAVCCommand(const std::vector<unsigned
char, std::allocator<unsigned char> >&, std::vector<unsigned char,
std::allocator<unsigned char> >&, int, raw1394_handle*&)â:
sa_control.cc:318: error: âuint32_tâ was not declared in this scope
sa_control.cc:318: error: expected â;â before âcmdbufâ
sa_control.cc:329: error: âcmdbufâ was not declared in this scope
sa_control.cc:334: error: âretâ was not declared in this scope
sa_control.cc:334: error: âcmdbufâ was not declared in this scope
sa_control.cc: In function âint main(int, char**)â:
sa_control.cc:464: error: âEOFâ was not declared in this scope
sa_control.cc:474: error: âsscanfâ was not declared in this scope
sa_control.cc:502: error: âsscanfâ was not declared in this scope
sa_control.cc:513: error: âstderrâ was not declared in this scope
sa_control.cc:513: error: âfprintfâ was not declared in this scope
sa_control.cc:517: error: âperrorâ was not declared in this scope
sa_control.cc:518: error: âstderrâ was not declared in this scope
sa_control.cc:518: error: âfprintfâ was not declared in this scope
sa_control.cc:526: error: âperrorâ was not declared in this scope
sa_control.cc:536: error: âstderrâ was not declared in this scope
sa_control.cc:536: error: âfprintfâ was not declared in this scope
}}}
Again - happy to give this a test run if you can get it to a compilable
state. :) Unfortunately, I am not a dev.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7671#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list