[#5943] Build latest kernel will fail after make clean

Document created by Aaronwu Employee on Sep 10, 2013
Version 1Show Document
  • View in full screen mode

[#5943] Build latest kernel will fail after make clean

Submitted By: Vivi Li

Open Date

2010-03-04 23:28:43     Close Date

2010-03-09 22:01:02

Priority:

Medium     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

Make Errors     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Jan_22

App binary format:

N/A     

Summary: Build latest kernel will fail after make clean

Details:

 

Make clean in linux kernel, then build kernel will fail as asm-offsets.h is missing.

 

--

  AS      arch/blackfin/kernel/entry.o^M

arch/blackfin/kernel/entry.S:11:29: error: asm/asm-offsets.h: No such file or directory^M

make[2]: *** [arch/blackfin/kernel/entry.o] Error 1^M

--

 

Follow-ups

 

--- Mike Frysinger                                           2010-03-05 04:54:21

i think your tree did not update completely

 

$ cat arch/blackfin/include/asm/asm-offsets.h

#include <generated/asm-offsets.h>

 

--- Mingquan Pan                                             2010-03-07 22:52:21

Yeah, this file exists, however somehow it shows this issue.

Anyway, doing a complete svn checkout, kernel can build.

So close.

 

--- Vivi Li                                                  2010-03-09 05:12:15

File arch/blackfin/include/asm/asm-offsets.h is removed during make clean.

So make will fail after make clean.

 

--

test@uclinux52:~/work/cruise/checkouts/uclinux-dist/linux-2.6.x> svn stat

test@uclinux52:~/work/cruise/checkouts/uclinux-dist/linux-2.6.x> make clean

  CLEAN   /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x

  CLEAN   arch/blackfin/kernel

  CLEAN   kernel

  CLEAN   usr

  CLEAN   .tmp_versions

  CLEAN   arch/blackfin/include/asm/asm-offsets.h

test@uclinux52:~/work/cruise/checkouts/uclinux-dist/linux-2.6.x> svn stat

!      arch/blackfin/include/asm/asm-offsets.h

--

 

--- Mike Frysinger                                           2010-03-09 08:39:18

thanks ... it should be fixed now

 

--- Vivi Li                                                  2010-03-09 21:59:58

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes