[#4382] build microwin fails at microwin/src/nanox/client.c for no asm/page.h
Submitted By: Mingquan Pan
Open Date
2008-08-22 06:41:06 Close Date
2009-01-09 01:25:47
Priority:
Medium High Assignee:
Yi 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.:
trunk head toolchain
App binary format:
N/A
Summary: build microwin fails at microwin/src/nanox/client.c for no asm/page.h
Details:
build microwin fails at microwin/src/nanox/client.c for no asm/page.h.
Compiling nanox/nxtransform.c ...
Compiling nanox/client.c ...
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rClose鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:446: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rGetScreenInfo鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:554: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rPrepareSelect鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:755: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥榑GrPeekEvent鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:1068: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rCheckNextEvent鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:1137: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rNewGC鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:1438: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rNewRegion鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:1501: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rGetFocus鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:2116: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rCreateFont鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:2545: warning: pointer targets in assignment differ in signedness
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:2547: warning: pointer targets in passing argument 1 of 鈥榮trlen鈥�differ in signedness
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:2549: warning: pointer targets in passing argument 2 of 鈥榮trcpy鈥�differ in signedness
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rGetSystemPalette鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:3685: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rSetWMProperties鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:3879: warning: pointer targets in passing argument 1 of 鈥榮trlen鈥�differ in signedness
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rSetSelectionOwner鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:4021: warning: pointer targets in passing argument 1 of 鈥榮trlen鈥�differ in signedness
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rBell鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:4166: warning: value computed is not used
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c: In function 鈥楪rCreateFontFromBuffer鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/client.c:4704: warning: pointer targets in passing argument 1 of 鈥榮trncpy鈥�differ in signedness
Compiling nanox/nxproto.c ...
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/nxproto.c: In function 鈥榥xAssignReqbuffer鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/nxproto.c:78: warning: pointer targets in assignment differ in signedness
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/nxproto.c: In function 鈥榥xFlushReq鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/nxproto.c:119: warning: pointer targets in initialization differ in signedness
Compiling nanox/error.c ...
Compiling nanox/clientfb.c ...
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/clientfb.c:13:57: error: asm/page.h: No such file or directory
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/clientfb.c: In function 鈥楪rOpenClientFramebuffer鈥�
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/clientfb.c:102: error: 鈥楶AGE_SIZE鈥�undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/clientfb.c:102: error: (Each undeclared identifier is reported only once
/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox/clientfb.c:102: error: for each function it appears in.)
make[5]: *** [/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/obj/nanox/clientfb.o] Error 1
make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox'
make[4]: *** [subdir-/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src/nanox] Error 2
make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/microwin/src'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/microwin'
make[2]: *** [microwin] Error 2
make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'
make: *** [subdirs] Error 1
Follow-ups
--- Yi Li 2008-12-24 02:46:34
"uclinux-dist/user/microwin/src/nanox/client.c" includes asm/page.h
because it wants to use "PAGE_SIZE" defined in asm/page.h. However,
asm/page.h is missing from newer uclibc in SVN trunk. Are there any other
headers to use instead of using asm/page.h, or using "PAGE_SIZE" in
user space is illegal?
Mike may have insights.
--- Mike Frysinger 2008-12-24 07:09:31
use sysconf(_SC_PAGE_SIZE)
www.opengroup.org/onlinepubs/9699919799/functions/sysconf.html
--- Yi Li 2009-01-07 03:46:14
Fixed in SVN trunk.
--- Mingquan Pan 2009-01-09 01:25:47
Yes,close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.microwin application/octet-stream 31004 Mingquan Pan