bugLinux Kernel for laptops - Bugs: bug #3860, Linker ERROR


bug #3860: Linker ERROR

Submitted by:  None
Submitted on:  Wed 04 Jun 2003 01:53:18 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 09 Jun 2003 07:49:30 PM UTC, comment #2:

Nope, it's not GCC's fault. You prevent the loading of <linux/suspend.h> if CONFIG_SOFTWARE_SUSPEND is not set in kernel/sched.h . This is wrong since it is already taken care of inside linux/suspend.h which defines TASK_SUSPENDED as (0) if CONFIG_SOFTWARE_SUSPEND is not set (and a bunch of other things too). I know I should have sent a patch, but I'm too lazy...

Thu 05 Jun 2003 10:44:52 PM UTC, comment #1:

I think it's a problem with gcc3.3 or so. With gcc-2.95 i solved that.

Wed 04 Jun 2003 01:53:18 AM UTC, original submission:

kernel/kernel.o(.text+0x241): In function `schedule':
: undefined reference to `TASK_SUSPENDED'



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.3