Bug 161839 - x11/nvidia-driver-96: won't compile
Summary: x11/nvidia-driver-96: won't compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-20 18:10 UTC by Barry Tigner
Modified: 2011-11-08 06:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Tigner 2011-10-20 18:10:14 UTC
===>  Building for nvidia-driver-96.43.20
===> src (all)
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"96.43.20\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/ports/x11/nvidia-driver-96/work/NVIDIA-FreeBSD-x86-96.43.20/src -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common   -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -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 -fdiagnostics-show-option -c nvidia_linux.c
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver-96/work/NVIDIA-FreeBSD-x86-96.43.20/src.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver-96/work/NVIDIA-FreeBSD-x86-96.43.20.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver-96.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver-96.
cc1: warnings being treated as errors
nvidia_linux.c: In function 'linux_ioctl_nvidia':
nvidia_linux.c:47: warning: implicit declaration of function 'ioctl'
nvidia_linux.c:47: warning: nested extern declaration of 'ioctl' [-Wnested-exter
ns]

Fix: 

none yet
How-To-Repeat: cd /usr/ports/x11/nvidia-driver-96 && make
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2011-10-20 20:23:41 UTC
Responsible Changed
From-To: freebsd-i386->freebsd-ports-bugs

Reassign to ports team.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2011-10-20 20:34:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

Over to maintainer.
Comment 3 Barry Tigner 2011-11-03 15:52:20 UTC
this line is linux.c needs to be changed

return (ioctl(td, (struct ioctl_args *) args));

to

return (sys_ioctl(td, (struct ioctl_args *) args));

Barry
-- 
Barry Tigner
MSU PA Electronics Design and Service Ctr.
1230 BioMedical Physical Sciences
Email: tigner@msu.edu
Phone: 517-884-5538
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-11-08 06:22:13 UTC
danfe       2011-11-08 06:22:02 UTC

  FreeBSD ports repository

  Modified files:
    x11/nvidia-driver    Makefile 
  Log:
  Unbreak legacy (pre-195.22) drivers build on 9.X after SVN r225617 by kmacy@.
  
  PR:             ports/161839
  Submitted by:   Barry Tigner
  
  Revision  Changes    Path
  1.111     +5 -0      ports/x11/nvidia-driver/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Alexey Dokuchaev freebsd_committer freebsd_triage 2011-11-08 06:23:14 UTC
State Changed
From-To: open->closed

Port was fixed, thanks!