Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 06:51:35 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   x11/nvidia-driver build fails in head @r246115
Message-ID:  <20130130145135.GM1804@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--45kFsbCJmK9J4C/8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I include

PORTS_MODULES=3Dx11/nvidia-driver

in /etc/src.conf in order to keep nvidia-driver in sync with my kernel.

It last built OK yesterday, @r246057; @r246115, I see:

=3D=3D=3D>   nvidia-driver-304.64 depends on file: /usr/local/libdata/pkgco=
nfig/xorg-server.pc - found
=3D=3D=3D>   nvidia-driver-304.64 depends on shared library: GL.1 - found
=3D=3D=3D>  Configuring for nvidia-driver-304.64
=3D=3D=3D>  Building for nvidia-driver-304.64
=3D=3D=3D> src (all)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
x86 -> /usr/src/sys/x86/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"304.64\" -D__K=
ERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DN=
DEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contrib/alt=
q -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestan=
ding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prote=
ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissin=
g-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sig=
n -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -W=
no-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses=
-equality -c nvidia_ctl.c
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"304.64\" -D__K=
ERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DN=
DEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contrib/alt=
q -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestan=
ding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prote=
ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissin=
g-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sig=
n -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -W=
no-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses=
-equality -c nvidia_dev.c
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"304.64\" -D__K=
ERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DN=
DEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contrib/alt=
q -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestan=
ding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prote=
ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissin=
g-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sig=
n -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -W=
no-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses=
-equality -c nvidia_i2c.c
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"304.64\" -D__K=
ERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DN=
DEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contrib/alt=
q -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestan=
ding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prote=
ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissin=
g-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sig=
n -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -W=
no-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses=
-equality -c nvidia_linux.c
nvidia_linux.c:51:28: error: variable has incomplete type 'struct linux_ioc=
tl_handler'
struct linux_ioctl_handler nvidia_handler =3D {
                           ^
nvidia_linux.c:51:8: note: forward declaration of 'struct linux_ioctl_handl=
er'
struct linux_ioctl_handler nvidia_handler =3D {
       ^
nvidia_linux.c:62:5: error: implicit declaration of function 'linux_ioctl_r=
egister_handler' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    linux_ioctl_register_handler(&nvidia_handler);
    ^
nvidia_linux.c:69:5: error: implicit declaration of function 'linux_ioctl_u=
nregister_handler' is invalid in C99 [-Werror,-Wimplicit-function-declarati=
on]
    linux_ioctl_unregister_handler(&nvidia_handler);
    ^
nvidia_linux.c:69:5: note: did you mean 'linux_ioctl_register_handler'?
    linux_ioctl_unregister_handler(&nvidia_handler);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    linux_ioctl_register_handler
nvidia_linux.c:62:5: note: 'linux_ioctl_register_handler' declared here
    linux_ioctl_register_handler(&nvidia_handler);
    ^
3 errors generated.
*** [nvidia_linux.o] Error code 1

Stop in /common/S4/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driver/wo=
rk/NVIDIA-FreeBSD-x86-304.64/src.
*** [all] Error code 1

Stop in /common/S4/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driver/wo=
rk/NVIDIA-FreeBSD-x86-304.64.
*** [do-build] Error code 1

Stop in /common/ports/x11/nvidia-driver.
*** [build] Error code 1

Stop in /common/ports/x11/nvidia-driver.
*** [all] Error code 1
1 error
*** [buildkernel] Error code 2
1 error
*** [buildkernel] Error code 2
1 error


I note that there were several changes in src/sys/compat/linux
within the last 24 hrs.


Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--45kFsbCJmK9J4C/8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlEJM3YACgkQmprOCmdXAD30PwCfYF0UFliKTFbsCbhAUdKuzuHY
ICAAnRpQMJDonjxVBuJRIVT6DITyDJMk
=v1k1
-----END PGP SIGNATURE-----

--45kFsbCJmK9J4C/8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130130145135.GM1804>