Sir i  want to compile linphone with yocto kirkstone , I use this link to
download and start linphone compilation .
i use this link for yocto kirkstone download and compile for phytech imx6ul
board --
https://www.phytec.de/cdocuments/?doc=PoDEHw&_ga=2.233664984.719943283.1691055148-1595945362.1691055073

and for linphone compilation i use this link ---
https://wiki.linphone.org/xwiki/wiki/public/view/Linphone/Building%20Linphone%20with%20Yocto/


i got  error    when i make changes in this thag from off to on  because of
requirement


CONSOLE_UI=ON


THE ERROR IS
| FAILED: console/CMakeFiles/linphonec.dir/commands.c.o
| /usr/bin/ccache
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/recipe-sysroot-native/usr/bin/arm-phytec-linux-gnueabi/arm-phytec-linux-gnueabi-gcc
-DCXX_WRAPPER_ENABLED -DHAVE_CONFIG_H -DHAVE_SQLITE -DHAVE_XML2
-DVCARD_ENABLED
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/coreapi
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/include
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/src
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/build/WORK/desktop/Build/linphone
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/build/WORK/desktop/Build/linphone/coreapi
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/linphone-sdk/desktop/opt/belledonne-communications/include
-mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed
-fmacro-prefix-map=/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0=/usr/src/debug/linphone-sdk/latest-r0.0
-fdebug-prefix-map=/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0=/usr/src/debug/linphone-sdk/latest-r0.0


| In file included from
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/commands.c:29:
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:93:32:
error: unknown type name 'LinphoneCore'
|    93 | typedef int (*lpc_cmd_handler)(LinphoneCore *, char *);
|       |                                ^~~~~~~~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:96:9:
error: unknown type name 'lpc_cmd_handler'
|    96 |         lpc_cmd_handler func; /* Function to call to do the job.
*/
|       |         ^~~~~~~~~~~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:104:9:
error: unknown type name 'bool_t'
|   104 |         bool_t show;
|       |         ^~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:105:9:
error: unknown type name 'bool_t'
|   105 |         bool_t refresh;
|       |         ^~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:117:41:
error: unknown type name 'LinphoneCore'
|   117 | extern int linphonec_parse_command_line(LinphoneCore *lc, char
*cl);
|       |                                         ^~~~~~~~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:122:31:
error: unknown type name 'bool_t'
|   122 | void linphonec_set_autoanswer(bool_t enabled);
|       |                               ^~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:123:1:
error: unknown type name 'bool_t'
|   123 | bool_t linphonec_get_autoanswer(void);
|       | ^~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:126:1:
error: unknown type name 'LinphoneCall'
|   126 | LinphoneCall *linphonec_get_call(int id);
|       | ^~~~~~~~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:127:30:
error: unknown type name 'LinphoneCall'
|   127 | void linphonec_call_identify(LinphoneCall *call);
|       |                              ^~~~~~~~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/linphonec.h:129:8:
error: unknown type name 'bool_t'
|   129 | extern bool_t linphonec_camera_enabled;
|       |        ^~~~~~
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/commands.c:245:21:
error: 'lpc_cmd_handler' undeclared here (not in a function); did you mean
'lpc_cmd_answer'?
|   245 |     {(char *)NULL, (lpc_cmd_handler)NULL, (char *)NULL, (char
*)NULL}};
|       |                     ^~~~~~~~~~~~~~~
|       |                     lpc_cmd_answer
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/commands.c:
In function 'linphonec_parse_command_line':
|
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/console/commands.c:376:14:
error: called object is not a function or function pointer
|   376 |         if (!cmd->func(lc, args)) {
|       |              ^~~
| [283/429] /usr/bin/ccache
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/recipe-sysroot-native/usr/bin/arm-phytec-linux-gnueabi/arm-phytec-linux-gnueabi-g++
-DCXX_WRAPPER_ENABLED -DHAVE_CONFIG_H -DHAVE_SQLITE -DHAVE_XML2
-DVCARD_ENABLED
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/coreapi
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/include
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/src
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/build/WORK/desktop/Build/linphone
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/build/WORK/desktop/Build/linphone/coreapi
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/daemon
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/linphone-sdk/desktop/opt/belledonne-communications/include
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/linphone-sdk/desktop/opt/belledonne-communications/include/belle-sip
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/liblinphone/libxsd
-I/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/recipe-sysroot/usr/include/libxml2
-mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed
-fmacro-prefix-map=/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0=/usr/src/debug/linphone-sdk/latest-r0.0
-fdebug-prefix-map=/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0=/usr/src/debug/linphone-sdk/latest-r0.0
-fdebug-prefix-map=/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/recipe-sysroot=
-fdebug-prefix-map=/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/recipe-sysroot-native=
-Wl,-z,relro,-z,now -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2
-Wformat -Wformat-security -Werror=format-security
--sysroot=/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/recipe-sysroot
-O2 -pipe -g -feliminate-unused-debug-types
-fmacro-prefix-map=/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0=/usr/src/debug/linphone-sdk/latest-r0.0


/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/linphone-sdk/desktop/opt/belledonne-communications/lib/libbelr.so.1
/home/imx6ul/build/tmp/work/cortexa7t2hf-neon-vfpv4-phytec-linux-gnueabi/linphone-sdk/latest-r0.0/git/linphone-sdk/desktop/opt/belledonne-communications/lib/libbctoolbox.so.1
&& :
| ninja: build stopped: subcommand failed.
| ninja: build stopped: subcommand failed.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
_______________________________________________
Linphone-users mailing list
Linphone-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to