On 10/04/2015 09:01 PM, 이창주 wrote: > Dear all tizen developers. > > > > I recently got a compile error with yocto. > > > > I have been trying to compile Tizen 3.0 with yocto these days. > > > > Can you see below error and give me a guide? > > > > | ../common/libsecurity-manager-commons.so.1.0.2: undefined reference to > `u_strcmp_54' > | ../common/libsecurity-manager-commons.so.1.0.2: undefined reference to > `u_strcasecmp_54' > | ../common/libsecurity-manager-commons.so.1.0.2: undefined reference to > `u_strFromWCS_54' > | collect2: error: ld returned 1 exit status > | make[2]: *** [src/server/security-manager] Error 1 > | make[2]: Leaving directory > `/home/changjoolee/project/yocto/poky/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/security-manager/0.2.0-r0/git' > | make[1]: *** [src/server/CMakeFiles/security-manager.dir/all] Error 2 > | make[1]: *** Waiting for unfinished jobs.... > | Linking CXX executable security-manager-cmd > | cd > /home/changjoolee/project/yocto/poky/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/security-manager/0.2.0-r0/git/src/cmd > && > /home/changjoolee/project/yocto/poky/rpi-build/tmp/sysroots/i686-linux/usr/bin/cmake > -E cmake_link_script CMakeFiles/security-manager-cmd.dir/link.txt > --verbose=1 > | > /home/changjoolee/project/yocto/poky/rpi-build/tmp/sysroots/i686-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ > > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard > -mfpu=neon-vfpv4 -mtune=cortex-a7 > --sysroot=/home/changjoolee/project/yocto/poky/rpi-build/tmp/sysroots/raspberrypi2 > > -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden > -fpermissive -g -std=c++0x -O2 -march=armv7-a -marm -mthumb-interwork > -mfloat-abi=hard -mfpu=neon-vfpv4 -mtune=cortex-a7 > --sysroot=/home/changjoolee/project/yocto/poky/rpi-build/tmp/sysroots/raspberrypi2 > > -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden > -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 > -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--rpath=/usr/lib > CMakeFiles/security-manager-cmd.dir/security-manager-cmd.cpp.o -o > security-manager-cmd -rdynamic > ../common/libsecurity-manager-commons.so.1.0.2 > ../client/libsecurity-manager-client.so.1.0.2 -lboost_program_options-mt > ../common/libsecurity-manager-commons.so.1.0.2 -lsystemd -lSLP-db-util > -lcynara-admin -lcynara-client-async -ltzplatform-config-static > -ltzplatform-config-2.0 -lsmack -lcap > | ../common/libsecurity-manager-commons.so.1.0.2: undefined reference to > `u_strcmp_54' > | ../common/libsecurity-manager-commons.so.1.0.2: undefined reference to > `u_strcasecmp_54' > | ../common/libsecurity-manager-commons.so.1.0.2: undefined reference to > `u_strFromWCS_54' > | collect2: error: ld returned 1 exit status > | make[2]: *** [src/cmd/security-manager-cmd] Error 1 > | make[2]: Leaving directory > `/home/changjoolee/project/yocto/poky/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/security-manager/0.2.0-r0/git' > | make[1]: *** [src/cmd/CMakeFiles/security-manager-cmd.dir/all] Error 2 > | make[1]: Leaving directory > `/home/changjoolee/project/yocto/poky/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/security-manager/0.2.0-r0/git' > | make: *** [all] Error 2 > | ERROR: oe_runmake failed > | WARNING: exit code 1 from a shell command. > | ERROR: Function failed: do_compile (log file is located at > /home/changjoolee/project/yocto/poky/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/security-manager/0.2.0-r0/temp/log.do_compile.29795)
can't say I've ever seen that failure, in quite a few builds. I believe the u_ functions being complained about come from the Unicode library, libicu. Can you check if something went wrong with your build of that? Of course, I don't see -licu in the link line above, which seems odd to begin with. _______________________________________________ Dev mailing list Dev@lists.tizen.org https://lists.tizen.org/listinfo/dev