I was able to get it going, now how do I load the driver, (insmod, modprobe)
I just had to symlynk 4 more files and edited the 3 below files, it is a duplicate entry.
via_3d.h:380:18: error: duplicate member 'bpp'
via_swov.h:346:23: error: duplicate member 'singleview'
via_swov.h:349:23: error: duplicate member 'reserverd
As you can see the make and make install finished.
tc@box:~/via-xserver-86a-50283_src/XServer$ make
make all-recursive
make[1]: Entering directory `/home/tc/via-xserver-86a-50283_src/XServer'
Making all in src
make[2]: Entering directory `/home/tc/via-xserver-86a-50283_src/XServer/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_swov.lo -MD -MP -MF .deps/via_swov.Tpo -c -o via_swov.lo via_swov.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_swov.lo -MD -MP -MF .deps/via_swov.Tpo -c via_swov.c -fPIC -DPIC -o .libs/via_swov.o
mv -f .deps/via_swov.Tpo .deps/via_swov.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_eng_fops.lo -MD -MP -MF .deps/via_eng_fops.Tpo -c -o via_eng_fops.lo via_eng_fops.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_eng_fops.lo -MD -MP -MF .deps/via_eng_fops.Tpo -c via_eng_fops.c -fPIC -DPIC -o .libs/via_eng_fops.o
mv -f .deps/via_eng_fops.Tpo .deps/via_eng_fops.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_eng_fops_cme.lo -MD -MP -MF .deps/via_eng_fops_cme.Tpo -c -o via_eng_fops_cme.lo via_eng_fops_cme.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_eng_fops_cme.lo -MD -MP -MF .deps/via_eng_fops_cme.Tpo -c via_eng_fops_cme.c -fPIC -DPIC -o .libs/via_eng_fops_cme.o
mv -f .deps/via_eng_fops_cme.Tpo .deps/via_eng_fops_cme.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_eng_fops_cle.lo -MD -MP -MF .deps/via_eng_fops_cle.Tpo -c -o via_eng_fops_cle.lo via_eng_fops_cle.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_eng_fops_cle.lo -MD -MP -MF .deps/via_eng_fops_cle.Tpo -c via_eng_fops_cle.c -fPIC -DPIC -o .libs/via_eng_fops_cle.o
mv -f .deps/via_eng_fops_cle.Tpo .deps/via_eng_fops_cle.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_eng_reg_fops.lo -MD -MP -MF .deps/via_eng_reg_fops.Tpo -c -o via_eng_reg_fops.lo via_eng_reg_fops.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_eng_reg_fops.lo -MD -MP -MF .deps/via_eng_reg_fops.Tpo -c via_eng_reg_fops.c -fPIC -DPIC -o .libs/via_eng_reg_fops.o
mv -f .deps/via_eng_reg_fops.Tpo .deps/via_eng_reg_fops.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_memmgr.lo -MD -MP -MF .deps/via_memmgr.Tpo -c -o via_memmgr.lo via_memmgr.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_memmgr.lo -MD -MP -MF .deps/via_memmgr.Tpo -c via_memmgr.c -fPIC -DPIC -o .libs/via_memmgr.o
mv -f .deps/via_memmgr.Tpo .deps/via_memmgr.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_vt1636.lo -MD -MP -MF .deps/via_vt1636.Tpo -c -o via_vt1636.lo via_vt1636.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_vt1636.lo -MD -MP -MF .deps/via_vt1636.Tpo -c via_vt1636.c -fPIC -DPIC -o .libs/via_vt1636.o
mv -f .deps/via_vt1636.Tpo .deps/via_vt1636.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_rotate.lo -MD -MP -MF .deps/via_rotate.Tpo -c -o via_rotate.lo via_rotate.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_rotate.lo -MD -MP -MF .deps/via_rotate.Tpo -c via_rotate.c -fPIC -DPIC -o .libs/via_rotate.o
mv -f .deps/via_rotate.Tpo .deps/via_rotate.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT video_rotate.lo -MD -MP -MF .deps/video_rotate.Tpo -c -o video_rotate.lo video_rotate.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT video_rotate.lo -MD -MP -MF .deps/video_rotate.Tpo -c video_rotate.c -fPIC -DPIC -o .libs/video_rotate.o
mv -f .deps/video_rotate.Tpo .deps/video_rotate.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_texvideo.lo -MD -MP -MF .deps/via_texvideo.Tpo -c -o via_texvideo.lo via_texvideo.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_texvideo.lo -MD -MP -MF .deps/via_texvideo.Tpo -c via_texvideo.c -fPIC -DPIC -o .libs/via_texvideo.o
mv -f .deps/via_texvideo.Tpo .deps/via_texvideo.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_Hw3DScaling.lo -MD -MP -MF .deps/via_Hw3DScaling.Tpo -c -o via_Hw3DScaling.lo via_Hw3DScaling.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_Hw3DScaling.lo -MD -MP -MF .deps/via_Hw3DScaling.Tpo -c via_Hw3DScaling.c -fPIC -DPIC -o .libs/via_Hw3DScaling.o
mv -f .deps/via_Hw3DScaling.Tpo .deps/via_Hw3DScaling.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT agpctl.lo -MD -MP -MF .deps/agpctl.Tpo -c -o agpctl.lo agpctl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT agpctl.lo -MD -MP -MF .deps/agpctl.Tpo -c agpctl.c -fPIC -DPIC -o .libs/agpctl.o
mv -f .deps/agpctl.Tpo .deps/agpctl.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -module -avoid-version -o via_drv.la -rpath /usr/lib/xorg/modules/drivers via_common.lo via_serial.lo via_displcd.lo hw.lo via_accel.lo via_xaa.lo via_exa.lo via_exa_h5.lo via_exa_h6.lo via_3d.lo via_bandwidth.lo via_bios.lo via_cursor.lo via_output.lo via_display.lo via_dga.lo via_dri.lo via_driver.lo via_dvi.lo via_gpioi2c.lo via_i2c.lo via_lcd.lo via_mergedfb.lo via_shadow.lo via_utility.lo via_video.lo xf86drmVIA.lo via_dmabuffer.lo via_swov.lo via_eng_fops.lo via_eng_fops_cme.lo via_eng_fops_cle.lo via_eng_reg_fops.lo via_memmgr.lo via_vt1636.lo via_rotate.lo video_rotate.lo via_texvideo.lo via_Hw3DScaling.lo agpctl.lo
libtool: link: gcc -shared -fPIC -DPIC .libs/via_common.o .libs/via_serial.o .libs/via_displcd.o .libs/hw.o .libs/via_accel.o .libs/via_xaa.o .libs/via_exa.o .libs/via_exa_h5.o .libs/via_exa_h6.o .libs/via_3d.o .libs/via_bandwidth.o .libs/via_bios.o .libs/via_cursor.o .libs/via_output.o .libs/via_display.o .libs/via_dga.o .libs/via_dri.o .libs/via_driver.o .libs/via_dvi.o .libs/via_gpioi2c.o .libs/via_i2c.o .libs/via_lcd.o .libs/via_mergedfb.o .libs/via_shadow.o .libs/via_utility.o .libs/via_video.o .libs/xf86drmVIA.o .libs/via_dmabuffer.o .libs/via_swov.o .libs/via_eng_fops.o .libs/via_eng_fops_cme.o .libs/via_eng_fops_cle.o .libs/via_eng_reg_fops.o .libs/via_memmgr.o .libs/via_vt1636.o .libs/via_rotate.o .libs/video_rotate.o .libs/via_texvideo.o .libs/via_Hw3DScaling.o .libs/agpctl.o -O2 -O2 -Wl,-soname -Wl,via_drv.so -o .libs/via_drv.so
libtool: link: ( cd ".libs" && rm -f "via_drv.la" && ln -s "../via_drv.la" "via_drv.la" )
make[2]: Leaving directory `/home/tc/via-xserver-86a-50283_src/XServer/src'
make[2]: Entering directory `/home/tc/via-xserver-86a-50283_src/XServer'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/tc/via-xserver-86a-50283_src/XServer'
make[1]: Leaving directory `/home/tc/via-xserver-86a-50283_src/XServer'
tc@box:~/via-xserver-86a-50283_src/XServer$ sudo make install
Making install in src
make[1]: Entering directory `/home/tc/via-xserver-86a-50283_src/XServer/src'
make[2]: Entering directory `/home/tc/via-xserver-86a-50283_src/XServer/src'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/xorg/modules/drivers" || /usr/local/bin/mkdir -p "/usr/lib/xorg/modules/drivers"
/bin/sh ../libtool --mode=install /usr/local/bin/install -c via_drv.la '/usr/lib/xorg/modules/drivers'
libtool: install: /usr/local/bin/install -c .libs/via_drv.so /usr/lib/xorg/modules/drivers/via_drv.so
libtool: install: /usr/local/bin/install -c .libs/via_drv.lai /usr/lib/xorg/modules/drivers/via_drv.la
libtool: finish: PATH="/home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin:/etc/sysconfig/tcedir/ondemand:/sbin" ldconfig -n /usr/lib/xorg/modules/drivers
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/xorg/modules/drivers
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory `/home/tc/via-xserver-86a-50283_src/XServer/src'
make[1]: Leaving directory `/home/tc/via-xserver-86a-50283_src/XServer/src'
make[1]: Entering directory `/home/tc/via-xserver-86a-50283_src/XServer'
make[2]: Entering directory `/home/tc/via-xserver-86a-50283_src/XServer'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/tc/via-xserver-86a-50283_src/XServer'
make[1]: Leaving directory `/home/tc/via-xserver-86a-50283_src/XServer'
tc@box:~/via-xserver-86a-50283_src/XServer$