==> Creating clean working copy [leming]...done
==> Making package: aml-libs-c1 r11.820b12a-5 (Sat Jan 31 09:43:05 MST 2015)
==> Retrieving sources...
  -> Cloning c1_aml_libs git repo...
Cloning into bare repository '/home/leming/work/aml-libs-c1/c1_aml_libs'...
  -> Found 99-amlogic.rules
==> Validating source files with md5sums...
    c1_aml_libs ... Skipped
    99-amlogic.rules ... Passed
==> Making package: aml-libs-c1 r11.820b12a-5 (Sat Jan 31 09:43:12 MST 2015)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) alsa-lib-1.0.28-1

Total Download Size:   0.33 MiB
Total Installed Size:  1.44 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages ...
downloading alsa-lib-1.0.28-1-armv7h.pkg.tar.xz...
downloading alsa-lib-1.0.28-1-armv7h.pkg.tar.xz...
downloading alsa-lib-1.0.28-1-armv7h.pkg.tar.xz...
downloading alsa-lib-1.0.28-1-armv7h.pkg.tar.xz...
downloading alsa-lib-1.0.28-1-armv7h.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
installing alsa-lib...
Optional dependencies for alsa-lib
    python2: for python smixer plugin
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (2) perl-error-0.17022-1  git-2.2.2-1

Total Download Size:    3.63 MiB
Total Installed Size:  21.02 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages ...
downloading perl-error-0.17022-1-any.pkg.tar.xz...
downloading git-2.2.2-1-armv7h.pkg.tar.xz...
downloading git-2.2.2-1-armv7h.pkg.tar.xz...
downloading git-2.2.2-1-armv7h.pkg.tar.xz...
downloading git-2.2.2-1-armv7h.pkg.tar.xz...
downloading git-2.2.2-1-armv7h.pkg.tar.xz...
downloading git-2.2.2-1-armv7h.pkg.tar.xz...
downloading git-2.2.2-1-armv7h.pkg.tar.xz...
downloading git-2.2.2-1-armv7h.pkg.tar.xz...
downloading git-2.2.2-1-armv7h.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
installing perl-error...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    python2: various helper scripts
    subversion: git svn
    cvsps2: git cvsimport
    gnome-keyring: GNOME keyring credential helper
==> Retrieving sources...
  -> Found 99-amlogic.rules
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
    c1_aml_libs ... Skipped
    99-amlogic.rules ... Passed
==> Extracting sources...
  -> Creating working copy of c1_aml_libs git repo...
