Firefly开源社区

打印 上一主题 下一主题

ubuntu18.04编译Android8.1

146

积分

0

威望

0

贡献

技术小白

积分
146

ubuntu18.04编译Android8.1

发表于 2019-12-8 13:35:22      浏览:5860 | 回复:7        打印      只看该作者   [复制链接] 楼主
本帖最后由 qslia 于 2019-12-9 13:56 编辑

E: Unable to locate package libesd0-dev
1 sudo vim /etc/apt/sources.list  //在行尾添加如下两行的内容
2 deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe
3 deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe
sudo apt-get update && sudo apt-get install libesd0-dev
参考https://blog.csdn.net/weixin_34248258/article/details/86028896





E: Unable to locate package libwxgtk2.8-dev
E: Couldn't find any package by glob 'libwxgtk2.8-dev'
E: Couldn't find any package by regex 'libwxgtk2.8-dev'
E: Package 'lib32readline-gplv2-dev' has no installation candidate


回复

使用道具 举报

146

积分

0

威望

0

贡献

技术小白

积分
146
发表于 2019-12-8 14:10:25        只看该作者  沙发
本帖最后由 qslia 于 2019-12-8 14:40 编辑

Would you like to replace the existing file:
  Path:     AIO-RK3399ProJD4/firenow-oreo-rk3399pro/libcore/luni/src/test/resources/org/apache/harmony/tests/java/lang/test#.properties
  Size:     44 bytes (1 KiB)
  Modified: 2019-04-30 09:29:34
with the file from archive:
  Path:     firenow-oreo-rk3399pro/libcore/luni/src/test/resources/org/apache/harmony/tests/java/lang/test?.properties
  Size:     44 bytes (1 KiB)
  Modified: 2019-04-30 09:29:34
? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? u

Everything is Ok                                                               

Folders: 103872
Files: 729557
Size:       45846436953
Compressed: 22868407317


qslia@qsliapc:~/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro$ git reset --hard
Checking out files: 100% (729535/729535), done.
HEAD is now at c22a3286e3 Init the AIO-RK3399Pro-JD4 Android8.1 SDK

qslia@qsliapc:~/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro$ .bundle/update
[Info]Update Bundle repo...
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
-------------------------------------------
[Info]Update to FETCH_HEAD:
Receiving objects: 100% (52/52), 954.15 KiB | 119.27 MiB/s, done.
Resolving deltas: 100% (36/36), completed with 35 local objects.
From .bundle/0.bundle
* branch                  HEAD       -> FETCH_HEAD
[Info]Fetch .bundle/0.bundle successfully!!
Receiving objects: 100% (2692/2692), 314.99 MiB | 93.79 MiB/s, done.
Resolving deltas: 100% (1838/1838), completed with 1240 local objects.
From .bundle/1.bundle
* branch                  HEAD       -> FETCH_HEAD
[Info]Fetch .bundle/1.bundle successfully!!
qslia@qsliapc:~/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro$ git rebase FETCH_HEAD   
First, rewinding head to replay your work on top of it...
Fast-forwarded firefly to FETCH_HEAD.

回复

使用道具 举报

146

积分

0

威望

0

贡献

技术小白

积分
146
发表于 2019-12-8 14:46:13        只看该作者  板凳
本帖最后由 qslia 于 2019-12-11 10:08 编辑

编译kernel
qslia@qsliapc:~/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro$ cd kernel/
qslia@qsliapc:~/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro/kernel$ make ARCH=arm64 firefly_defconfig
#
# configuration written to .config
#
make -j8 ARCH=arm64 rk3399pro-firefly-aiojd4.img
sudo apt-get update
  sudo apt-get install liblz4-tool

Pack to resource.img successed!
  Image:  resource.img (with rk3399pro-firefly-aiojd4.dtb logo.bmp ) is ready
  Image:  boot.img (with Image resource.img) is ready
  Image:  zboot.img (with Image.lz4 resource.img) is ready

qslia@qsliapc:~/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro/u-boot$ ./make.sh rk3399pro

load addr is 0x200000!
pack input ./u-boot.bin
pack file size: 967367(944 KB)
crc = 0x7167f967
uboot version: U-Boot 2017.09 (Dec 08 2019 - 14:52:51)
pack uboot.img success!
pack uboot okay! Input: ./u-boot.bin
out:rk3399pro_loader_v1.20.115.bin
fix opt:rk3399pro_loader_v1.20.115.bin
merge success(rk3399pro_loader_v1.20.115.bin)
pack loader okay! Input: /home/qslia/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro/rkbin/RKBOOT/RK3399PROMINIALL.ini
/home/qslia/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro/u-boot
out:trust.img
merge success(trust.img)
/home/qslia/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro/u-boot
pack trust okay! Input: /home/qslia/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro/rkbin/RKTRUST/RK3399PROTRUST.ini

Platform RK3399PRO is build OK, with new .config(make rk3399pro_defconfig)


source build/envsetup.sh
including device/rockchip/rk3399pro/vendorsetup.sh
including sdk/bash_completion/adb.bash
qslia@qsliapc:~/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro$ lunch

You're building on Linux

