[#4465] Build mmap_test failed at missing nopage in vm_operations_struct

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

[#4465] Build mmap_test failed at missing nopage in vm_operations_struct

Submitted By: Vivi Li

Open Date

2008-10-09 03:14:56     Close Date

2008-10-14 06:02:55

Priority:

Medium     Assignee:

Vivi Li

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain Sep. 23

App binary format:

N/A     

Summary: Build mmap_test failed at missing nopage in vm_operations_struct

Details:

 

Build mmap_test failed at missing nopage in vm_operations_struct.

 

--

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test/simple.c: In function ‘simple_vma_nopage’:^M

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test/simple.c:142: error: ‘NOPAGE_SIGBUS’ undeclared (first use in this function)^M

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test/simple.c:142: error: (Each undeclared identifier is reported only once^M

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test/simple.c:142: error: for each function it appears in.)^M

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test/simple.c: At top level:^M

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test/simple.c:156: error: unknown field ‘nopage’ specified in initializer^M

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test/simple.c:156: warning: initialization from incompatible pointer type^M

make[6]: *** [/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test/simple.o] Error 1^M

make[5]: *** [_module_/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test] Error 2

--

 

Follow-ups

 

--- Vivi Li                                                  2008-10-14 06:02:55

nopage is deleted from structure vm_operations_struct in mm.h due to kernel

update.

Delete nopage related part in simple.c and update mmap test scripts.

Should be fix now.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes