x11-drivers/xf86-video-mach64 fails to build

Julian H. Stacey jhs at berklix.com
Wed Nov 30 15:42:53 UTC 2016


Hi x11 at freebsd.org as MAINTAINER= of x11-drivers/xf86-video-mach64

11.0-RELEASE/ports/ fails with:
	  CC       atimach64accel.lo
	atimach64accel.c:934:27: error: implicit declaration of function 'MMIO_MOVE32'
	      is invalid in C99 [-Werror,-Wimplicit-function-declaration]
	                case  0:  MMIO_MOVE32(pDst +  0, 0, *(pSrc +  0));
	                          ^
	1 error generated.
	*** Error code 1

Current/ports/ fails with:
	libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/X11/dri -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include/X11/dri -O2 -pipe -DBERKLIX=YES -fstack-protector -fno-strict-aliasing -MT atimach64accel.lo -MD -MP -MF .deps/atimach64accel.T!
 po -c atimach64accel.c  -fPIC -DPIC -o .libs/atimach64accel.o
	atimach64accel.c:934:27: error: implicit declaration of function 'MMIO_MOVE32'
	      is invalid in C99 [-Werror,-Wimplicit-function-declaration]
	                case  0:  MMIO_MOVE32(pDst +  0, 0, *(pSrc +  0));
	                          ^
	1 error generated.


Any solutions ? My env. below :

mv /etc/make.conf /etc/make.confX

source ~/bin/.csh/unsetenv.csh

uname -a
	FreeBSD lapr.js.berklix.net 12.0-CURRENT FreeBSD 12.0-CURRENT
	#12757: Wed Nov 30 00:38:49 CET 2016
	jhs at lapr.js.berklix.net:/data/release/12.0-CURRENT/usr/src/sys/amd64/compile/LAPR.small
	amd64

cd /usr/src
cat .ctm_status 
	src-cur 12757
cat .svn_revision 
	309126

printenv | grep CC	# Nothing 

cc -v
	FreeBSD clang version 3.9.0 (tags/RELEASE_390/final 280324) (based on LLVM 3.9.0)
	Target: x86_64-unknown-freebsd12.0
	Thread model: posix
	InstalledDir: /usr/bin

echo /var/db/ports/*xf86-video-mach64*	#  No match

Cheers,
Julian
-- 
Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich
 Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable.
 http://berklix.eu/brexit/#stolen_votes


More information about the freebsd-x11 mailing list