Lunch menu... pick a combo:
     1. aosp_arm-eng
     2. aosp_arm64-eng
     3. aosp_mips-eng
     4. aosp_mips64-eng
     5. aosp_x86-eng
     6. aosp_x86_64-eng
     7. rk3399pro_firefly_aiojd4-userdebug
     8. rk3399pro_firefly_aiojd4-user
     9. rk3399pro_firefly_aioc-userdebug
     10. rk3399pro_firefly_aioc-user
     11. rk3399pro-userdebug
     12. rk3399pro-user

Which would you like? [aosp_arm-eng] 7

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=rk3399pro_firefly_aiojd4
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-37-generic-x86_64-with-Ubuntu-18.04-bionic
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM8.190405.001
OUT_DIR=out
AUX_OS_VARIANT_LIST=
============================================

回复

使用道具 举报

146

积分

0

威望

0

贡献

技术小白

积分
146
发表于 2019-12-8 15:05:32        只看该作者  地板
qslia@qsliapc:~/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro$ make -j8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=rk3399pro_firefly_aiojd4
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-37-generic-x86_64-with-Ubuntu-18.04-bionic
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM8.190405.001
OUT_DIR=out
============================================
[44/44] bootstrap out/soong/.minibootstrap/build.ninja.in
[4/4] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
[851/852] glob test/vts/utils/native/libprofiling/Android.bp
[54/54] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-rk3399pro_firefly_aiojd4.ninja is missing, regenerating...
[4/1059] including ./bootable/recovery/Android.mk ...
./bootable/recovery/Android.mk:101: warning: *** Redirect log to UART
[485/1059] including ./hardware/rockchip/camera/Android.mk ...
BOARD_DEFAULT_CAMERA_HAL_VERSION=1.0
[491/1059] including ./hardware/rockchip/librga/Android.mk ...
Generated version.h
[495/1059] including ./hardware/rockchip/omx_il/Android.mk ...
cp: cannot create regular file '.git/hooks/pre-commit': No such file or directory
tools/hooks .git/hooks
[497/1059] including ./hardware/rockchip/sensor/Android.mk ...
YD>>PLATFORM_VERSION=8.1.0
YD>>ANDRIOD VERSION=8.1
YD>>VERSION_L=, VERSION_KK=
YD>>LOCAL_MODULE=sensors.rk30board
YD>>LOCAL_MODULE=sensors.rk30board, LOCAL_SRC_FILES=sensors_mpl.cpp SamsungSensorBase.cpp LightSensor.cpp ProximitySensor.cpp, LOCAL_SHARED_LIBRARIES=libinvensense_hal libcutils libutils libdl liblog libmllite
[1059/1059] including ./vendor/rockchip/common/vpu/Android.mk ...
PRODUCT_COPY_FILES device/rockchip/common/init.rk30board.usb.rc:root/init.rk30board.usb.rc ignored.
PRODUCT_COPY_FILES vendor/rockchip/common/npu/bin/npu_transfer_proxy:vendor/bin/npu_transfer_proxy ignored.
PRODUCT_COPY_FILES vendor/rockchip/common/npu/npu_transfer_proxy.rc:vendor/etc/init/npu_transfer_proxy.rc ignored.
PRODUCT_COPY_FILES vendor/rockchip/common/phone/etc/apns-full-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE rk3399pro_firefly_aiojd4
build/core/aapt2.mk:32: warning: overriding commands for target `out/target/product/rk3399pro_firefly_aiojd4/obj/APPS/Bluetooth_intermediates/flat-res/device/rockchip/common/overlay/packages/apps/Bluetooth/res/values_config.arsc.flat'
build/core/aapt2.mk:32: warning: ignoring old commands for target `out/target/product/rk3399pro_firefly_aiojd4/obj/APPS/Bluetooth_intermediates/flat-res/device/rockchip/common/overlay/packages/apps/Bluetooth/res/values_config.arsc.flat'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro_firefly_aiojd4/system/bin/chat'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro_firefly_aiojd4/system/bin/chat'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro_firefly_aiojd4/vendor/bin/hw/rild'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro_firefly_aiojd4/vendor/bin/hw/rild'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro_firefly_aiojd4/vendor/lib/libjpeghwenc.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro_firefly_aiojd4/vendor/lib/libjpeghwenc.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro_firefly_aiojd4/vendor/lib/libjpeghwdec.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro_firefly_aiojd4/vendor/lib/libjpeghwdec.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro_firefly_aiojd4/vendor/lib64/libjpeghwenc.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro_firefly_aiojd4/vendor/lib64/libjpeghwenc.so'
[ 99% 1573/1574] glob vendor/*/*/Android.bp
[  2% 2464/83051] target  C: e2fsdroid_static <= external/e2fsprogs/contrib/android/block_range.c
In file included from external/e2fsprogs/contrib/android/block_range.c:3:
In file included from external/e2fsprogs/contrib/android/block_range.h:5:
In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise' macro redefined [-Wmacro-redefined]
#define __bitwise
        ^
bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is here
#define __bitwise __bitwise__
        ^
1 warning generated.
[  2% 2465/83051] target  C: e2fsdroid_static <= external/e2fsprogs/contrib/android/e2fsdroid.c
In file included from external/e2fsprogs/contrib/android/e2fsdroid.c:6:
In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise' macro redefined [-Wmacro-redefined]
#define __bitwise
        ^
bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is here
#define __bitwise __bitwise__
        ^
