i'm facing problem with using yocto for fslimage bitbake.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i'm facing problem with using yocto for fslimage bitbake.

899件の閲覧回数
dsfaf
Contributor I

when i use yocto for making linux image, the system shows:

| ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_xor_4'

| ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_sub_4'

| ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_add_4'

| ./.libs/libglib-2.0.so: undefined reference to `__sync_bool_compare_and_swap_4'

| ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_or_4'

| ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_and_4'

| collect2: ld returned 1 exit status

| make[4]: *** [gtester] Error 1

| make[4]: Leaving directory `/home/zhd/fsl-arm-yocto-bsp/build/tmp/work/i686-linux/glib-2.0-native/1_2.36.4-r0/build/glib'

| make[3]: *** [all-recursive] Error 1

i 've searched the solution on the internet. they said it was caused because of my gcc version.

but i find :

[root@localhost tmp]# yum install gcc

Loaded plugins: fastestmirror

Repository base is listed more than once in the configuration

Repository update is listed more than once in the configuration

Repository addons is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

Repository contrib is listed more than once in the configuration

Repository testing is listed more than once in the configuration

Loading mirror speeds from cached hostfile

* epel: mirror01.idc.hinet.net

Setting up Install Process

Package gcc-4.1.2-55.el5.i386 already installed and latest version

Nothing to do

[root@localhost tmp]#

so i think it's not because of my gcc version.

who can help me?

thanks a lot!

zhong

ラベル(3)
0 件の賞賛
返信
1 返信

777件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Zhong,

Would you please provide more details on your setup? Are you using the FSL BSP Release or the FSl Community BSP and for which board are you building?

0 件の賞賛
返信