[#7294] build mcapi kernel on bf561 fails at protocol.c
Submitted By: Mingquan Pan
Open Date
2012-08-29 03:57:39 Close Date
2012-09-06 22:39:00
Priority:
Medium Assignee:
steven miao
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
BF561 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
N/A
Uboot version or rev.:
Toolchain version or rev.:
ADI-2011R1-RC2
App binary format:
N/A
Summary: build mcapi kernel on bf561 fails at protocol.c
Details:
build mcapi kernel on bf561 fails at protocol.c now.
make[6]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/libmcapi_coreb'
make -C build-libmcapi-2.0 install DESTDIR=/home/test/work/cruise/checkouts/uclinux-dist/staging
make[6]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/libmcapi_coreb/build-libmcapi-2.0'
make[7]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/libmcapi_coreb/build-libmcapi-2.0'
test -z "/usr/lib" || /bin/mkdir -p "/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib"
test -z "/usr/include/mcapi-2.0_coreb" || /bin/mkdir -p "/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include/mcapi-2.0_coreb"
protocol.c: In function ‘get_free_buffer’:
protocol.c:55: warning: return makes pointer from integer without a cast
protocol.c: In function ‘init_sm_session_table’:
protocol.c:71: warning: assignment makes pointer from integer without a cast
protocol.c: In function ‘sm_index_to_session’:
protocol.c:139: warning: passing argument 2 of ‘test_bit’ from incompatible pointer type
protocol.c: In function ‘sm_send_message_internal’:
protocol.c:162: error: ‘IRQ_SUPPLE_0’ undeclared (first use in this function)
protocol.c:162: error: (Each undeclared identifier is reported only once
protocol.c:162: error: for each function it appears in.)
protocol.c: In function ‘sm_alloc_session’:
protocol.c:169: warning: passing argument 1 of ‘find_next_zero_bit’ from incompatible pointer type
protocol.c:172: warning: passing argument 1 of ‘bitmap_set’ from incompatible pointer type
protocol.c: In function ‘sm_free_session’:
protocol.c:181: warning: passing argument 2 of ‘__clear_bit’ from incompatible pointer type
protocol.c: In function ‘sm_find_session’:
protocol.c:192: warning: passing argument 1 of ‘find_next_bit’ from incompatible pointer type
protocol.c:192: warning: passing argument 1 of ‘find_next_bit’ from incompatible pointer type
protocol.c: In function ‘sm_register_session_handler’:
protocol.c:247: warning: assignment from incompatible pointer type
protocol.c: In function ‘sm_handle_control_message’:
protocol.c:394: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libmcapi_coreb.la' '/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/libmcapi_coreb.la'
protocol.c: In function ‘sm_recv_release’:
protocol.c:629: warning: comparison between pointer and integer
protocol.c: In function ‘sm_send_packet’:
protocol.c:707: warning: passing argument 1 of ‘check_buffer_inpool’ makes integer from pointer without a cast
protocol.c:713: warning: assignment makes integer from pointer without a cast
protocol.c:714: warning: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast
protocol.c:716: warning: assignment makes integer from pointer without a cast
protocol.c:734: warning: passing argument 1 of ‘free_buffer’ makes integer from pointer without a cast
protocol.c: In function ‘sm_recv_packet’:
protocol.c:829: warning: assignment makes pointer from integer without a cast
protocol.c: At top level:
protocol.c:1033: warning: initialization from incompatible pointer type
protocol.c:1040: warning: initialization from incompatible pointer type
protocol.c:1047: warning: initialization from incompatible pointer type
protocol.c:1054: warning: initialization from incompatible pointer type
protocol.c: In function ‘icc_wait’:
protocol.c:1154: warning: this decimal constant is unsigned only in ISO C90
make[5]: *** [protocol.o] Error 1
make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/icc_utils/icc_core'
make[4]: *** [icc] Error 2
make[4]: *** Waiting for unfinished jobs....
/usr/bin/install -c -m 644 '/home/test/work/cruise/checkouts/uclinux-dis
Follow-ups
--- steven miao 2012-09-06 23:28:05
build can pass
--- Mingquan Pan 2012-09-06 23:39:10
It can pass now. Close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found