FAQ: [#6846] Fail to build ircp app in fdpic format(2011)

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

[#6846] Fail to build ircp app in fdpic format

Submitted By: Vivi Li

Open Date

2011-10-26 01:10:16     Close Date

2011-11-02 04:38:25

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2011R1-RC2

App binary format:

FDPIC     

Summary: Fail to build ircp app in fdpic format

Details:

 

Fail to build ircp app in fdpic format.

 

--

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src -I.. -I/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2  -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c /home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp.c

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp.c: In function 'ircp_info_cb':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp.c:14: warning: implicit declaration of function 'printf'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp.c:14: warning: incompatible implicit declaration of built-in function 'printf'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp.c: In function 'main':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp.c:71: warning: incompatible implicit declaration of built-in function 'printf'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp.c:89: warning: incompatible implicit declaration of built-in function 'printf'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp.c:97: warning: incompatible implicit declaration of built-in function 'printf'

bfin-linux-uclibc-gcc  -pipe -Wall -g -O2      -mcpu=bf537-0.2 -mcpu=bf537-0.2 -o ircp  ircp.o libircp.a -lopenobex

libircp.a(ircp_client.o): In function `cli_sync_request':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:116: undefined reference to `_OBEX_Request'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:119: undefined reference to `_OBEX_HandleInput'

libircp.a(ircp_client.o): In function `ircp_setpath':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:301: undefined reference to `_OBEX_ObjectNew'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:320: undefined reference to `_OBEX_ObjectSetNonHdrData'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:313: undefined reference to `_OBEX_CharToUnicode'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:316: undefined reference to `_OBEX_ObjectAddHeader'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:310: undefined reference to `_OBEX_ObjectDelete'

libircp.a(ircp_client.o): In function `ircp_cli_disconnect':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:243: undefined reference to `_OBEX_ObjectNew'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:251: undefined reference to `_OBEX_TransportDisconnect'

libircp.a(ircp_client.o): In function `ircp_cli_connect':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:212: undefined reference to `_IrOBEX_TransportConnect'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:219: undefined reference to `_OBEX_ObjectNew'

libircp.a(ircp_client.o): In function `ircp_cli_close':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:180: undefined reference to `_OBEX_Cleanup'

libircp.a(ircp_client.o): In function `ircp_cli_open':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:153: undefined reference to `_OBEX_Init'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:159: undefined reference to `_OBEX_SetUserData'

libircp.a(ircp_client.o): In function `cli_obex_event':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:78: undefined reference to `_OBEX_GetUserData'

libircp.a(ircp_client.o): In function `cli_fillstream':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_client.c:63: undefined reference to `_OBEX_ObjectAddHeader'

libircp.a(ircp_server.o): In function `ircp_srv_close':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:321: undefined reference to `_OBEX_Cleanup'

libircp.a(ircp_server.o): In function `ircp_srv_open':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:302: undefined reference to `_OBEX_Init'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:309: undefined reference to `_OBEX_SetUserData'

libircp.a(ircp_server.o): In function `new_file':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:214: undefined reference to `_OBEX_ObjectGetNextHeader'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:218: undefined reference to `_OBEX_UnicodeToChar'

libircp.a(ircp_server.o): In function `ircp_srv_receive':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:263: undefined reference to `_OBEX_ObjectReadStream'

libircp.a(ircp_server.o): In function `new_file':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:228: undefined reference to `_OBEX_ObjectSetRsp'

libircp.a(ircp_server.o): In function `ircp_srv_setpath':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:141: undefined reference to `_OBEX_ObjectGetNonHdrData'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:147: undefined reference to `_OBEX_ObjectGetNextHeader'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:151: undefined reference to `_OBEX_UnicodeToChar'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:196: undefined reference to `_OBEX_ObjectSetRsp'

libircp.a(ircp_server.o): In function `ircp_srv_sync_wait':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:116: undefined reference to `_OBEX_HandleInput'

libircp.a(ircp_server.o): In function `ircp_srv_recv':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:342: undefined reference to `_IrOBEX_ServerRegister'

libircp.a(ircp_server.o): In function `srv_obex_event':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:24: undefined reference to `_OBEX_GetUserData'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:81: undefined reference to `_OBEX_ObjectSetRsp'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:86: undefined reference to `_OBEX_ObjectSetRsp'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:72: undefined reference to `_OBEX_ObjectSetRsp'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_server.c:74: undefined reference to `_OBEX_ObjectReadStream'

libircp.a(ircp_io.o): In function `build_object_from_file':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_io.c:51: undefined reference to `_OBEX_ObjectNew'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_io.c:60: undefined reference to `_OBEX_CharToUnicode'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_io.c:63: undefined reference to `_OBEX_ObjectAddHeader'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_io.c:67: undefined reference to `_OBEX_ObjectAddHeader'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_io.c:77: undefined reference to `_OBEX_ObjectAddHeader'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/ircp-0.3/src/ircp_io.c:85: undefined reference to `_OBEX_ObjectDelete'

collect2: ld returned 1 exit status

make[6]: *** [ircp] Error 1

make[6]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/ircp/build-ircp-0.3/src'

--

 

Follow-ups

 

--- Sonic Zhang                                              2011-10-26 02:52:54

Fixed. Add --shared into link flags when building FDPIC binary.

 

--- Vivi Li                                                  2011-11-02 04:47:25

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