PDA

View Full Version : [ubuntu] installing a program that has kill_proc in it



kennydidit
December 28th, 2008, 12:07 PM
I am trying to install a program that has kill_proc in it. Is there any thing I can do as far as replacing that function?
Here is the error I am getting:

/home/ken/Desktop/dmx4linux-2008-10-07/drivers/devices/usb/usb2dmx.c: In function ‘usb2dmx_delete_interface’:

/home/ken/Desktop/dmx4linux-2008-10-07/drivers/devices/usb/usb2dmx.c:308: error: implicit declaration of function ‘kill_proc’

and here is the line that it is referring too: I think

if (u2d_if->thread_pid > 0) /* we don't want to kill init */

{

printk ("attempting to kill usb2dmx-thread pid=%d\n", u2d_if->thread_pid);

ret = kill_proc(u2d_if->thread_pid, SIGTERM, 1);

if (ret)
The program is dmx4linux I am running unbuntu8.10
If anyone can help it would be greatly appreciated

Partyboi2
December 28th, 2008, 12:31 PM
Have you tried installing a deb version of it instead of compiling it?
http://packages.debian.org/etch/dmx4linux-tools

kennydidit
December 28th, 2008, 10:15 PM
yes I have the dmx4linux tools installed, I found that file some time ago and I just rechecked to make sure I had it and I do, but I still cannot get this file to run.