Cloning into 'c1_aml_libs'...
done.
==> Starting pkgver()...
==> Starting build()...
make -C amavutils clean
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amavutils'
rm -rf *.o      
make[1]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amavutils'
make -C amadec clean
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amadec'
rm -rf *.o      
make[1]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amadec'
make -C amcodec clean                        
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec'
CLEAN  audio_ctl
make[2]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/audio_ctl'
make[2]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/audio_ctl'
CLEAN  codec
make[2]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/codec'
make[2]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/codec'
rm -rf libamcodec.so
make[1]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec'
make -C amavutils
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amavutils'
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amavutils -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/../amcodec/include -L/usr/lib -I/usr/include -D_FORTIFY_SOURCE=2  -c -o amaudioutils.o amaudioutils.c
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amavutils -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/../amcodec/include -L/usr/lib -I/usr/include -D_FORTIFY_SOURCE=2  -c -o amconfigutils.o amconfigutils.c
amconfigutils.c: In function 'malloc_config_item':
amconfigutils.c:30:12: warning: incompatible implicit declaration of built-in function 'malloc'
amconfigutils.c: In function 'free_config_item':
amconfigutils.c:34:5: warning: incompatible implicit declaration of built-in function 'free'
amconfigutils.c: In function 'get_matched_index':
amconfigutils.c:39:15: warning: incompatible implicit declaration of built-in function 'strlen'
amconfigutils.c: In function 'am_config_init':
amconfigutils.c:71:5: warning: incompatible implicit declaration of built-in function 'memset'
amconfigutils.c: In function 'am_getconfig':
amconfigutils.c:86:9: warning: incompatible implicit declaration of built-in function 'strcpy'
amconfigutils.c:88:9: warning: incompatible implicit declaration of built-in function 'strcpy'
amconfigutils.c:106:12: warning: incompatible implicit declaration of built-in function 'strlen'
amconfigutils.c: In function 'am_setconfig':
amconfigutils.c:120:9: warning: incompatible implicit declaration of built-in function 'strlen'
amconfigutils.c:124:18: warning: incompatible implicit declaration of built-in function 'strdup'
amconfigutils.c:157:5: warning: incompatible implicit declaration of built-in function 'strcpy'
amconfigutils.c:162:6: warning: incompatible implicit declaration of built-in function 'free'
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amavutils -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/../amcodec/include -L/usr/lib -I/usr/include -D_FORTIFY_SOURCE=2  -c -o amdisplayutils.o amdisplayutils.c
amdisplayutils.c: In function 'get_display_mode':
amdisplayutils.c:41:9: warning: incompatible implicit declaration of built-in function 'memset'
amdisplayutils.c:43:63: warning: incompatible implicit declaration of built-in function 'strlen'
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amavutils -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/../amcodec/include -L/usr/lib -I/usr/include -D_FORTIFY_SOURCE=2  -c -o ammodule.o ammodule.c
ammodule.c: In function 'amload':
ammodule.c:71:9: warning: incompatible implicit declaration of built-in function 'printf'
ammodule.c:80:9: warning: incompatible implicit declaration of built-in function 'printf'
ammodule.c:92:9: warning: incompatible implicit declaration of built-in function 'printf'
ammodule.c:105:9: warning: incompatible implicit declaration of built-in function 'printf'
ammodule.c: In function 'ammodule_load_module':
ammodule.c:124:5: warning: incompatible implicit declaration of built-in function 'snprintf'
ammodule.c:164:5: warning: incompatible implicit declaration of built-in function 'printf'
ammodule.c: In function 'ammodule_open_module':
ammodule.c:176:9: warning: incompatible implicit declaration of built-in function 'printf'
ammodule.c:178:9: warning: incompatible implicit declaration of built-in function 'printf'
ammodule.c: In function 'ammodule_simple_load_module':
ammodule.c:214:35: warning: passing argument 2 of 'ammodule_load_module' from incompatible pointer type
ammodule.c:114:5: note: expected 'const struct ammodule_t **' but argument is of type 'struct ammodule_t **'
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amavutils -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/../amcodec/include -L/usr/lib -I/usr/include -D_FORTIFY_SOURCE=2  -c -o amsysfsutils.o amsysfsutils.c
amsysfsutils.c: In function 'amsysfs_set_sysfs_str':
amsysfsutils.c:30:32: warning: incompatible implicit declaration of built-in function 'strlen'
amsysfsutils.c: In function 'amsysfs_get_sysfs_str':
amsysfsutils.c:43:3: warning: incompatible implicit declaration of built-in function 'memset'
amsysfsutils.c:45:16: warning: incompatible implicit declaration of built-in function 'strlen'
amsysfsutils.c: In function 'amsysfs_set_sysfs_int':
amsysfsutils.c:64:33: warning: incompatible implicit declaration of built-in function 'strlen'
amsysfsutils.c: In function 'amsysfs_set_sysfs_int16':
amsysfsutils.c:97:33: warning: incompatible implicit declaration of built-in function 'strlen'
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amavutils -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/../amcodec/include -L/usr/lib -I/usr/include -D_FORTIFY_SOURCE=2  -c -o Amvideoutils.o Amvideoutils.c
Amvideoutils.c: In function 'amvideo_utils_get_freescale_enable':
Amvideoutils.c:57:9: warning: incompatible implicit declaration of built-in function 'strlen'
Amvideoutils.c: In function 'is_video_on_vpp2':
Amvideoutils.c:86:5: warning: incompatible implicit declaration of built-in function 'memset'
Amvideoutils.c: In function 'is_vertical_panel':
Amvideoutils.c:106:5: warning: incompatible implicit declaration of built-in function 'memset'
Amvideoutils.c: In function 'is_vertical_panel_reverse':
Amvideoutils.c:121:5: warning: incompatible implicit declaration of built-in function 'memset'
Amvideoutils.c: In function 'get_osd_display_mode':
Amvideoutils.c:145:5: warning: incompatible implicit declaration of built-in function 'memset'
Amvideoutils.c: In function 'get_device_win':
Amvideoutils.c:212:5: warning: incompatible implicit declaration of built-in function 'memset'
Amvideoutils.c: In function 'amvideo_utils_set_virtual_position':
Amvideoutils.c:456:9: warning: incompatible implicit declaration of built-in function 'memset'
Amvideoutils.c:592:13: warning: incompatible implicit declaration of built-in function 'memset'
Amvideoutils.c:619:13: warning: incompatible implicit declaration of built-in function 'memset'
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amavutils -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/../amcodec/include -L/usr/lib -I/usr/include -D_FORTIFY_SOURCE=2  -c -o itemlist.o itemlist.c
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amavutils -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amavutils/../amcodec/include -L/usr/lib -I/usr/include -Wl,-O1,--sort-common,--as-needed,-z,relro -shared -lpthread -lm -lrt amaudioutils.c amconfigutils.c amdisplayutils.c ammodule.c amsysfsutils.c Amvideoutils.c itemlist.c -o libamavutils.so  
amconfigutils.c: In function ‘malloc_config_item’:
amconfigutils.c:30:12: warning: incompatible implicit declaration of built-in function ‘malloc’
     return malloc(CONFIG_PATH_MAX + CONFIG_VALUE_MAX + 8);
            ^
amconfigutils.c: In function ‘free_config_item’:
amconfigutils.c:34:5: warning: incompatible implicit declaration of built-in function ‘free’
     free(item);
     ^
amconfigutils.c: In function ‘get_matched_index’:
amconfigutils.c:39:15: warning: incompatible implicit declaration of built-in function ‘strlen’
     int len = strlen(path);
               ^
amconfigutils.c: In function ‘am_config_init’:
amconfigutils.c:71:5: warning: incompatible implicit declaration of built-in function ‘memset’
     memset(amconfigs, 0, sizeof(amconfigs));
     ^