1 warning generated.
[  2% 2466/83051] target  C: e2fsdroid_static <= external/e2fsprogs/contrib/android/block_list.c
In file included from external/e2fsprogs/contrib/android/block_list.c:1:
In file included from external/e2fsprogs/contrib/android/block_list.h:4:
In file included from external/e2fsprogs/contrib/android/fsmap.h:11:
In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise' macro redefined [-Wmacro-redefined]
#define __bitwise
        ^
bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is here
#define __bitwise __bitwise__
        ^
1 warning generated.
[  2% 2467/83051] target  C: e2fsdroid_static <= external/e2fsprogs/contrib/android/fsmap.c
In file included from external/e2fsprogs/contrib/android/fsmap.c:1:
In file included from external/e2fsprogs/contrib/android/fsmap.h:11:
In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise' macro redefined [-Wmacro-redefined]
#define __bitwise
        ^
bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is here
#define __bitwise __bitwise__
        ^
1 warning generated.
[  2% 2470/83051] target  C: e2fsdroid_static <= external/e2fsprogs/contrib/android/base_fs.c
In file included from external/e2fsprogs/contrib/android/base_fs.c:1:
In file included from external/e2fsprogs/contrib/android/base_fs.h:4:
In file included from external/e2fsprogs/contrib/android/fsmap.h:11:
In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise' macro redefined [-Wmacro-redefined]
#define __bitwise
        ^
bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is here
#define __bitwise __bitwise__
        ^
1 warning generated.
[  2% 2472/83051] target  C: e2fsdroid_static <= external/e2fsprogs/contrib/android/perms.c
In file included from external/e2fsprogs/contrib/android/perms.c:4:
In file included from external/e2fsprogs/contrib/android/perms.h:5:
In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise' macro redefined [-Wmacro-redefined]
#define __bitwise
        ^
bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is here
#define __bitwise __bitwise__
        ^
external/e2fsprogs/contrib/android/perms.c:291:31: warning: unused parameter 'seopts' [-Wunused-parameter]
                               struct selinux_opt *seopts,
                                                   ^
external/e2fsprogs/contrib/android/perms.c:292:24: warning: unused parameter 'nopt' [-Wunused-parameter]
                               unsigned int nopt,
                                            ^
3 warnings generated.
[  2% 2476/83051] target  C: e2fsdroid_static <= external/e2fsprogs/contrib/android/basefs_allocator.c
In file included from external/e2fsprogs/contrib/android/basefs_allocator.c:3:
In file included from external/e2fsprogs/contrib/android/basefs_allocator.h:5:
In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise' macro redefined [-Wmacro-redefined]
#define __bitwise
        ^
bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is here
#define __bitwise __bitwise__
        ^
1 warning generated.
[  3% 2594/83051] target  C: libmtdutils <= bootable/recovery/mtdutils/rk29.c
bootable/recovery/mtdutils/rk29.c:66:51: warning: unused parameter 'len' [-Wunused-parameter]
int rk_make_ext4fs(const char *filename,long long len, const char *mountpoint)
                                                  ^
