Article [#7214] build mmap kernel fail at mmap_test/simple.c(2012)

[#7214] build mmap kernel fail at mmap_test/simple.c

Submitted By: Mingquan Pan

Open Date

2012-07-30 04:38:54     Close Date

2012-08-15 04:41:47

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

2011r1-rc4

App binary format:

N/A     

Summary: build mmap kernel fail at mmap_test/simple.c

Details:

build mmap kernel fail at mmap_test/simple.c now.

est -z "/usr/share/man/man8" || /bin/mkdir -p "/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/share/man/man8"^M

  GEN     /home/test/work/cruise/checkouts/uclinux-dist/user/busybox/build-busybox-1.18.4/Makefile^M

        INSTALL //sbin/e2fsck^M

/usr/bin/install -c -m 644 '/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/inetutils/inetutils-1.6/rshd/rshd.8' '/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/share/man/man8/rshd.8'^M

        LINK //sbin/fsck.ext2^M

        LINK //sbin/fsck.ext3^M

        LINK //sbin/fsck.ext4^M

make[7]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/inetutils/build-inetutils-1.6/rshd'^M

make[6]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/inetutils/build-inetutils-1.6/rshd'^M

Making install in rlogind^M

        LINK //sbin/fsck.ext4dev^M

        INSTALL_DATA /usr/share/man/man8/e2fsck.8^M

make[6]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/inetutils/build-inetutils-1.6/rlogind'^M

make[7]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/inetutils/build-inetutils-1.6/rlogind'^M

make[7]: Nothing to be done for `install-exec-am'.^M

test -z "/usr/libexec" || /bin/mkdir -p "/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/libexec"^M

test -z "/usr/share/man/man8" || /bin/mkdir -p "/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/share/man/man8"^M

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-test/mmap_test/simple.c:49: error: static declaration of ‘simple_open’ follows non-static declaration^M

include/linux/fs.h:2548: error: previous declaration of ‘simple_open’ was here^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^M

make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

Follow-ups

--- Bob Liu                                                  2012-08-06 05:49:40

fixed, rename simple_open

--- Mingquan Pan                                             2012-08-15 05:40:28

Yes, it builds and passes ok.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.