amconfigutils.c: In function ‘am_getconfig’:
amconfigutils.c:86:9: warning: incompatible implicit declaration of built-in function ‘strcpy’
         strcpy(val, amconfigs[i] + CONFIG_VALUE_OFF);
         ^
amconfigutils.c:88:9: warning: incompatible implicit declaration of built-in function ‘strcpy’
         strcpy(val, def);
         ^
amconfigutils.c:106:12: warning: incompatible implicit declaration of built-in function ‘strlen’
     return strlen(val) ;
            ^
amconfigutils.c: In function ‘am_setconfig’:
amconfigutils.c:120:9: warning: incompatible implicit declaration of built-in function ‘strlen’
     if (strlen(path) > CONFIG_PATH_MAX) {
         ^
amconfigutils.c:124:18: warning: incompatible implicit declaration of built-in function ‘strdup’
         setval = strdup(val);
                  ^
amconfigutils.c:157:5: warning: incompatible implicit declaration of built-in function ‘strcpy’
     strcpy(pconfig, path);
     ^
amconfigutils.c:162:6: warning: incompatible implicit declaration of built-in function ‘free’
      free(setval);
      ^
amdisplayutils.c: In function ‘get_display_mode’:
amdisplayutils.c:41:9: warning: incompatible implicit declaration of built-in function ‘memset’
         memset(mode, 0, 16); // clean buffer and read 15 byte to avoid strlen > 15 
         ^
amdisplayutils.c:43:61: warning: incompatible implicit declaration of built-in function ‘strlen’
         LOGI("[get_display_mode]mode=%s strlen=%d\n", mode, strlen(mode));
                                                             ^
ammodule.c: In function ‘amload’:
ammodule.c:32:14: warning: incompatible implicit declaration of built-in function ‘printf’
 #define LOGE printf
              ^
ammodule.c:71:9: note: in expansion of macro ‘LOGE’
         LOGE("amload: module=%s\n%s", path, err_str ? err_str : "unknown");
         ^
ammodule.c:32:14: warning: incompatible implicit declaration of built-in function ‘printf’
 #define LOGE printf
              ^
ammodule.c:80:9: note: in expansion of macro ‘LOGE’
         LOGE("amload: couldn't find symbol %s", sym);
         ^
ammodule.c:32:14: warning: incompatible implicit declaration of built-in function ‘printf’
 #define LOGE printf
              ^
ammodule.c:92:9: note: in expansion of macro ‘LOGE’
         LOGE("module tag,api unsupport tag=%d,expect=%d api=%d.%d,expect=%d.%d\n",
         ^
ammodule.c:33:14: warning: incompatible implicit declaration of built-in function ‘printf’
 #define LOGV printf
              ^
ammodule.c:105:9: note: in expansion of macro ‘LOGV’
         LOGV("loaded module path=%s hmi=%p handle=%p",
         ^
ammodule.c: In function ‘ammodule_load_module’:
ammodule.c:124:5: warning: incompatible implicit declaration of built-in function ‘snprintf’
     snprintf(name, PATH_MAX, "%s",  modulename);
     ^
ammodule.c:31:14: warning: incompatible implicit declaration of built-in function ‘printf’
 #define LOGI printf
              ^
ammodule.c:164:5: note: in expansion of macro ‘LOGI’
     LOGI("load mode %s,on %s %d\n", modulename, path, status);
     ^
ammodule.c: In function ‘ammodule_open_module’:
ammodule.c:32:14: warning: incompatible implicit declaration of built-in function ‘printf’
 #define LOGE printf
              ^
ammodule.c:176:9: note: in expansion of macro ‘LOGE’
         LOGE("open module (%s)  failed ret(%d)\n", module->name, ret);
         ^
ammodule.c:31:14: warning: incompatible implicit declaration of built-in function ‘printf’
 #define LOGI printf
              ^
ammodule.c:178:9: note: in expansion of macro ‘LOGI’
         LOGI("open module success,\n\tname:%s\n\t%s\n", module->name, module->descript);
         ^
ammodule.c: In function ‘ammodule_simple_load_module’:
ammodule.c:214:35: warning: passing argument 2 of ‘ammodule_load_module’ from incompatible pointer type
     ret=ammodule_load_module(name,&module);
                                   ^
ammodule.c:114:5: note: expected ‘const struct ammodule_t **’ but argument is of type ‘struct ammodule_t **’
 int ammodule_load_module(const char *modulename, const struct ammodule_t **module)
     ^
amsysfsutils.c: In function ‘amsysfs_set_sysfs_str’:
amsysfsutils.c:30:32: warning: incompatible implicit declaration of built-in function ‘strlen’
         bytes = write(fd, val, strlen(val));
                                ^
amsysfsutils.c: In function ‘amsysfs_get_sysfs_str’:
amsysfsutils.c:43:3: warning: incompatible implicit declaration of built-in function ‘memset’
   memset(valstr,0,size);
   ^
amsysfsutils.c:45:16: warning: incompatible implicit declaration of built-in function ‘strlen’
         valstr[strlen(valstr)] = '\0';
                ^
amsysfsutils.c: In function ‘amsysfs_set_sysfs_int’:
amsysfsutils.c:64:33: warning: incompatible implicit declaration of built-in function ‘strlen’
         bytes = write(fd, bcmd, strlen(bcmd));
                                 ^
amsysfsutils.c: In function ‘amsysfs_set_sysfs_int16’:
amsysfsutils.c:97:33: warning: incompatible implicit declaration of built-in function ‘strlen’
         bytes = write(fd, bcmd, strlen(bcmd));
                                 ^
Amvideoutils.c: In function ‘amvideo_utils_get_freescale_enable’:
Amvideoutils.c:57:9: warning: incompatible implicit declaration of built-in function ‘strlen’
         strlen("free_scale_enalbe:[0x1]"))==0){
         ^
Amvideoutils.c: In function ‘is_video_on_vpp2’:
Amvideoutils.c:86:5: warning: incompatible implicit declaration of built-in function ‘memset’
     memset(val, 0, sizeof(val));
     ^
Amvideoutils.c: In function ‘is_vertical_panel’:
Amvideoutils.c:106:5: warning: incompatible implicit declaration of built-in function ‘memset’
     memset(val, 0, sizeof(val));
     ^
Amvideoutils.c: In function ‘is_vertical_panel_reverse’:
Amvideoutils.c:121:5: warning: incompatible implicit declaration of built-in function ‘memset’
     memset(val, 0, sizeof(val));
     ^
Amvideoutils.c: In function ‘get_osd_display_mode’:
Amvideoutils.c:145:5: warning: incompatible implicit declaration of built-in function ‘memset’
     memset(buf,0,sizeof(buf)); 
     ^
Amvideoutils.c: In function ‘get_device_win’:
Amvideoutils.c:212:5: warning: incompatible implicit declaration of built-in function ‘memset’
     memset(prop_value_h,0,32);
     ^
Amvideoutils.c: In function ‘amvideo_utils_set_virtual_position’:
Amvideoutils.c:456:9: warning: incompatible implicit declaration of built-in function ‘memset’
         memset(val, 0, sizeof(val));
         ^
Amvideoutils.c:592:13: warning: incompatible implicit declaration of built-in function ‘memset’
             memset(val, 0, sizeof(val));
             ^
Amvideoutils.c:619:13: warning: incompatible implicit declaration of built-in function ‘memset’
             memset(val, 0, sizeof(val));
             ^
make[1]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amavutils'
make -C amadec
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amadec'
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o adec-external-ctrl.o adec-external-ctrl.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from adec-external-ctrl.c:15:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from adec-external-ctrl.c:15:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from adec-external-ctrl.c:15:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o adec-internal-mgt.o adec-internal-mgt.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from adec-internal-mgt.c:18:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from adec-internal-mgt.c:18:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from adec-internal-mgt.c:18:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
adec-internal-mgt.c: In function 'start_adec':
adec-internal-mgt.c:134:6: warning: 'return' with a value, in function returning void
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o adec-ffmpeg-mgt.o adec-ffmpeg-mgt.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-ffmpeg-mgt.c:9:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-ffmpeg-mgt.c:9:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-ffmpeg-mgt.c:9:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
adec-ffmpeg-mgt.c:56:1: warning: initialization makes integer from pointer without a cast
adec-ffmpeg-mgt.c:56:1: warning: (near initialization for 'audio_lib_list[16].codec_id')
adec-ffmpeg-mgt.c: In function 'find_audio_lib':
adec-ffmpeg-mgt.c:75:16: warning: assignment makes integer from pointer without a cast
adec-ffmpeg-mgt.c:78:40: warning: passing argument 1 of 'dlsym' makes pointer from integer without a cast
In file included from adec-ffmpeg-mgt.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected 'void * __restrict__' but argument is of type 'int'
 extern void *dlsym (void *__restrict __handle,
              ^
adec-ffmpeg-mgt.c:79:42: warning: passing argument 1 of 'dlsym' makes pointer from integer without a cast
In file included from adec-ffmpeg-mgt.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected 'void * __restrict__' but argument is of type 'int'
 extern void *dlsym (void *__restrict __handle,
              ^
adec-ffmpeg-mgt.c:80:43: warning: passing argument 1 of 'dlsym' makes pointer from integer without a cast
In file included from adec-ffmpeg-mgt.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected 'void * __restrict__' but argument is of type 'int'
 extern void *dlsym (void *__restrict __handle,
              ^
adec-ffmpeg-mgt.c:81:43: warning: passing argument 1 of 'dlsym' makes pointer from integer without a cast
In file included from adec-ffmpeg-mgt.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected 'void * __restrict__' but argument is of type 'int'
 extern void *dlsym (void *__restrict __handle,
              ^
adec-ffmpeg-mgt.c: In function 'audio_codec_init':
adec-ffmpeg-mgt.c:547:36: warning: assignment from incompatible pointer type
adec-ffmpeg-mgt.c: In function 'start_adec':
adec-ffmpeg-mgt.c:669:21: warning: 'return' with a value, in function returning void
adec-ffmpeg-mgt.c: In function 'start_decode_thread':
adec-ffmpeg-mgt.c:811:9: warning: 'return' with a value, in function returning void
adec-ffmpeg-mgt.c:822:9: warning: 'return' with a value, in function returning void
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o adec-message.o adec-message.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from adec-message.c:14:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from adec-message.c:14:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from adec-message.c:14:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o adec-pts-mgt.o adec-pts-mgt.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-pts-mgt.c:17:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-pts-mgt.c:17:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-pts-mgt.c:17:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o feeder.o feeder.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/feeder.h:14,
                 from feeder.c:16:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/feeder.h:14,
                 from feeder.c:16:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/feeder.h:14,
                 from feeder.c:16:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o adec_write.o adec_write.c
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o adec_read.o adec_read.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from adec_read.c:7:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from adec_read.c:7:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from adec_read.c:7:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
adec_read.c: In function 'uio_init':
adec_read.c:69:9: warning: assignment makes integer from pointer without a cast
adec_read.c:72:12: warning: comparison between pointer and integer
adec_read.c:77:11: warning: assignment makes pointer from integer without a cast
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o audiodsp_update_format.o audiodsp_update_format.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from audiodsp_update_format.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from audiodsp_update_format.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from audiodsp_update_format.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o spdif_api.o spdif_api.c
In file included from spdif_api.c:32:0:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
spdif_api.c:42:24: warning: initialization makes pointer from integer without a cast
spdif_api.c: In function 'iec958_packed_frame_write_958buf':
spdif_api.c:224:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
spdif_api.c:235:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
spdif_api.c:251:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o pcmenc_api.o pcmenc_api.c
In file included from pcmenc_api.c:38:0:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
pcmenc_api.c: In function 'pcmenc_init':
pcmenc_api.c:43:10: warning: assignment makes pointer from integer without a cast
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o dts_transenc_api.o dts_transenc_api.c
In file included from dts_transenc_api.c:12:0:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
dts_transenc_api.c: In function 'dts_transenc_init':
dts_transenc_api.c:52:18: warning: initialization makes integer from pointer without a cast
dts_transenc_api.c:55:34: warning: passing argument 1 of 'dlsym' makes pointer from integer without a cast
In file included from dts_transenc_api.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected 'void * __restrict__' but argument is of type 'int'
 extern void *dlsym (void *__restrict __handle,
              ^
dts_transenc_api.c:56:30: warning: passing argument 1 of 'dlsym' makes pointer from integer without a cast
In file included from dts_transenc_api.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected 'void * __restrict__' but argument is of type 'int'
 extern void *dlsym (void *__restrict __handle,
              ^
dts_transenc_api.c:57:31: warning: passing argument 1 of 'dlsym' makes pointer from integer without a cast
In file included from dts_transenc_api.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected 'void * __restrict__' but argument is of type 'int'
 extern void *dlsym (void *__restrict __handle,
              ^
dts_transenc_api.c: In function 'dts_transenc_process_frame':
dts_transenc_api.c:116:69: warning: passing argument 4 of 'enc_ops.enc_encode' makes integer from pointer without a cast
dts_transenc_api.c:116:69: note: expected 'unsigned int' but argument is of type 'unsigned int *'
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -D_FORTIFY_SOURCE=2  -c -o dts_enc.o dts_enc.c
In file included from dts_enc.c:6:0:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
dts_enc.c: In function 'dts_enc_loop':
dts_enc.c:191:5: warning: return makes pointer from integer without a cast
cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -O2 -mlong-calls -fPIC -g -I/build/aml-libs-c1/src/c1_aml_libs/amadec -I/build/aml-libs-c1/src/c1_aml_libs/amadec/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amavutils/include -I/build/aml-libs-c1/src/c1_aml_libs/amadec/../amplayer/player/include -I/usr/include -L/usr/lib -DALSA_OUT -Wl,-O1,--sort-common,--as-needed,-z,relro -shared -lpthread -lm -lasound -lrt adec-external-ctrl.c adec-internal-mgt.c adec-ffmpeg-mgt.c adec-message.c adec-pts-mgt.c feeder.c adec_write.c adec_read.c dsp/audiodsp-ctl.c audio_out/alsa-out.c audio_out/aml_resample.c audiodsp_update_format.c spdif_api.c pcmenc_api.c dts_transenc_api.c dts_enc.c audio_out/alsactl_parser.c -o libamadec.so  
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from adec-external-ctrl.c:15:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from adec-external-ctrl.c:15:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from adec-external-ctrl.c:15:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from adec-internal-mgt.c:18:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from adec-internal-mgt.c:18:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from adec-internal-mgt.c:18:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
adec-internal-mgt.c: In function ‘start_adec’:
adec-internal-mgt.c:134:6: warning: ‘return’ with a value, in function returning void
      return -1;
      ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-ffmpeg-mgt.c:9:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-ffmpeg-mgt.c:9:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-ffmpeg-mgt.c:9:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
adec-ffmpeg-mgt.c:56:1: warning: initialization makes integer from pointer without a cast
 } ;
 ^
adec-ffmpeg-mgt.c:56:1: warning: (near initialization for ‘audio_lib_list[16].codec_id’)
adec-ffmpeg-mgt.c: In function ‘find_audio_lib’:
adec-ffmpeg-mgt.c:75:16: warning: assignment makes integer from pointer without a cast
             fd = dlopen(audio_lib_list[i].name,RTLD_NOW);
                ^
adec-ffmpeg-mgt.c:78:43: warning: passing argument 1 of ‘dlsym’ makes pointer from integer without a cast
                 adec_ops->init    = dlsym(fd, "audio_dec_init");
                                           ^
In file included from adec-ffmpeg-mgt.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
 extern void *dlsym (void *__restrict __handle,
              ^
adec-ffmpeg-mgt.c:79:43: warning: passing argument 1 of ‘dlsym’ makes pointer from integer without a cast
                 adec_ops->decode  = dlsym(fd, "audio_dec_decode");
                                           ^
In file included from adec-ffmpeg-mgt.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
 extern void *dlsym (void *__restrict __handle,
              ^
adec-ffmpeg-mgt.c:80:43: warning: passing argument 1 of ‘dlsym’ makes pointer from integer without a cast
                 adec_ops->release = dlsym(fd, "audio_dec_release");
                                           ^
In file included from adec-ffmpeg-mgt.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
 extern void *dlsym (void *__restrict __handle,
              ^
adec-ffmpeg-mgt.c:81:43: warning: passing argument 1 of ‘dlsym’ makes pointer from integer without a cast
                 adec_ops->getinfo = dlsym(fd, "audio_dec_getinfo");
                                           ^
In file included from adec-ffmpeg-mgt.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
 extern void *dlsym (void *__restrict __handle,
              ^
adec-ffmpeg-mgt.c: In function ‘audio_codec_init’:
adec-ffmpeg-mgt.c:547:39: warning: assignment from incompatible pointer type
       audec->adsp_ops.set_cur_apts    = armdec_set_pts;
                                       ^
adec-ffmpeg-mgt.c: In function ‘start_adec’:
adec-ffmpeg-mgt.c:669:21: warning: ‘return’ with a value, in function returning void
                     return -1;
                     ^
adec-ffmpeg-mgt.c: In function ‘start_decode_thread’:
adec-ffmpeg-mgt.c:811:9: warning: ‘return’ with a value, in function returning void
         return -1;
         ^
adec-ffmpeg-mgt.c:822:9: warning: ‘return’ with a value, in function returning void
         return ret;
         ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from adec-message.c:14:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from adec-message.c:14:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from adec-message.c:14:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-pts-mgt.c:17:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-pts-mgt.c:17:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/adec-pts-mgt.h:14,
                 from adec-pts-mgt.c:17:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/feeder.h:14,
                 from feeder.c:16:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/feeder.h:14,
                 from feeder.c:16:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/feeder.h:14,
                 from feeder.c:16:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from adec_read.c:7:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from adec_read.c:7:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from adec_read.c:7:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
adec_read.c: In function ‘uio_init’:
adec_read.c:69:9: warning: assignment makes integer from pointer without a cast
  memmap = mmap(NULL, phys_size, PROT_READ|PROT_WRITE, MAP_SHARED, audec->fd_uio, 0* pagesize);

         ^
adec_read.c:72:12: warning: comparison between pointer and integer
  if(memmap == MAP_FAILED){

            ^
adec_read.c:77:11: warning: assignment makes pointer from integer without a cast
  reg_base = memmap + phys_offset;

           ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from dsp/audiodsp-ctl.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from dsp/audiodsp-ctl.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from dsp/audiodsp-ctl.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from audio_out/alsa-out.c:20:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from audio_out/alsa-out.c:20:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from audio_out/alsa-out.c:20:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
In file included from audio_out/aml_resample.c:13:0:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from audio_out/aml_resample.h:5,
                 from audio_out/aml_resample.c:14:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from audio_out/aml_resample.h:5,
                 from audio_out/aml_resample.c:14:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
audio_out/aml_resample.c: In function ‘af_resample_api’:
audio_out/aml_resample.c:383:39: warning: passing argument 2 of ‘dsp_pcm_read’ from incompatible pointer type
     sample_read = dsp_pcm_read(audec, pbuf, *size); // return mono sample number
                                       ^
audio_out/aml_resample.c:320:12: note: expected ‘char *’ but argument is of type ‘short int *’
 static int dsp_pcm_read(aml_audio_dec_t*audec,char *data_in,int len)
            ^
audio_out/aml_resample.c:398:43: warning: passing argument 2 of ‘dsp_pcm_read’ from incompatible pointer type
         sample_read = dsp_pcm_read(audec, pbuf, *size-num_sample);
                                           ^
audio_out/aml_resample.c:320:12: note: expected ‘char *’ but argument is of type ‘short int *’
 static int dsp_pcm_read(aml_audio_dec_t*audec,char *data_in,int len)
            ^
audio_out/aml_resample.c:415:39: warning: passing argument 2 of ‘dsp_pcm_read’ from incompatible pointer type
     sample_read = dsp_pcm_read(audec, pbuf, *size*(128+resample_delta)/128 );
                                       ^
audio_out/aml_resample.c:320:12: note: expected ‘char *’ but argument is of type ‘short int *’
 static int dsp_pcm_read(aml_audio_dec_t*audec,char *data_in,int len)
            ^
audio_out/aml_resample.c:436:43: warning: passing argument 2 of ‘dsp_pcm_read’ from incompatible pointer type
         sample_read = dsp_pcm_read(audec, pbuf, *size-num_sample);
                                           ^
audio_out/aml_resample.c:320:12: note: expected ‘char *’ but argument is of type ‘short int *’
 static int dsp_pcm_read(aml_audio_dec_t*audec,char *data_in,int len)
            ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:20:0,
                 from audiodsp_update_format.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:22:0,
                 from audiodsp_update_format.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amadec/adec_write.h:9:0: warning: "MIN" redefined
 #define MIN(a,b) (a>b)?b:a
 ^
In file included from /build/aml-libs-c1/src/c1_aml_libs/amadec/include/audio-out.h:14:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amadec/audio-dec.h:16,
                 from audiodsp_update_format.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/adec-macros.h:39:0: note: this is the location of the previous definition
 #define MIN(X, Y)    ((X) < (Y)) ? (X) : (Y)
 ^
In file included from spdif_api.c:32:0:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
spdif_api.c:42:24: warning: initialization makes pointer from integer without a cast
 static char *map_buf = 0xffffffff;

                        ^
In file included from pcmenc_api.c:38:0:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
pcmenc_api.c: In function ‘pcmenc_init’:
pcmenc_api.c:43:10: warning: assignment makes pointer from integer without a cast
  map_buf = 0xffffffff;

          ^
In file included from dts_transenc_api.c:12:0:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
dts_transenc_api.c: In function ‘dts_transenc_init’:
dts_transenc_api.c:52:18: warning: initialization makes integer from pointer without a cast
  int fd_dtsenc = dlopen("libdtsenc.so",RTLD_NOW);
                  ^
dts_transenc_api.c:55:34: warning: passing argument 1 of ‘dlsym’ makes pointer from integer without a cast
         enc_ops.enc_init = dlsym(fd_dtsenc, "init");
                                  ^
In file included from dts_transenc_api.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
 extern void *dlsym (void *__restrict __handle,
              ^
dts_transenc_api.c:56:30: warning: passing argument 1 of ‘dlsym’ makes pointer from integer without a cast
   enc_ops.enc_encode = dlsym(fd_dtsenc, "encode_frame");
                              ^
In file included from dts_transenc_api.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
 extern void *dlsym (void *__restrict __handle,
              ^
dts_transenc_api.c:57:31: warning: passing argument 1 of ‘dlsym’ makes pointer from integer without a cast
   enc_ops.enc_release = dlsym(fd_dtsenc, "release");
                               ^
In file included from dts_transenc_api.c:7:0:
/usr/include/dlfcn.h:64:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
 extern void *dlsym (void *__restrict __handle,
              ^
dts_transenc_api.c: In function ‘dts_transenc_process_frame’:
dts_transenc_api.c:116:69: warning: passing argument 4 of ‘enc_ops.enc_encode’ makes integer from pointer without a cast
          rv = enc_ops.enc_encode(dts_transenc_info, stream, output, &output_size);//encode frame
                                                                     ^
dts_transenc_api.c:116:69: note: expected ‘unsigned int’ but argument is of type ‘unsigned int *’
In file included from dts_enc.c:6:0:
/build/aml-libs-c1/src/c1_aml_libs/amadec/include/log-print.h:25:72: warning: backslash and newline separated by space
                                     if(level&&atoi(level)>LOG_DEFAULT) \ 
 ^
dts_enc.c: In function ‘dts_enc_loop’:
dts_enc.c:191:5: warning: return makes pointer from integer without a cast
     return -1;
     ^
make[1]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amadec'
make -C amcodec
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec'
MAKE audio_ctl
make[2]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/audio_ctl'
make[2]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/audio_ctl'
make[2]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/audio_ctl'
CC  audio_ctrl.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amcodec/include/codec_type.h:17:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amcodec/include/codec.h:15,
                 from audio_ctrl.c:20:
/build/aml-libs-c1/src/c1_aml_libs/amcodec/include/amports/aformat.h:80:35: warning: backslash and newline separated by space
          ||(afmt == AFORMAT_EAC3) \         
 ^
LD build-in.o
make[2]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/audio_ctl'
MAKE codec
make[2]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/codec'
make[2]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/codec'
make[2]: Entering directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/codec'
CC  codec_ctrl.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amcodec/include/codec_type.h:17:0,
                 from codec_ctrl.c:22:
/build/aml-libs-c1/src/c1_aml_libs/amcodec/include/amports/aformat.h:80:35: warning: backslash and newline separated by space
          ||(afmt == AFORMAT_EAC3) \         
 ^
codec_ctrl.c: In function 'codec_init':
codec_ctrl.c:729:41: warning: passing argument 2 of 'audio_start' from incompatible pointer type
In file included from codec_ctrl.c:24:0:
/build/aml-libs-c1/src/c1_aml_libs/amcodec/include/audio_priv.h:14:6: note: expected 'struct codec_para_t *' but argument is of type 'struct arm_audio_info *'
codec_ctrl.c: In function 'codec_resume_audio':
codec_ctrl.c:871:41: warning: passing argument 2 of 'audio_start' from incompatible pointer type
In file included from codec_ctrl.c:24:0:
/build/aml-libs-c1/src/c1_aml_libs/amcodec/include/audio_priv.h:14:6: note: expected 'struct codec_para_t *' but argument is of type 'struct arm_audio_info *'
codec_ctrl.c: In function 'codec_get_audio_resample_ena':
codec_ctrl.c:2119:170: warning: passing argument 3 of 'codec_h_control' makes integer from pointer without a cast
In file included from codec_ctrl.c:25:0:
codec_h_ctrl.h:50:5: note: expected 'long unsigned int' but argument is of type 'long unsigned int *'
codec_ctrl.c: In function 'codec_get_video_delay_limited_ms':
codec_ctrl.c:2165:159: warning: passing argument 3 of 'codec_h_control' makes integer from pointer without a cast
In file included from codec_ctrl.c:25:0:
codec_h_ctrl.h:50:5: note: expected 'long unsigned int' but argument is of type 'int *'
codec_ctrl.c: In function 'codec_get_audio_delay_limited_ms':
codec_ctrl.c:2194:159: warning: passing argument 3 of 'codec_h_control' makes integer from pointer without a cast
In file included from codec_ctrl.c:25:0:
codec_h_ctrl.h:50:5: note: expected 'long unsigned int' but argument is of type 'int *'
codec_ctrl.c: In function 'codec_get_audio_cur_delay_ms':
codec_ctrl.c:2208:159: warning: passing argument 3 of 'codec_h_control' makes integer from pointer without a cast
In file included from codec_ctrl.c:25:0:
codec_h_ctrl.h:50:5: note: expected 'long unsigned int' but argument is of type 'int *'
codec_ctrl.c: In function 'codec_get_video_cur_delay_ms':
codec_ctrl.c:2223:159: warning: passing argument 3 of 'codec_h_control' makes integer from pointer without a cast
In file included from codec_ctrl.c:25:0:
codec_h_ctrl.h:50:5: note: expected 'long unsigned int' but argument is of type 'int *'
codec_ctrl.c: In function 'codec_get_video_cur_bitrate':
codec_ctrl.c:2237:159: warning: passing argument 3 of 'codec_h_control' makes integer from pointer without a cast
In file included from codec_ctrl.c:25:0:
codec_h_ctrl.h:50:5: note: expected 'long unsigned int' but argument is of type 'int *'
codec_ctrl.c: In function 'codec_get_audio_cur_bitrate':
codec_ctrl.c:2252:159: warning: passing argument 3 of 'codec_h_control' makes integer from pointer without a cast
In file included from codec_ctrl.c:25:0:
codec_h_ctrl.h:50:5: note: expected 'long unsigned int' but argument is of type 'int *'
codec_ctrl.c: In function 'codec_get_last_checkout_apts':
codec_ctrl.c:2280:157: warning: passing argument 3 of 'codec_h_control' makes integer from pointer without a cast
In file included from codec_ctrl.c:25:0:
codec_h_ctrl.h:50:5: note: expected 'long unsigned int' but argument is of type 'long unsigned int *'
codec_ctrl.c: In function 'codec_get_last_checkin_apts':
codec_ctrl.c:2285:157: warning: passing argument 3 of 'codec_h_control' makes integer from pointer without a cast
In file included from codec_ctrl.c:25:0:
codec_h_ctrl.h:50:5: note: expected 'long unsigned int' but argument is of type 'long unsigned int *'
CC  codec_h_ctrl.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amcodec/include/codec_type.h:17:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amcodec/include/codec.h:15,
                 from codec_h_ctrl.c:22:
/build/aml-libs-c1/src/c1_aml_libs/amcodec/include/amports/aformat.h:80:35: warning: backslash and newline separated by space
          ||(afmt == AFORMAT_EAC3) \         
 ^
CC  codec_msg.c
In file included from /build/aml-libs-c1/src/c1_aml_libs/amcodec/include/codec_type.h:17:0,
                 from /build/aml-libs-c1/src/c1_aml_libs/amcodec/include/codec.h:15,
                 from codec_msg.c:21:
/build/aml-libs-c1/src/c1_aml_libs/amcodec/include/amports/aformat.h:80:35: warning: backslash and newline separated by space
          ||(afmt == AFORMAT_EAC3) \         
 ^
LD build-in.o
make[2]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec/codec'
LD libamcodec.so audio_ctl-dir codec-dir  
make[1]: Leaving directory '/build/aml-libs-c1/src/c1_aml_libs/amcodec'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "aml-libs-c1"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: aml-libs-c1 r11.820b12a-5 (Sat Jan 31 09:43:38 MST 2015)
==> Cleaning up...
==> Removing installed dependencies...
checking dependencies...
:: gettext optionally requires git: for autopoint infrastructure updates

Packages (3) alsa-lib-1.0.28-1  git-2.2.2-1  perl-error-0.17022-1

Total Removed Size:  22.46 MiB

:: Do you want to remove these packages? [Y/n] 
removing git...
removing perl-error...
removing alsa-lib...