1 warning generated.
[  3% 3119/83051] Ensuring Jack server is installed and started
Writing client settings in /home/qslia/.jack-settings
Installing jack server in "/home/qslia/.jack-server"

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/qslia/.jack-server/server.jks -destkeystore /home/qslia/.jack-server/server.jks -deststoretype pkcs12".

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/qslia/.jack-server/client.jks -destkeystore /home/qslia/.jack-server/client.jks -deststoretype pkcs12".
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/qslia/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
[  5% 4153/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picodbg.c
external/svox/pico/lib/picodbg.c:427:33: warning: all paths through this function will call itself [-Winfinite-recursion]
static void picodbg_dummy(void) {
                                ^
1 warning generated.
[  5% 4154/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picoextapi.c
external/svox/pico/lib/picoextapi.c:116:10: warning: explicitly assigning value of variable of type 'const pico_Char *' (aka 'const unsigned char *') to itself [-Wself-assign]
    name = name;        /*PP 13.10.08 : fix warning "var not used in this function"*/
    ~~~~ ^ ~~~~
external/svox/pico/lib/picoextapi.c:130:10: warning: explicitly assigning value of variable of type 'const pico_Char *' (aka 'const unsigned char *') to itself [-Wself-assign]
    name = name;        /*PP 13.10.08 : fix warning "var not used in this function"*/
    ~~~~ ^ ~~~~
2 warnings generated.
[  5% 4155/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picoctrl.c
external/svox/pico/lib/picoctrl.c:271:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
    mm = mm;        /* fix warning "var not used in this function"*/
    ~~ ^ ~~
external/svox/pico/lib/picoctrl.c:297:21: warning: unused parameter 'levelAwareCbOut' [-Wunused-parameter]
        picoos_bool levelAwareCbOut,
                    ^
2 warnings generated.
[  5% 4156/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picodata.c
external/svox/pico/lib/picodata.c:577:75: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t puSimpleInitialize (register picodata_ProcessingUnit this, picoos_int32 resetMode) {
                                                                          ^
external/svox/pico/lib/picodata.c:577:94: warning: unused parameter 'resetMode' [-Wunused-parameter]
static pico_status_t puSimpleInitialize (register picodata_ProcessingUnit this, picoos_int32 resetMode) {
                                                                                             ^
external/svox/pico/lib/picodata.c:581:74: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t puSimpleTerminate (register picodata_ProcessingUnit this) {
                                                                         ^
external/svox/pico/lib/picodata.c:590:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode;        /*PP 13.10.08 : fix warning "var not used in this function"*/
    ~~~~ ^ ~~~~
4 warnings generated.
[  5% 4157/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picokdbg.c
external/svox/pico/lib/picokdbg.c:161:34: warning: all paths through this function will call itself [-Winfinite-recursion]
static void picokdbg_dummy(void) {
                                 ^
1 warning generated.
[  5% 4158/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picocep.c
external/svox/pico/lib/picocep.c:374:68: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t cepTerminate(register picodata_ProcessingUnit this)
                                                                   ^
external/svox/pico/lib/picocep.c:392:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
    mm = mm; /* avoid warning "var not used in this function"*/
    ~~ ^ ~~
external/svox/pico/lib/picocep.c:1495:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode; /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
3 warnings generated.
[  5% 4160/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picoacph.c
external/svox/pico/lib/picoacph.c:279:69: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t acphTerminate(register picodata_ProcessingUnit this)
                                                                    ^
external/svox/pico/lib/picoacph.c:286:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
    mm = mm;        /* avoid warning "var not used in this function"*/
    ~~ ^ ~~
external/svox/pico/lib/picoacph.c:328:69: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphGetNrSylls(register picodata_ProcessingUnit this,
                                                                    ^
external/svox/pico/lib/picoacph.c:361:39: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
             ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoacph.c:361:39: note: remove extraneous parentheses around the comparison to silence this warning
        if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
            ~                         ^                        ~
external/svox/pico/lib/picoacph.c:361:39: note: use '=' to turn this equality comparison into an assignment
        if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
                                      ^~
                                      =
external/svox/pico/lib/picoacph.c:352:79: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphPhrItemSeqGetPosLeft(register picodata_ProcessingUnit this,
                                                                              ^
external/svox/pico/lib/picoacph.c:626:39: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
             ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoacph.c:626:39: note: remove extraneous parentheses around the comparison to silence this warning
        if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
            ~                         ^                        ~
external/svox/pico/lib/picoacph.c:626:39: note: use '=' to turn this equality comparison into an assignment
        if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
                                      ^~
                                      =
external/svox/pico/lib/picoacph.c:617:79: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphAccItemSeqGetPosLeft(register picodata_ProcessingUnit this,
                                                                              ^
external/svox/pico/lib/picoacph.c:637:73: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphAccNrSyllParts(register picodata_ProcessingUnit this,
                                                                        ^
external/svox/pico/lib/picoacph.c:767:78: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphIsWordWithoutStress(register picodata_ProcessingUnit this,
                                                                             ^
external/svox/pico/lib/picoacph.c:1062:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
10 warnings generated.
[  5% 4162/83051] target thumb C++: libttspico_32 <= external/svox/pico/tts/com_svox_picottsengine.cpp
external/svox/pico/tts/com_svox_picottsengine.cpp:756:61: warning: unused parameter 'length' [-Wunused-parameter]
extern char * createPhonemeString( const char * xsampa, int length )
                                                            ^
external/svox/pico/tts/com_svox_picottsengine.cpp:1072:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
        if (strlen(config) >= max_filename_length) {
            ~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~
external/svox/pico/tts/com_svox_picottsengine.cpp:1119:48: warning: unused parameter 'lang' [-Wunused-parameter]
tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant)
                                               ^
external/svox/pico/tts/com_svox_picottsengine.cpp:1119:66: warning: unused parameter 'country' [-Wunused-parameter]
tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant)
                                                                 ^
external/svox/pico/tts/com_svox_picottsengine.cpp:1119:87: warning: unused parameter 'variant' [-Wunused-parameter]
tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant)
                                                                                      ^
external/svox/pico/tts/com_svox_picottsengine.cpp:1133:90: warning: unused parameter 'variant' [-Wunused-parameter]
tts_result TtsEngine::setLanguage( const char * lang, const char * country, const char * variant )
                                                                                         ^
external/svox/pico/tts/com_svox_picottsengine.cpp:1212:25: warning: unused parameter 'variant' [-Wunused-parameter]
            const char *variant) {
                        ^
external/svox/pico/tts/com_svox_picottsengine.cpp:1316:92: warning: unused parameter 'size' [-Wunused-parameter]
tts_result TtsEngine::setProperty( const char * property, const char * value, const size_t size )
                                                                                           ^
8 warnings generated.
[  5% 4168/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picokdt.c
external/svox/pico/lib/picokdt.c:398:65: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t kdtDtCheck(register picoknow_KnowledgeBase this,
                                                                ^
1 warning generated.
[  5% 4170/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picokpr.c
external/svox/pico/lib/picokpr.c:286:12: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
    len__9 = len__9;        /*PP 13.10.08 : fix warning "var not used in this function"*/
    ~~~~~~ ^ ~~~~~~
external/svox/pico/lib/picokpr.c:296:13: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
    len__10 = len__10;        /*PP 13.10.08 : fix warning "var not used in this function"*/
    ~~~~~~~ ^ ~~~~~~~
external/svox/pico/lib/picokpr.c:306:13: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
    len__11 = len__11;        /*PP 13.10.08 : fix warning "var not used in this function"*/
    ~~~~~~~ ^ ~~~~~~~
external/svox/pico/lib/picokpr.c:317:13: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
    len__12 = len__12;        /* avoid warning "var not used in this function"*/
    ~~~~~~~ ^ ~~~~~~~
4 warnings generated.
[  5% 4171/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picopal.c
external/svox/pico/lib/picopal.c:416:10: warning: explicitly assigning value of variable of type 'picopal_objsize_t' (aka 'unsigned int') to itself [-Wself-assign]
    size = size;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
external/svox/pico/lib/picopal.c:452:10: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign]
    addr = addr;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
external/svox/pico/lib/picopal.c:453:9: warning: explicitly assigning value of variable of type 'picopal_objsize_t' (aka 'unsigned int') to itself [-Wself-assign]
    len = len;            /* avoid warning "var not used in this function"*/
    ~~~ ^ ~~~
external/svox/pico/lib/picopal.c:454:10: warning: explicitly assigning value of variable of type 'picopal_int16' (aka 'short') to itself [-Wself-assign]
    prot = prot;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
4 warnings generated.
[  5% 4173/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picoos.c
external/svox/pico/lib/picoos.c:533:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((c->size == (picoos_ptrdiff_t) cellSize)) {
         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoos.c:533:18: note: remove extraneous parentheses around the comparison to silence this warning
    if ((c->size == (picoos_ptrdiff_t) cellSize)) {
        ~        ^                             ~
external/svox/pico/lib/picoos.c:533:18: note: use '=' to turn this equality comparison into an assignment
    if ((c->size == (picoos_ptrdiff_t) cellSize)) {
                 ^~
                 =
external/svox/pico/lib/picoos.c:1108:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((pos == f->lPos)) {
             ~~~~^~~~~~~~~~
external/svox/pico/lib/picoos.c:1108:18: note: remove extraneous parentheses around the comparison to silence this warning
        if ((pos == f->lPos)) {
            ~    ^         ~
external/svox/pico/lib/picoos.c:1108:18: note: use '=' to turn this equality comparison into an assignment
        if ((pos == f->lPos)) {
                 ^~
                 =
external/svox/pico/lib/picoos.c:1624:34: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                if ((sdFile->enc == PICOOS_ENC_LIN)) {
                     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoos.c:1624:34: note: remove extraneous parentheses around the comparison to silence this warning
                if ((sdFile->enc == PICOOS_ENC_LIN)) {
                    ~            ^                ~
external/svox/pico/lib/picoos.c:1624:34: note: use '=' to turn this equality comparison into an assignment
                if ((sdFile->enc == PICOOS_ENC_LIN)) {
                                 ^~
                                 =
external/svox/pico/lib/picoos.c:2283:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
            if ((string[(*ind)] == sepCh)) {
                 ~~~~~~~~~~~~~~~^~~~~~~~
external/svox/pico/lib/picoos.c:2283:33: note: remove extraneous parentheses around the comparison to silence this warning
            if ((string[(*ind)] == sepCh)) {
                ~               ^       ~
external/svox/pico/lib/picoos.c:2283:33: note: use '=' to turn this equality comparison into an assignment
            if ((string[(*ind)] == sepCh)) {
                                ^~
                                =
4 warnings generated.
[  5% 4174/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picorsrc.c
external/svox/pico/lib/picorsrc.c:464:34: warning: unused parameter 'this' [-Wunused-parameter]
        picorsrc_ResourceManager this,
                                 ^
external/svox/pico/lib/picorsrc.c:484:13: warning: explicitly assigning value of variable of type 'picoos_uint32' (aka 'unsigned int') to itself [-Wself-assign]
    datalen = datalen;
    ~~~~~~~ ^ ~~~~~~~
2 warnings generated.
[  5% 4175/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picosig.c
external/svox/pico/lib/picosig.c:391:12: warning: explicitly assigning value of variable of type 'picoos_uint16' (aka 'unsigned short') to itself [-Wself-assign]
    numinb = numinb; /* avoid warning "var not used in this function"*/
    ~~~~~~ ^ ~~~~~~
external/svox/pico/lib/picosig.c:762:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode; /* avoid warning "var not used in this function" */
    ~~~~ ^ ~~~~
2 warnings generated.
[  5% 4176/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picosa.c
external/svox/pico/lib/picosa.c:427:67: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t saTerminate(register picodata_ProcessingUnit this) {
                                                                  ^
external/svox/pico/lib/picosa.c:489:79: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 saPosDItemSeqGetPosRight(register picodata_ProcessingUnit this,
                                                                              ^
external/svox/pico/lib/picosa.c:791:67: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 saGetNrVowel(register picodata_ProcessingUnit this,
                                                                  ^
external/svox/pico/lib/picosa.c:1078:73: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t saExtractPhonemes(register picodata_ProcessingUnit this,
                                                                        ^
external/svox/pico/lib/picosa.c:1204:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
5 warnings generated.
[  5% 4179/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picopam.c
external/svox/pico/lib/picopam.c:746:12: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
        mm = mm; /* avoid warning "var not used in this function"*/
        ~~ ^ ~~
external/svox/pico/lib/picopam.c:2336:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode; /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
external/svox/pico/lib/picopam.c:2601:33: warning: explicitly assigning value of variable of type 'pico_status_t' (aka 'int') to itself [-Wself-assign]
                        sResult = sResult;
                        ~~~~~~~ ^ ~~~~~~~
external/svox/pico/lib/picopam.c:2893:15: warning: explicitly assigning value of variable of type 'picoos_uint8' (aka 'unsigned char') to itself [-Wself-assign]
    iteminfo1 = iteminfo1; /* avoid warning "var not used in this function"*/
    ~~~~~~~~~ ^ ~~~~~~~~~
external/svox/pico/lib/picopam.c:3536:37: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                    if ((event_type == PICOPAM_EVENT_P_BOUND)) {
                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picopam.c:3536:37: note: remove extraneous parentheses around the comparison to silence this warning
                    if ((event_type == PICOPAM_EVENT_P_BOUND)) {
                        ~           ^                       ~
external/svox/pico/lib/picopam.c:3536:37: note: use '=' to turn this equality comparison into an assignment
                    if ((event_type == PICOPAM_EVENT_P_BOUND)) {
                                    ^~
                                    =
5 warnings generated.
[  5% 4181/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picospho.c
external/svox/pico/lib/picospho.c:289:89: warning: unused parameter 'resetMode' [-Wunused-parameter]
static pico_status_t sphoInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode)
                                                                                        ^
external/svox/pico/lib/picospho.c:336:69: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t sphoTerminate(register picodata_ProcessingUnit this)
                                                                    ^
external/svox/pico/lib/picospho.c:496:10: warning: explicitly assigning value of variable of type 'spho_subobj_t *' (aka 'struct spho_subobj *') to itself [-Wself-assign]
    spho = spho;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
external/svox/pico/lib/picospho.c:955:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
4 warnings generated.
[  5% 4186/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picowa.c
external/svox/pico/lib/picowa.c:146:67: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t waTerminate(register picodata_ProcessingUnit this) {
                                                                  ^
external/svox/pico/lib/picowa.c:155:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
    mm = mm;        /* avoid warning "var not used in this function"*/
    ~~ ^ ~~
external/svox/pico/lib/picowa.c:387:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
3 warnings generated.
[  5% 4189/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picopr.c
external/svox/pico/lib/picopr.c:436:11: warning: explicitly assigning value of variable of type 'pr_MemTypes' to itself [-Wself-assign]
    mType = mType;        /* avoid warning "var not used in this function"*/
    ~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:448:11: warning: explicitly assigning value of variable of type 'pr_MemTypes' to itself [-Wself-assign]
    mType = mType;        /* avoid warning "var not used in this function"*/
    ~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:621:69: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_int32 tok_tokenDigitStrToInt (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_uchar stokenStr[])
                                                                    ^
external/svox/pico/lib/picopr.c:1004:49: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_initItem(picodata_ProcessingUnit this, pr_ioItem * item)
                                                ^
external/svox/pico/lib/picopr.c:1047:57: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_copyItemContent (picodata_ProcessingUnit this, pr_ioItem * inItem, pr_ioItem * outItem)
                                                        ^
external/svox/pico/lib/picopr.c:1087:52: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_appendItem (picodata_ProcessingUnit this, pr_ioItemPtr * firstItem, pr_ioItemPtr * lastItem, pr_ioItemPtr item)
                                                   ^
external/svox/pico/lib/picopr.c:1758:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                                        if ((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV)/* || (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/) {
                                             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picopr.c:1758:52: note: remove extraneous parentheses around the comparison to silence this warning
                                        if ((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV)/* || (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/) {
                                            ~      ^                                    ~
external/svox/pico/lib/picopr.c:1758:52: note: use '=' to turn this equality comparison into an assignment
                                        if ((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV)/* || (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/) {
                                                   ^~
                                                   =
external/svox/pico/lib/picopr.c:2088:69: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                    if ((pr->ritems[with__0->ritemid+1]->head.info1 == PICODATA_ITEMINFO1_TOKTYPE_SPACE)) {
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picopr.c:2088:69: note: remove extraneous parentheses around the comparison to silence this warning
                    if ((pr->ritems[with__0->ritemid+1]->head.info1 == PICODATA_ITEMINFO1_TOKTYPE_SPACE)) {
                        ~                                           ^                                  ~
external/svox/pico/lib/picopr.c:2088:69: note: use '=' to turn this equality comparison into an assignment
                    if ((pr->ritems[with__0->ritemid+1]->head.info1 == PICODATA_ITEMINFO1_TOKTYPE_SPACE)) {
                                                                    ^~
                                                                    =
external/svox/pico/lib/picopr.c:2262:61: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getNextToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
                                                            ^
external/svox/pico/lib/picopr.c:2287:60: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getAltToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
                                                           ^
external/svox/pico/lib/picopr.c:2326:63: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_findProduction (picodata_ProcessingUnit this, pr_subobj_t * pr,
                                                              ^
external/svox/pico/lib/picopr.c:2404:65: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getProdContToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
                                                                ^
external/svox/pico/lib/picopr.c:2429:65: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getTopLevelToken (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_bool firstprod)
                                                                ^
external/svox/pico/lib/picopr.c:2457:57: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
                                                        ^
external/svox/pico/lib/picopr.c:2480:66: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getNextMultiToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
                                                                 ^
external/svox/pico/lib/picopr.c:2516:8: warning: explicitly assigning value of variable of type 'pr_subobj_t *' (aka 'struct pr_subobj *') to itself [-Wself-assign]
    pr = pr;        /* avoid warning "var not used in this function"*/
    ~~ ^ ~~
external/svox/pico/lib/picopr.c:2517:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetNP' (aka 'unsigned int') to itself [-Wself-assign]
    npset = npset;    /* avoid warning "var not used in this function"*/
    ~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2518:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetWP' (aka 'unsigned int') to itself [-Wself-assign]
    wpset = wpset;    /* avoid warning "var not used in this function"*/
    ~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2503:66: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchMultiToken (picodata_ProcessingUnit this, pr_subobj_t * pr,
                                                                 ^
external/svox/pico/lib/picopr.c:2523:67: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensSpace (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
                                                                  ^
external/svox/pico/lib/picopr.c:2570:67: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensDigit (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
                                                                  ^
external/svox/pico/lib/picopr.c:2619:65: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensSeq (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
                                                                ^
external/svox/pico/lib/picopr.c:2662:66: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensChar (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
                                                                 ^
external/svox/pico/lib/picopr.c:2682:68: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensLetter (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
                                                                   ^
external/svox/pico/lib/picopr.c:2767:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetNP' (aka 'unsigned int') to itself [-Wself-assign]
    npset = npset;        /* avoid warning "var not used in this function"*/
    ~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2768:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetWP' (aka 'unsigned int') to itself [-Wself-assign]
    wpset = wpset;        /* avoid warning "var not used in this function"*/
    ~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2764:67: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensBegin (picodata_ProcessingUnit this, pr_subobj_t * pr,
                                                                  ^
external/svox/pico/lib/picopr.c:2781:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetNP' (aka 'unsigned int') to itself [-Wself-assign]
    npset = npset;        /* avoid warning "var not used in this function"*/
    ~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2782:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetWP' (aka 'unsigned int') to itself [-Wself-assign]
    wpset = wpset;        /* avoid warning "var not used in this function"*/
    ~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2778:65: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensEnd (picodata_ProcessingUnit this, pr_subobj_t * pr,
                                                                ^
external/svox/pico/lib/picopr.c:2904:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((pr->ractpath.rlen == 0)) {
             ~~~~~~~~~~~~~~~~~~^~~~
external/svox/pico/lib/picopr.c:2904:32: note: remove extraneous parentheses around the comparison to silence this warning
        if ((pr->ractpath.rlen == 0)) {
            ~                  ^   ~
external/svox/pico/lib/picopr.c:2904:32: note: use '=' to turn this equality comparison into an assignment
        if ((pr->ractpath.rlen == 0)) {
                               ^~
                               =
external/svox/pico/lib/picopr.c:3038:53: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_prepareItem (picodata_ProcessingUnit this, pr_subobj_t * pr, pr_ioItemPtr item)
                                                    ^
external/svox/pico/lib/picopr.c:3258:60: warning: unused parameter 'this' [-Wunused-parameter]
pico_status_t prTerminate(register picodata_ProcessingUnit this)
                                                           ^
external/svox/pico/lib/picopr.c:3272:12: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
        mm = mm;        /* avoid warning "var not used in this function"*/
        ~~ ^ ~~
external/svox/pico/lib/picopr.c:3354:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
35 warnings generated.
[  5% 4197/83051] target thumb C: libsvoxpico_32 <= external/svox/pico/lib/picotok.c
external/svox/pico/lib/picotok.c:444:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((tok->utfpos == tok->utflen)) {
             ~~~~~~~~~~~~^~~~~~~~~~~~~~
external/svox/pico/lib/picotok.c:444:26: note: remove extraneous parentheses around the comparison to silence this warning
        if ((tok->utfpos == tok->utflen)) {
            ~            ^             ~
external/svox/pico/lib/picotok.c:444:26: note: use '=' to turn this equality comparison into an assignment
        if ((tok->utfpos == tok->utflen)) {
                         ^~
                         =
external/svox/pico/lib/picotok.c:482:50: warning: unused parameter 'this' [-Wunused-parameter]
static void tok_putItem (picodata_ProcessingUnit this,  tok_subobj_t * tok,
                                                 ^
external/svox/pico/lib/picotok.c:577:51: warning: unused parameter 'this' [-Wunused-parameter]
static void tok_putItem2 (picodata_ProcessingUnit this,  tok_subobj_t * tok,
                                                  ^
external/svox/pico/lib/picotok.c:1342:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
            } else if ((tok->utf[tok->utfpos-1] == EOL)) {
                        ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
external/svox/pico/lib/picotok.c:1342:49: note: remove extraneous parentheses around the comparison to silence this warning
            } else if ((tok->utf[tok->utfpos-1] == EOL)) {
                       ~                        ^     ~
external/svox/pico/lib/picotok.c:1342:49: note: use '=' to turn this equality comparison into an assignment
            } else if ((tok->utf[tok->utfpos-1] == EOL)) {
                                                ^~
                                                =
external/svox/pico/lib/picotok.c:1402:83: warning: unused parameter 'resetMode' [-Wunused-parameter]
static pico_status_t tokReset(register picodata_ProcessingUnit this, picoos_int32 resetMode)
                                                                                  ^
external/svox/pico/lib/picotok.c:1481:68: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t tokTerminate(register picodata_ProcessingUnit this)
                                                                   ^
external/svox/pico/lib/picotok.c:1495:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
    mm = mm;        /* avoid warning "var not used in this function"*/
    ~~ ^ ~~
external/svox/pico/lib/picotok.c:1542:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
    mode = mode;        /* avoid warning "var not used in this function"*/
    ~~~~ ^ ~~~~
8 warnings generated.
[  5% 4219/83051] target  C: abc <= external/abc/abc.c
In file included from external/abc/abc.c:17:
external/abc/config.h:71:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "abc"
        ^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
        ^
external/abc/abc.c:32:31: warning: unused parameter 'arg' [-Wunused-parameter]
static void *abc_upload(void *arg)
                              ^
external/abc/abc.c:156:32: warning: unused parameter 'arg' [-Wunused-parameter]
static void *abc_android(void *arg)
                               ^
external/abc/abc.c:178:32: warning: unused parameter 'arg' [-Wunused-parameter]
static void *abc_process(void *arg)
                               ^
external/abc/abc.c:200:31: warning: unused parameter 'arg' [-Wunused-parameter]
static void *abc_kernel(void *arg)
                              ^
external/abc/abc.c:255:39: warning: unused parameter 'arg' [-Wunused-parameter]
static void *abc_monitor_uevent(void *arg)
                                      ^
external/abc/abc.c:262:42: warning: unused parameter 'arg' [-Wunused-parameter]
static void *abc_copy_log_to_flash(void *arg)
                                         ^
external/abc/abc.c:271:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char *argv[])
             ^
external/abc/abc.c:271:26: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, char *argv[])
                         ^
9 warnings generated.
[  5% 4222/83051] target  C: abc <= external/abc/mail.c
In file included from external/abc/mail.c:17:
external/abc/config.h:71:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "abc"
        ^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
        ^
1 warning generated.
[  5% 4227/83051] target  C: abc <= external/abc/misc.c
In file included from external/abc/misc.c:16:
external/abc/config.h:71:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "abc"
        ^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
        ^
external/abc/misc.c:363:25: warning: more '%' conversions than data arguments [-Wformat]
        printf("error: %s not found,return\n,path");
                       ~^
external/abc/misc.c:19:16: note: expanded from macro 'printf'
#define printf ALOGD
               ^
system/core/liblog/include/log/log_main.h:201:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
                                                   ^
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
                                                                  ^
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
                                                                    ^
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  __android_log_print(prio, tag, __VA_ARGS__)
                                 ^
external/abc/misc.c:368:16: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        strcat(path,"/rk_logs/");//for 3399 7.1 the sdcard mountpoint is similar to "/storage/8527-18E3/rk_logs" , 8527-18E3 is the uuid
               ^~~~
bionic/libc/include/string.h:199:46: note: passing argument to parameter 'dst' here
char* strcat(char* _Nonnull __restrict const dst __pass_object_size, const char* _Nonnull __restrict src)
                                             ^
3 warnings generated.
[  5% 4228/83051] target  C: abc <= external/abc/hotplug.c
In file included from external/abc/hotplug.c:11:
external/abc/config.h:71:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "abc"
        ^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
        ^
1 warning generated.
[  5% 4372/83051] target  C++: libapplypatch <= bootable/recovery/applypatch/../rktools.cpp
bootable/recovery/applypatch/../rktools.cpp:155:27: warning: unused parameter 'arg' [-Wunused-parameter]
void *thrd_led_func(void *arg) {
                          ^
bootable/recovery/applypatch/../rktools.cpp:323:80: warning: unused parameter 'c' [-Wunused-parameter]
void SplitString(const std::string& s, std::string& result, const std::string& c){
                                                                               ^
2 warnings generated.
[  5% 4404/83051] Lex: applypatch <= bootable/recovery/edify/lexer.ll
FAILED: out/target/product/rk3399pro_firefly_aiojd4/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp
/bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/target/product/rk3399pro_firefly_aiojd4/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp bootable/recovery/edify/lexer.ll"
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
[  5% 4411/83051] target arm C++: libaudioprocessing_32 <= frameworks/av/media/libaudioprocessing/AudioMixer.cpp
ninja: build stopped: subcommand failed.
15:04:06 ninja failed with: exit status 1

#### failed to build some targets (04:53 (mm:ss)) ####
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2019-12-9 09:23:20        只看该作者  5#
qslia 发表于 2019-12-8 15:05
qslia@qsliapc:~/Android8.1/Android8.1/AIO-RK3399ProJD4/firenow-oreo-rk3399pro$ make -j8
=========== ...

一般都是环境的问题,建议使用14.04或16.04,或是参考如下链接
http://dev.t-firefly.com/thread-100560-1-1.html
回复

使用道具 举报

146

积分

0

威望

0

贡献

技术小白

积分
146
发表于 2019-12-9 11:28:06        只看该作者  6#
jpchen 发表于 2019-12-9 09:23
一般都是环境的问题,建议使用14.04或16.04,或是参考如下链接
http://dev.t-firefly.com/thread-100560 ...

帮我看下编译的ubuntu哪里出问题了
http://dev.t-firefly.com/thread-100601-1-1.html
回复

使用道具 举报

146

积分

0

威望

0

贡献

技术小白

积分
146
发表于 2019-12-11 10:29:11        只看该作者  7#
m4 libxml2-utils
回复

使用道具 举报

146

积分

0

威望

0

贡献

技术小白

积分
146
发表于 2019-12-11 11:09:45        只看该作者  8#
m4 libxml2-utils
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表