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


bug #3860: Linker ERROR

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup

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


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.13-3cd0.
Corresponding source code