Executable won't run in /usr/bin
I have a small channel changing script for mythtv that someone else wrote in C. I compiled the executable in /opt. I then copied the executable to /usr/bin. The executable will run correctly with the following command:
Code:
/opt/./channelchange Code:
channelchange Code:
rom1394_0 warning: read failed: 0x0000fffff0000414 |
it looks like you hardcoded something into it
the paths to something in that build folder posting the build line you used would help . i am guessing that that "config rom directory" is in that /opt/?/? build folder |
The source code can be found here: http://ubuntuforums.org/showthread.php?t=712789
The code was modified for the model sa4250hdc cable box as described in the link. This is a firewire channel changer for the set top box. I am using an expansion card that has two firewire ports on it. When I run "/opt/./channelchanger -v" I get output similar to this: Code:
node 0: vendor_id = 0x00001106 model_id = 0x00000000 |
Well, I ended up just configuring mythtv to use the full command "/opt/./channelchange". It works. Still not sure why the executable in /usr/bin fails to work, but I can live with that mystery.
|
All times are GMT -5. The time now is 01:08 PM. |