Re: implicid declaration of function task_suspended - Was: [PATCHSET] 2.4.21-rc6-dis3 released

Nigel Cunningham
2003-06-12T11:30:28Z

TASK_SUSPENDED is a swsusp macro. What version of swsusp do you have
included in your kernel? (There were some compile problems fixed a while
ago - you probably have a version pre then).

Regards,

Nigel

On Thu, 2003-06-12 at 21:37, Martin List-Petersen wrote:
> I tried to compile this (both on rc6 and rc7) and the compile fails with:
>
> kernel/kernel.o(.text+0x2d8): In function 'schedule':
> : undefined reference to 'TASK_SUSPENDED'
> kernel/kernel.o(.text+0x392): In function 'schedule':
> : undefined reference to 'TASK_SUSPENDED'
>
> The compile allready stated in the beginning:
> sched.c: In function 'schedule':
> sched.c:611: implicit declaration of function 'TASK_SUSPENDED'
>
> Any idea's what i can leave out to avoid these failures ?
>
> Regards,
> Martin List-Petersen
> martin at list-petersen dot dk
> --
> Q: What do you get when you cross the Godfather with an attorney?
> A: An offer you can't understand.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand

You see, at just the right time, when we were still powerless,
Christ died for the ungodly.
-- Romans 5:6, NIV.