Cook: xf86-video-geode 2.11.19 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): util-macros-1.19.2-any Installing (pkg/local): util-linux-uuid-2.33-i486 Installing (pkg/local): util-linux-smartcols-2.33-i486 Installing (pkg/local): util-linux-mount-2.33-i486 Installing (pkg/local): util-linux-blkid-2.33-i486 Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): dbus-1.12.12-i486 Installing (pkg/local): eudev-3.2.7-i486 Installing (pkg/local): linux-agp-4.14.85-i486 Installing (pkg/local): linux-drm-4.14.85-i486 Installing (pkg/local): libpciaccess-0.14-i486 Installing (pkg/local): libdrm-2.4.96-i486 Installing (pkg/local): libgpg-error-1.33-i486 Installing (pkg/local): libgcrypt-1.8.3-i486 Installing (pkg/local): libxext-1.3.3-i486 Installing (pkg/local): libice-1.0.9-i486 Installing (pkg/local): libsm-1.2.3-i486 Installing (pkg/local): libxt-1.1.5-i486 Installing (pkg/local): libxmu-1.1.2-i486 Installing (pkg/local): libxpm-3.5.12-i486 Installing (pkg/local): libxaw-1.0.13-i486 Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): glib-2.58.2-i486 Installing (pkg/local): libharfbuzz-1.8.4-i486 Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): freetype-2.9.1-i486 Installing (pkg/local): libfontenc-1.1.3-i486 Installing (pkg/local): libxfont2-2.0.3-i486 Installing (pkg/local): libdmx-1.1.4-i486 Installing (pkg/local): libxshmfence-1.3-i486 Installing (pkg/local): pixman-0.36.0-i486 Installing (pkg/local): xkeyboard-config-2.25-any Installing (pkg/local): libxkbfile-1.0.9-i486 Installing (pkg/local): xkbcomp-1.4.2-i486 Installing (pkg/local): xorg-server-1.20.3-i486 Installing (pkg/local): libxfixes-5.0.3-i486 Installing (pkg/local): libxi-1.7.9-i486 Installing (pkg/local): libxrender-0.9.10-i486 Installing (pkg/local): xorg-server-xdmx-1.20.3-i486 Installing (pkg/local): libepoxy-1.5.3-i486 Installing (pkg/local): libxdamage-1.1.4-i486 Installing (pkg/local): libxxf86vm-1.1.4-i486 Installing (pkg/local): mesa-18.3.1-i486 Installing (pkg/local): xcb-util-0.4.0-i486 Installing (pkg/local): xcb-util-image-0.4.0-i486 Installing (pkg/local): xcb-util-keysyms-0.4.0-i486 Installing (pkg/local): xcb-util-renderutil-0.3.9-i486 Installing (pkg/local): xcb-util-wm-0.4.1-i486 Installing (pkg/local): xorg-server-xephyr-1.20.3-i486 Installing (pkg/local): xorg-server-xnest-1.20.3-i486 Installing (pkg/local): xorg-server-xvfb-1.20.3-i486 Installing (pkg/local): libxml2-2.9.8-i486 Installing (pkg/local): wayland-1.16.0-i486 Installing (pkg/local): mesa-libgbm-18.3.1-i486 Installing (pkg/local): xorg-server-module-glamor-1.20.3-i486 Installing (pkg/local): libdrm-amdgpu-2.4.96-i486 Installing (pkg/local): libdrm-etnaviv-2.4.96-i486 Installing (pkg/local): libdrm-intel-2.4.96-i486 Installing (pkg/local): libdrm-nouveau-2.4.96-i486 Installing (pkg/local): libdrm-radeon-2.4.96-i486 Installing (pkg/local): libllvm-7.0.0-i486 Installing (pkg/local): mesa-dri-18.3.1-i486 Installing (pkg/local): mesa-libegl-18.3.1-i486 Installing (pkg/local): mesa-osmesa-18.3.1-i486 Installing (pkg/local): mesa-libxatracker-18.3.1-i486 Installing (pkg/local): mesa-vdpau-18.3.1-i486 Installing (pkg/local): libdrm-exynos-2.4.96-i486 Installing (pkg/local): libdrm-omap-2.4.96-i486 Installing (pkg/local): libdrm-tegra-2.4.96-i486 Installing (pkg/local): libdrm-dev-2.4.96-any Installing (pkg/local): wayland-dev-1.16.0-any Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): libxfixes-dev-5.0.3-any Installing (pkg/local): libxdamage-dev-1.1.4-any Installing (pkg/local): libxext-dev-1.3.3-any Installing (pkg/local): libxxf86vm-dev-1.1.4-any Installing (pkg/local): mesa-dev-18.3.1-any Installing (pkg/local): libpciaccess-dev-0.14-any Installing (pkg/local): pixman-dev-0.36.0-any Installing (pkg/local): xorg-server-dev-1.20.3-any Extracting source archive "xf86-video-geode-2.11.19.tar.bz2" Checking sha1sum of source tarball... /home/slitaz/src/xf86-video-geode-2.11.19.tar.bz2: OK Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking whether i486-slitaz-linux-gcc understands -c and -o together... yes checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i486-slitaz-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i486-slitaz-linux-gnu file names to i486-slitaz-linux-gnu format... func_convert_file_noop checking how to convert i486-slitaz-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i486-slitaz-linux-objdump... i486-slitaz-linux-objdump checking how to recognize dependent libraries... pass_all checking for i486-slitaz-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar checking for archiver @FILE support... @ checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking command to parse /usr/bin/nm -B output from i486-slitaz-linux-gcc object... ok checking for sysroot... no checking for i486-slitaz-linux-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-gcc static flag -static works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for i486-slitaz-linux-gcc option to accept ISO C99... none needed checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for i486-slitaz-linux-pkg-config... /usr/bin/i486-slitaz-linux-pkg-config checking pkg-config is at least version 0.9.0... yes checking if i486-slitaz-linux-gcc supports -Werror=unknown-warning-option... no checking if i486-slitaz-linux-gcc supports -Werror=unused-command-line-argument... no checking if i486-slitaz-linux-gcc supports -Wall... yes checking if i486-slitaz-linux-gcc supports -Wpointer-arith... yes checking if i486-slitaz-linux-gcc supports -Wmissing-declarations... yes checking if i486-slitaz-linux-gcc supports -Wformat=2... yes checking if i486-slitaz-linux-gcc supports -Wstrict-prototypes... yes checking if i486-slitaz-linux-gcc supports -Wmissing-prototypes... yes checking if i486-slitaz-linux-gcc supports -Wnested-externs... yes checking if i486-slitaz-linux-gcc supports -Wbad-function-cast... yes checking if i486-slitaz-linux-gcc supports -Wold-style-definition... yes checking if i486-slitaz-linux-gcc supports -Wdeclaration-after-statement... yes checking if i486-slitaz-linux-gcc supports -Wunused... yes checking if i486-slitaz-linux-gcc supports -Wuninitialized... yes checking if i486-slitaz-linux-gcc supports -Wshadow... yes checking if i486-slitaz-linux-gcc supports -Wmissing-noreturn... yes checking if i486-slitaz-linux-gcc supports -Wmissing-format-attribute... yes checking if i486-slitaz-linux-gcc supports -Wredundant-decls... yes checking if i486-slitaz-linux-gcc supports -Wlogical-op... yes checking if i486-slitaz-linux-gcc supports -Werror=implicit... yes checking if i486-slitaz-linux-gcc supports -Werror=nonnull... yes checking if i486-slitaz-linux-gcc supports -Werror=init-self... yes checking if i486-slitaz-linux-gcc supports -Werror=main... yes checking if i486-slitaz-linux-gcc supports -Werror=missing-braces... yes checking if i486-slitaz-linux-gcc supports -Werror=sequence-point... yes checking if i486-slitaz-linux-gcc supports -Werror=return-type... yes checking if i486-slitaz-linux-gcc supports -Werror=trigraphs... yes checking if i486-slitaz-linux-gcc supports -Werror=array-bounds... yes checking if i486-slitaz-linux-gcc supports -Werror=write-strings... yes checking if i486-slitaz-linux-gcc supports -Werror=address... yes checking if i486-slitaz-linux-gcc supports -Werror=int-to-pointer-cast... yes checking if i486-slitaz-linux-gcc supports -Werror=pointer-to-int-cast... yes checking if i486-slitaz-linux-gcc supports -pedantic... yes checking if i486-slitaz-linux-gcc supports -Werror... yes checking if i486-slitaz-linux-gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking linux/videodev2.h usability... yes checking linux/videodev2.h presence... yes checking for linux/videodev2.h... yes checking if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking if DPMSExtension is defined... yes checking for XORG... yes checking for XEXT... yes checking xaa.h usability... no checking xaa.h presence... no checking for xaa.h... no checking whether to include XAA support... no checking whether XSERVER_LIBPCIACCESS is declared... yes checking for PCIACCESS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-recursive make[1]: Entering directory '/home/slitaz/wok/xf86-video-geode/source/xf86-video-geode-2.11.19' Making all in src make[2]: Entering directory '/home/slitaz/wok/xf86-video-geode/source/xf86-video-geode-2.11.19/src' CC cimarron.lo CC durango.lo CC geode_common.lo CC geode_dcon.lo CC geode_ddc.lo CC geode_driver.lo In file included from cimarron.c:198: ../src/cim/cim_rtns.h:48:27: warning: redundant redeclaration of 'cim_gp_ptr' [-Wredundant-decls] extern unsigned char *cim_gp_ptr; ^~~~~~~~~~ cimarron.c:169:16: note: previous definition of 'cim_gp_ptr' was here unsigned char *cim_gp_ptr = (unsigned char *) 0; ^~~~~~~~~~ In file included from cimarron.c:198: ../src/cim/cim_rtns.h:49:27: warning: redundant redeclaration of 'cim_fb_ptr' [-Wredundant-decls] extern unsigned char *cim_fb_ptr; ^~~~~~~~~~ cimarron.c:170:16: note: previous definition of 'cim_fb_ptr' was here unsigned char *cim_fb_ptr = (unsigned char *) 0; ^~~~~~~~~~ In file included from cimarron.c:198: ../src/cim/cim_rtns.h:50:27: warning: redundant redeclaration of 'cim_cmd_base_ptr' [-Wredundant-decls] extern unsigned char *cim_cmd_base_ptr; ^~~~~~~~~~~~~~~~ cimarron.c:171:16: note: previous definition of 'cim_cmd_base_ptr' was here unsigned char *cim_cmd_base_ptr = (unsigned char *) 0; ^~~~~~~~~~~~~~~~ In file included from cimarron.c:198: ../src/cim/cim_rtns.h:51:27: warning: redundant redeclaration of 'cim_cmd_ptr' [-Wredundant-decls] extern unsigned char *cim_cmd_ptr; ^~~~~~~~~~~ cimarron.c:172:16: note: previous definition of 'cim_cmd_ptr' was here unsigned char *cim_cmd_ptr = (unsigned char *) 0; ^~~~~~~~~~~ In file included from cimarron.c:198: ../src/cim/cim_rtns.h:52:27: warning: redundant redeclaration of 'cim_vid_ptr' [-Wredundant-decls] extern unsigned char *cim_vid_ptr; ^~~~~~~~~~~ cimarron.c:173:16: note: previous definition of 'cim_vid_ptr' was here unsigned char *cim_vid_ptr = (unsigned char *) 0; ^~~~~~~~~~~ In file included from cimarron.c:198: ../src/cim/cim_rtns.h:53:27: warning: redundant redeclaration of 'cim_vip_ptr' [-Wredundant-decls] extern unsigned char *cim_vip_ptr; ^~~~~~~~~~~ cimarron.c:174:16: note: previous definition of 'cim_vip_ptr' was here unsigned char *cim_vip_ptr = (unsigned char *) 0; ^~~~~~~~~~~ In file included from cimarron.c:198: ../src/cim/cim_rtns.h:54:27: warning: redundant redeclaration of 'cim_vg_ptr' [-Wredundant-decls] extern unsigned char *cim_vg_ptr; ^~~~~~~~~~ cimarron.c:175:16: note: previous definition of 'cim_vg_ptr' was here unsigned char *cim_vg_ptr = (unsigned char *) 0; ^~~~~~~~~~ In file included from cimarron.c:202: ../src/cim/cim_defs.h:745:15: warning: redundant redeclaration of 'cim_rdmsr' [-Wredundant-decls] extern void (*cim_rdmsr) (unsigned long, unsigned long *, unsigned long *); ^~~~~~~~~ cimarron.c:181:8: note: previous declaration of 'cim_rdmsr' was here void (*cim_rdmsr) (unsigned long, unsigned long *, unsigned long *); ^~~~~~~~~ In file included from cimarron.c:202: ../src/cim/cim_defs.h:746:15: warning: redundant redeclaration of 'cim_wrmsr' [-Wredundant-decls] extern void (*cim_wrmsr) (unsigned long, unsigned long, unsigned long); ^~~~~~~~~ cimarron.c:182:8: note: previous declaration of 'cim_wrmsr' was here void (*cim_wrmsr) (unsigned long, unsigned long, unsigned long); ^~~~~~~~~ In file included from cimarron.c:202: ../src/cim/cim_gp.c: In function 'gp_masked_blt': ../src/cim/cim_defs.h:529:16: warning: declaration of 'i' shadows a previous local [-Wshadow] unsigned long i; \ ^ ../src/cim/cim_gp.c:2728:9: note: in expansion of macro 'WRITE_COMMAND_STRING8' WRITE_COMMAND_STRING8(8 + (dword_count << 2), mono_mask, ^~~~~~~~~~~~~~~~~~~~~ In file included from cimarron.c:214: ../src/cim/cim_gp.c:2645:19: note: shadowed declaration is here unsigned long i, ch3_offset, base; ^ In file included from cimarron.c:202: ../src/cim/cim_defs.h:529:16: warning: declaration of 'i' shadows a previous local [-Wshadow] unsigned long i; \ ^ ../src/cim/cim_gp.c:2850:9: note: in expansion of macro 'WRITE_COMMAND_STRING8' WRITE_COMMAND_STRING8(8 + (dword_count << 2), color_data, ^~~~~~~~~~~~~~~~~~~~~ In file included from cimarron.c:214: ../src/cim/cim_gp.c:2645:19: note: shadowed declaration is here unsigned long i, ch3_offset, base; ^ In file included from cimarron.c:202: ../src/cim/cim_gp.c: In function 'gp_screen_to_screen_masked': ../src/cim/cim_defs.h:529:16: warning: declaration of 'i' shadows a previous local [-Wshadow] unsigned long i; \ ^ ../src/cim/cim_gp.c:2965:9: note: in expansion of macro 'WRITE_COMMAND_STRING8' WRITE_COMMAND_STRING8(8 + (dword_count << 2), mono_mask, ^~~~~~~~~~~~~~~~~~~~~ In file included from cimarron.c:214: ../src/cim/cim_gp.c:2883:19: note: shadowed declaration is here unsigned long i, base; ^ In file included from cimarron.c:221: ../src/cim/cim_vg.c: In function 'vg_get_current_display_mode': ../src/cim/cim_vg.c:1384:16: warning: declaration of 'msr_value' shadows a previous local [-Wshadow] Q_WORD msr_value; ^~~~~~~~~ ../src/cim/cim_vg.c:1315:12: note: shadowed declaration is here Q_WORD msr_value; ^~~~~~~~~ In file included from cimarron.c:202: ../src/cim/cim_vg.c: In function 'vg_restore_state': ../src/cim/cim_defs.h:482:16: warning: declaration of 'i' shadows a previous local [-Wshadow] unsigned long i; \ ^ ../src/cim/cim_vg.c:2830:5: note: in expansion of macro 'WRITE_FB_STRING32' WRITE_FB_STRING32(memoffset, (unsigned char *) &(vg_state->cursor_data[0]), ^~~~~~~~~~~~~~~~~ In file included from cimarron.c:221: ../src/cim/cim_vg.c:2739:28: note: shadowed declaration is here unsigned long irqfilt, i; ^ In file included from cimarron.c:228: ../src/cim/cim_df.c: In function 'df_read_composite_window_crc': ../src/cim/cim_df.c:1708:37: warning: variable 'vsyncstart' set but not used [-Wunused-but-set-variable] unsigned long vsyncend, vtotal, vsyncstart; ^~~~~~~~~~ In file included from cimarron.c:253: ../src/cim/cim_msr.c: In function 'msr_create_geodelink_table': ../src/cim/cim_msr.c:150:45: warning: declaration of 'gliu_nodes' shadows a global declaration [-Wshadow] msr_create_geodelink_table(GEODELINK_NODE * gliu_nodes) ~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/cim/cim_msr.c:38:16: note: shadowed declaration is here GEODELINK_NODE gliu_nodes[24]; ^~~~~~~~~~ ../src/cim/cim_msr.c: In function 'msr_create_device_list': ../src/cim/cim_msr.c:373:41: warning: declaration of 'gliu_nodes' shadows a global declaration [-Wshadow] msr_create_device_list(GEODELINK_NODE * gliu_nodes, int max_devices) ~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/cim/cim_msr.c:38:16: note: shadowed declaration is here GEODELINK_NODE gliu_nodes[24]; ^~~~~~~~~~ In file included from ../src/gfx/gfx_msr.c:46, from durango.c:223: ../src/gfx/msr_rdcl.c:30:6: warning: redundant redeclaration of 'redcloud_build_mbus_tree' [-Wredundant-decls] void redcloud_build_mbus_tree(void); /* private routine definition */ ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from durango.c:84: ../src/gfx/gfx_priv.h:82:6: note: previous declaration of 'redcloud_build_mbus_tree' was here void redcloud_build_mbus_tree(void); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/gfx/gfx_msr.c:46, from durango.c:223: ../src/gfx/msr_rdcl.c:31:5: warning: redundant redeclaration of 'redcloud_init_msr_devices' [-Wredundant-decls] int redcloud_init_msr_devices(MSR aDev[], unsigned int array_size); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from durango.c:84: ../src/gfx/gfx_priv.h:83:5: note: previous declaration of 'redcloud_init_msr_devices' was here int redcloud_init_msr_devices(MSR aDev[], unsigned int array_size); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/gfx/gfx_msr.c:46, from durango.c:223: ../src/gfx/msr_rdcl.c:34:12: warning: redundant redeclaration of 'redcloud_find_msr_device' [-Wredundant-decls] DEV_STATUS redcloud_find_msr_device(MSR * pDev); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from durango.c:84: ../src/gfx/gfx_priv.h:84:12: note: previous declaration of 'redcloud_find_msr_device' was here DEV_STATUS redcloud_find_msr_device(MSR * pDev); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from geode_driver.c:49: /usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^~~~~~~ In file included from ../src/gfx/gfx_disp.c:858, from durango.c:226: ../src/gfx/disp_gu2.c:30:6: warning: redundant redeclaration of 'gu2_enable_compression' [-Wredundant-decls] void gu2_enable_compression(void); /* private routine definition */ ^~~~~~~~~~~~~~~~~~~~~~ In file included from durango.c:84: ../src/gfx/gfx_priv.h:245:6: note: previous declaration of 'gu2_enable_compression' was here void gu2_enable_compression(void); ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/gfx/gfx_disp.c:858, from durango.c:226: ../src/gfx/disp_gu2.c:31:6: warning: redundant redeclaration of 'gu2_disable_compression' [-Wredundant-decls] void gu2_disable_compression(void); /* private routine definition */ ^~~~~~~~~~~~~~~~~~~~~~~ In file included from durango.c:84: ../src/gfx/gfx_priv.h:246:6: note: previous declaration of 'gu2_disable_compression' was here void gu2_disable_compression(void); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/gfx/gfx_disp.c:858, from durango.c:226: ../src/gfx/disp_gu2.c:32:5: warning: redundant redeclaration of 'gfx_set_display_control' [-Wredundant-decls] int gfx_set_display_control(int sync_polarities); /* private routine ^~~~~~~~~~~~~~~~~~~~~~~ In file included from durango.c:84: ../src/gfx/gfx_priv.h:538:5: note: previous declaration of 'gfx_set_display_control' was here int gfx_set_display_control(int sync_polarities); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/gfx/gfx_disp.c:858, from durango.c:226: ../src/gfx/disp_gu2.c:34:6: warning: redundant redeclaration of 'gfx_reset_video' [-Wredundant-decls] void gfx_reset_video(void); ^~~~~~~~~~~~~~~ In file included from durango.c:84: ../src/gfx/gfx_priv.h:537:6: note: previous declaration of 'gfx_reset_video' was here void gfx_reset_video(void); ^~~~~~~~~~~~~~~ In file included from ../src/gfx/gfx_disp.c:858, from durango.c:226: ../src/gfx/disp_gu2.c: In function 'gfx_set_display_video_enable': ../src/gfx/disp_gu2.c:1263:31: warning: variable 'dcfg' set but not used [-Wunused-but-set-variable] unsigned long lock, gcfg, dcfg; ^~~~ In file included from durango.c:227: ../src/gfx/gfx_vid.c: At top level: ../src/gfx/gfx_vid.c:148:5: warning: redundant redeclaration of 'gfx_set_screen_enable' [-Wredundant-decls] int gfx_set_screen_enable(int enable); /* forward declaration */ ^~~~~~~~~~~~~~~~~~~~~ In file included from durango.c:84: ../src/gfx/gfx_priv.h:539:5: note: previous declaration of 'gfx_set_screen_enable' was here int gfx_set_screen_enable(int enable); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../src/gfx/gfx_vid.c:165, from durango.c:227: ../src/gfx/vid_rdcl.c: In function 'gfx_set_clock_frequency': ../src/gfx/vid_rdcl.c:259:19: warning: variable 'value' set but not used [-Wunused-but-set-variable] unsigned long value; ^~~~~ CC geode_msr.lo CC gx_accel.lo In file included from gx_accel.c:53: /usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^~~~~~~ geode_ddc.c: In function 'GeodeGetDDC': geode_ddc.c:173:37: warning: passing argument 3 of 'GeodeI2CInit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!GeodeI2CInit(pScrni, &bus, "CS5536 DDC BUS")) ^~~~~~~~~~~~~~~~ geode_ddc.c:120:57: note: expected 'char *' but argument is of type 'const char *' GeodeI2CInit(ScrnInfoPtr pScrni, I2CBusPtr * ptr, char *name) ~~~~~~^~~~ gx_accel.c: In function 'amd_gx_exa_UploadToScreen': gx_accel.c:1493:17: warning: pointer targets in initialization of 'char *' from 'CARD8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] char *dst = pGeode->pExa->memoryBase + exaGetPixmapOffset(pDst); ^~~~~~ gx_accel.c: In function 'amd_gx_exa_DownloadFromScreen': gx_accel.c:1509:17: warning: pointer targets in initialization of 'char *' from 'CARD8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] char *src = pGeode->pExa->memoryBase + exaGetPixmapOffset(pSrc); ^~~~~~ gx_accel.c: In function 'amd_gx_exa_PrepareComposite': gx_accel.c:1747:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] GeodeRec *pGeode = GEODEPTR_FROM_PIXMAP(pxDst); ^~~~~~~~ At top level: gx_accel.c:1033:23: warning: 'vmode' defined but not used [-Wunused-variable] static unsigned short vmode[] = { ^~~~~ gx_accel.c:164:18: warning: 'PDfn_SM' defined but not used [-Wunused-const-variable=] static const int PDfn_SM[16] = { ^~~~~~~ gx_accel.c:157:18: warning: 'PDfn' defined but not used [-Wunused-const-variable=] static const int PDfn[16] = { ^~~~ gx_accel.c:89:31: warning: 'VEC_MODE' defined but not used [-Wunused-variable] static unsigned int BLT_MODE, VEC_MODE; ^~~~~~~~ CC gx_cursor.lo CC gx_driver.lo CC gx_randr.lo CC gx_regacc.lo In file included from gx_cursor.c:40: /usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^~~~~~~ CC gx_rotate.lo CC gx_video.lo In file included from gx_driver.c:62: gx_vga.c: In function 'gu2_vga_attr_ctrl': gx_vga.c:136:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; ^~~ gx_vga.c: In function 'gu2_gfx_to_vga': gx_vga.c:160:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; ^~~ gx_driver.c: In function 'GXPreInit': gx_driver.c:580:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((s = xf86GetOptValString(GeodeOptions, GX_OPTION_ROTATE))) { ^ gx_driver.c:615:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] panelgeo = xf86GetOptValString(GeodeOptions, GX_OPTION_PANEL_GEOMETRY); ^ gx_driver.c:617:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((s = xf86GetOptValString(GeodeOptions, GX_OPTION_ACCEL_METHOD))) { ^ gx_driver.c: In function 'GXCreateScreenResources': gx_driver.c:1251:19: warning: declaration of 'GXRandRSetConfig' shadows a global declaration [-Wshadow] Rotation(*GXRandRSetConfig) (ScreenPtr pScreen, Rotation rr, int rate, ^~~~~~~~~~~~~~~~ In file included from gx_driver.c:56: geode.h:431:23: note: shadowed declaration is here extern _X_EXPORT Bool GXRandRSetConfig(ScreenPtr pScreen, Rotation rotation, ^~~~~~~~~~~~~~~~ gx_driver.c: In function 'GXScreenInit': gx_driver.c:1429:5: error: implicit declaration of function 'xf86DisableRandR'; did you mean 'xf86DisableIO'? [-Werror=implicit-function-declaration] xf86DisableRandR(); /* We provide our own RandR goodness */ ^~~~~~~~~~~~~~~~ xf86DisableIO gx_driver.c:1429:5: warning: nested extern declaration of 'xf86DisableRandR' [-Wnested-externs] CC lx_cursor.lo In file included from gx_video.c:49: /usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp] #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." ^~~~~~~ gx_video.c:113:13: warning: redundant redeclaration of 'GXAccelSync' [-Wredundant-decls] extern void GXAccelSync(ScrnInfoPtr pScrni); ^~~~~~~~~~~ In file included from gx_video.c:54: geode.h:439:6: note: previous declaration of 'GXAccelSync' was here void GXAccelSync(ScrnInfoPtr pScrni); ^~~~~~~~~~~ gx_video.c:232:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {XvSettable | XvGettable, 0, 1, "XV_DOUBLE_BUFFER"}, ^~~~~~~~~~~~~~~~~~ gx_video.c:234:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {XvSettable | XvGettable, 0, (1 << 24) - 1, "XV_COLORKEY"}, ^~~~~~~~~~~~~ gx_video.c:235:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {XvSettable | XvGettable, 0, 1, "XV_FILTER"}, ^~~~~~~~~~~ gx_video.c:236:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {XvSettable | XvGettable, 0, 1, "XV_COLORKEYMODE"} ^~~~~~~~~~~~~~~~~ gx_video.c: In function 'GXSetVideoPosition': gx_video.c:802:32: warning: declaration of 'offset' shadows a global declaration [-Wshadow] int id, int offset, ScrnInfoPtr pScrni) ~~~~^~~~~~ gx_video.c:775:12: note: shadowed declaration is here static int offset, s1offset = 0, s2offset = 0, s3offset = 0; ^~~~~~ gx_video.c: In function 'GXDisplayVideo': gx_video.c:895:20: warning: declaration of 'offset' shadows a global declaration [-Wshadow] int offset, ~~~~^~~~~~ gx_video.c:775:12: note: shadowed declaration is here static int offset, s1offset = 0, s2offset = 0, s3offset = 0; ^~~~~~ gx_video.c:899:23: warning: declaration of 'dstBox' shadows a global declaration [-Wshadow] BoxPtr dstBox, short src_w, short src_h, short drw_w, ~~~~~~~^~~~~~ gx_video.c:771:15: note: shadowed declaration is here static BoxRec dstBox; ^~~~~~ gx_video.c: In function 'GXDisplaySurface': gx_video.c:1500:12: warning: declaration of 'dstBox' shadows a global declaration [-Wshadow] BoxRec dstBox; ^~~~~~ gx_video.c:771:15: note: shadowed declaration is here static BoxRec dstBox; ^~~~~~ CC lx_display.lo CC lx_driver.lo cc1: some warnings being treated as errors make[2]: *** [Makefile:660: gx_driver.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... lx_display.c: In function 'lx_crtc_commit': lx_display.c:327:9: warning: 'xf86_reload_cursors' is deprecated [-Wdeprecated-declarations] xf86_reload_cursors(crtc->scrn->pScreen); ^~~~~~~~~~~~~~~~~~~ In file included from lx_display.c:32: /usr/include/xorg/xf86Crtc.h:1068:37: note: declared here static _X_INLINE _X_DEPRECATED void xf86_reload_cursors(ScreenPtr screen) {} ^~~~~~~~~~~~~~~~~~~ lx_driver.c: In function 'LXPreInit': lx_driver.c:441:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((s = xf86GetOptValString(GeodeOptions, LX_OPTION_ROTATE))) { ^ lx_driver.c:475:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *pmode = xf86GetOptValString(GeodeOptions, LX_OPTION_PANEL_MODE); ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/slitaz/wok/xf86-video-geode/source/xf86-video-geode-2.11.19/src' make[1]: *** [Makefile:444: all-recursive] Error 1 make[1]: Leaving directory '/home/slitaz/wok/xf86-video-geode/source/xf86-video-geode-2.11.19' make: *** [Makefile:375: all] Error 2 Build dependencies to remove: 87 Removing: dbus eudev freetype glib libdmx libdrm libdrm-amdgpu libdrm-dev libdrm-etnaviv libdrm-exynos libdrm-intel libdrm-nouveau libdrm-omap libdrm-radeon libdrm-tegra libepoxy libfontenc libgcrypt libgpg-error libharfbuzz libice libllvm libpciaccess libpciaccess-dev libpcre libpng libsm libx11 libx11-dev libxau libxau-dev libxaw libxcb libxcb-dev libxdamage libxdamage-dev libxdmcp libxdmcp-dev libxext libxext-dev libxfixes libxfixes-dev libxfont2 libxi libxkbfile libxml2 libxmu libxpm libxrender libxshmfence libxt libxxf86vm libxxf86vm-dev linux-agp linux-drm mesa mesa-dev mesa-dri mesa-libegl mesa-libgbm mesa-libxatracker mesa-osmesa mesa-vdpau pixman pixman-dev util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid util-macros wayland wayland-dev xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xkbcomp xkeyboard-config xorg-server xorg-server-dev xorg-server-module-glamor xorg-server-xdmx xorg-server-xephyr xorg-server-xnest xorg-server-xvfb xorgproto Debug information ret1. ================================================================================ Cook date: 2018-12-27 09:20 Wasted time : 55s 562:gx_driver.c:1429:5: error: implicit declaration of function 'xf86DisableRandR'; did you mean 'xf86DisableIO'? [-Werror=implicit-function-declaration] ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================