Загружается...
 

Ошибки сборки asterisk_13.5.0.bb: undefined reference to xmlFree

az@az:~/adk_yocto/nano6ull$ bitbake ull-java-image
Loading cache: 100% |#############################################################################################################| Time: 0:00:02
Loaded 3347 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################| Time: 0:00:02
Parsing of 2524 .bb files complete (2523 cached, 1 parsed). 3341 targets, 325 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "arm-fslc-linux-gnueabi"
MACHINE           = "adakta_nano6ull"
DISTRO            = "fslc-x11"
DISTRO_VERSION    = "2.3.2"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU        = "hard"
meta              
meta-poky         
meta-oe           
meta-multimedia   
meta-xfce         
meta-freescale    
meta-freescale-3rdparty 
meta-freescale-distro 
meta-browser      
meta-gnome        
meta-python       
meta-networking   
meta-adakta       = "HEAD:9592a338a58e05b58f041d309d37e4408e1d46e1"
meta-java         = "HEAD:0c27b120aa508e4bb41394b8dd3645949a611128"
meta-qt5          = "HEAD:9592a338a58e05b58f041d309d37e4408e1d46e1"
meta-telephony    = "HEAD:9e50dbdd1ee672494758d29482444cf40a36d1ba"

Initialising tasks: 100% |#############################################################################################################| Time: 0:00:25
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: asterisk-13.5.0-r0 do_compile: oe_runmake failed
ERROR: asterisk-13.5.0-r0 do_compile: Function failed: do_compile (log file is located at /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/temp/log.do_compile.26400)
ERROR: Logfile of failure stored in: /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/temp/log.do_compile.26400
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 2
| CC="cc" CXX="arm-fslc-linux-gnueabi-g++  -march=armv7-a -mthumb -mfpu=neon  -mfloat-abi=hard --sysroot=/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot" LD="" AR="" RANLIB="" CFLAGS="-isystem/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe" LDFLAGS="-L/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -L/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-O1" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
| make[1]: Entering directory '/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect'
| gcc -isystem/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall    -c -o menuselect.o menuselect.c
| gcc -isystem/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
| Generating input for menuselect ...
| menuselect.c: In function ‘generate_makeopts_file’:
| menuselect.c:1589:6: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
|       system(touchcommand);
|       ^
| menuselect.c:1598:6: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
|       system(rmcommand);
|       ^
| menuselect.c:1608:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
|      system(touchcommand);
|      ^
| menuselect.c:1617:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
|      system(rmcommand);
|      ^
| gcc -isystem/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
| gcc -L/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -L/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-O1 -o menuselect menuselect.o strcompat.o menuselect_stub.o
| menuselect.o: In function `free_reference':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:194: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:195: undefined reference to `xmlFree'
| menuselect.o: In function `process_xml_replacement_node':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:335: undefined reference to `xmlNodeGetContent'
| menuselect.o: In function `process_xml_supportlevel_node':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:322: undefined reference to `xmlNodeGetContent'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:325: undefined reference to `xmlFree'
| menuselect.o: In function `process_xml_defaultenabled_node':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:311: undefined reference to `xmlNodeGetContent'
| menuselect.o: In function `free_member':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:218: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:219: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:220: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:221: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:222: undefined reference to `xmlFree'
| menuselect.o:/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:223: more undefined references to `xmlFree' follow
| menuselect.o: In function `process_xml_ref_node':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:354: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:360: undefined reference to `xmlNodeGetContent'
| menuselect.o: In function `main':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:1967: undefined reference to `xmlCheckVersion'
| menuselect.o: In function `parse_tree':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:592: undefined reference to `xmlParseFile'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:597: undefined reference to `xmlDocGetRootElement'
| menuselect.o: In function `process_xml_menu_node':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:558: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:567: undefined reference to `xmlStrcmp'
| menuselect.o: In function `process_xml_category_node':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:497: undefined reference to `xmlGetProp'
| menuselect.o: In function `category_find_or_create':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:172: undefined reference to `xmlFree'
| menuselect.o: In function `process_xml_category_node':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:505: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:506: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:510: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:511: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:515: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:516: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:520: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:522: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:525: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:527: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:535: undefined reference to `xmlStrcmp'
| menuselect.o:ERROR: oe_runmake failed
|  In function `process_xml_member_node':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:441: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:442: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:443: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:444: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:445: undefined reference to `xmlCharStrdup'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:447: undefined reference to `xmlGetProp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:448: undefined reference to `xmlStrcasecmp'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:449: undefined reference to `xmlFree'
| menuselect.o: In function `parse_tree':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:605: undefined reference to `xmlFreeDoc'
| menuselect.o: In function `free_trees':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:1674: undefined reference to `xmlFreeDoc'
| menuselect.o: In function `free_category':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:479: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:480: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:481: undefined reference to `xmlFree'
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:482: undefined reference to `xmlFree'
| menuselect.o: In function `main':
| /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect/menuselect.c:2146: undefined reference to `xmlCleanupParser'
| collect2: error: ld returned 1 exit status
| Makefile:102: recipe for target 'menuselect' failed
| make[1]: *** [menuselect] Error 1
| make[1]: Leaving directory '/home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect'
| Makefile:950: recipe for target 'menuselect/menuselect' failed
| make: *** [menuselect/menuselect] Error 2
| make: *** Waiting for unfinished jobs....
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/az/adk_yocto/nano6ull/tmp/work/armv7at2hf-neon-mx6ul-fslc-linux-gnueabi/asterisk/13.5.0-r0/temp/log.do_compile.26400)
ERROR: Task (/home/az/adk_yocto/sources/meta-telephony/recipes-asterisk/asterisk/asterisk_13.5.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6105 tasks of which 6098 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /home/az/adk_yocto/sources/meta-telephony/recipes-asterisk/asterisk/asterisk_13.5.0.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


Решение:

sources/meta-telephony/recipes-asterisk/asterisk/asterisk_13.5.0.bb

-DEPENDS += "jansson sqlite3 libedit alsa-lib util-linux"
+DEPENDS += "jansson sqlite3 libedit alsa-lib util-linux libxml2"