bugLinux Kernel for laptops - Bugs: bug #3946, Errors compiling with gcc 3.3

 
 

bug #3946: Errors compiling with gcc 3.3

Submitter:  Invalid User ID <#19860>
Submitted:  Wed 11 Jun 2003 10:11:37 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
   

Wed 11 Jun 2003 10:11:37 AM UTC, original submission:  

Problems compiling with gcc 3.3-23 (EuSE)

Workaround for the 2 bugs

1. Software Suspend [] (Known Error)
kernel/kernel.o(.text+0x2b4): In function `schedule':
: undefined reference to `TASK_SUSPENDED'
make: * [vmlinux] Error 1

2. Software Suspend [*] (Known Error)

sched.c: In function `schedule':
sched.c:709: internal compiler error: in

---------------

workaround:

cp linux-2.4.21-rc4/kernel/sched.c     linux-2.4.21-rc4-laptop1/kernel/sched.c

make bzImage
compiles and links without error.

make modules

new Errors

1. Error:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-rc4-laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-rc4-laptop1/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=i830_dma  -c -o i830_dma.o i830_dma.c

 ...

i830_dma.c: In function `i830_unmap_buffer':
i830_dma.c:204: error: too many arguments to function `do_munmap_R8b8377e8'

2. Error

gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-rc4-laptop1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-rc4-laptop1/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=acpiphp_glue  -c -o acpiphp_glue.o acpiphp_glue.c
acpiphp_glue.c: In function `find_host_bridge':
acpiphp_glue.c:815: warning: passing arg 2 of `acpi_get_object_info_R4d2dc830' from incompatible pointer type
acpiphp_glue.c:821: error: subscripted value is neither array nor pointer
acpiphp_glue.c:826: error: incompatible type for argument 1 of `strcmp'

Invalid User ID <#19860>

 

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

Attach Files:
   
   
Comment:
   

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-f8d8.
Corresponding source code