[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compilation problem with Bash 3.1

From: Jean-Baptiste Wons
Subject: Compilation problem with Bash 3.1
Date: Tue, 3 Oct 2006 22:24:27 +0100 (BST)


I am trying to compile bash for my own kernel (http://www.barbux.net)

But I have a slight problem:

In file, nojobs.c, line 235
  return (get_termsig (pid_list[i].status));

That line does not compile because get_termsig is waiting a WAIT parameter.
static int get_termsig (WAIT status);

but, pid_list is a struct proc_status
static struct proc_status *pid_list = (struct proc_status *)NULL;

and struct proc_status::status is an int, not a WAIT
struct proc_status {
  pid_t pid;
  int status; /* Exit status of PID or 128 + fatal signal number */
  int flags;

Any clues on that point ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]