x11/nvidia-driver: cc1: error: /src: No such file or directory

Ion-Mihai Tetcu itetcu at FreeBSD.org
Mon May 9 21:36:22 UTC 2011


On Mon, 09 May 2011 21:18:20 +0200
"Hartmann, O." <ohartman at mail.zedat.fu-berlin.de> wrote:

> Port x11/nvidia-driver fails with the the following error. This error 
> obviously was introduced within the updates of the last few days,
> since building the specific port was possible before the last
> weekend. Does anyone has an idea?
> 
> Regards,
> 
> Oliver
> 
> 
> ===>  Vulnerability check disabled, database not found
> ===>  License NVIDIA accepted by the user
> ===>  Found saved configuration for nvidia-driver-270.41.06
> ===>  Extracting for nvidia-driver-256.53
> => SHA256 Checksum OK for NVIDIA-FreeBSD-x86_64-256.53.tar.gz.
> ===>  Patching for nvidia-driver-256.53
> ===>   nvidia-driver-256.53 depends on shared library: GL.1 - found
> ===>  Configuring for nvidia-driver-256.53
> ===>  Building for nvidia-driver-256.53
> ===> src (all)
> @ -> /usr/src/sys
> machine -> /usr/src/sys/amd64/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
> cc -O2 -pipe -march=native -DNV_VERSION_STRING=\"256.53\"
> -D__KERNEL__ -DNVRM -O -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG
> -DNDEBUG -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
> -nostdinc  -I/src -I. -I@ -I@/contrib/altq -finline-limit=8000
> --param inline-unit-growth=100 --param large-function-growth=1000
> -fno-common -fno-omit-frame-pointer  -mcmodel=kernel -mno-red-zone
> -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=iso9899:1999 -fstack-protector -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -c
> nvidia_ctl.c cc1: error: /src: No such file or directory
> *** Error code 1

At this late hour I can only say that it complies OK for me.

Please check your make.conf and env.


-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110509/ed20ffc5/signature.pgp


More information about the freebsd-ports mailing list