Re: FreeBSD Port: nvidia-driver-169.07

2008-03-02 Thread Alexey Dokuchaev
On Fri, Feb 29, 2008 at 01:31:18PM -0500, Chuck Robey wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Brodey Dover wrote:
  So I'm reading your response and thinking, okay I'll do this tomorrow.
  But then you mentioned, that is not your error...but. I can program,
  what the hey, let's look at the error and see what is upwell I made
  the following changes to nv_freebsd.h lines 337 and 338
  /
  S032   nv_os_agp_init(nv_state_t *, void **, U032 *);
  S032   nv_os_agp_teardown(nv_state_t *);
  
  /to
  
  /S032   nv_os_agp_init(*nv_stack_t *sp*, nv_state_t *, void **,
  U032 *);
  S032   nv_os_agp_teardown(*nv_stack_t *sp*, nv_state_t *);

Fixed in the latest Makefile revision.

./danfe
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: nvidia-driver-169.07

2008-02-29 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brodey Dover wrote:
 So I'm reading your response and thinking, okay I'll do this tomorrow.
 But then you mentioned, that is not your error...but. I can program,
 what the hey, let's look at the error and see what is upwell I made
 the following changes to nv_freebsd.h lines 337 and 338
 /
 S032   nv_os_agp_init(nv_state_t *, void **, U032 *);
 S032   nv_os_agp_teardown(nv_state_t *);
 
 /to
 
 /S032   nv_os_agp_init(*nv_stack_t *sp*, nv_state_t *, void **,
 U032 *);
 S032   nv_os_agp_teardown(*nv_stack_t *sp*, nv_state_t *);
 
 /I then got a stop because ../../graphics/libGL was already installed,
 feeling redundancy kicking in I decided to give in for a registered
 install of the nvidia-drivers, I deinstalled libGL and fired up make
 install from nvidia-driver directory again. After that, the driver
 successfully installed itself and I'm a happy happy camper.
 
 I am running FreeBSD6.3/i386- RELEASE.
 

Sounds good to me.  I forgot, myself, that I needed to set a X11BASE
variable in the sources to get it to install things right.  I'd just
_assumed_ you'd seen that too, what a silly thing for me to do!

 Regards,
 Brodey Dover
 
 See you all at BSDCan ;).

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHyE92z62J6PPcoOkRAj+AAJwNA4NFrAIiXTzvX1FZ8gytqz9FOQCgknMA
NAdfGekICOuoHfrJunc5fH4=
=M8y3
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: nvidia-driver-169.07

2008-02-28 Thread Alexey Dokuchaev
On Wed, Feb 27, 2008 at 06:52:48PM -0500, Brodey Dover wrote:
 Trying to compile from ports and unfortunately I continuously receive 
 this stop in the compile process. I have removed and deleted everything 
 that I could from distfiles and temp directories and have been unable to 
 compile. My temporary solution is to run the latest version below this 
 in ports 9x...
 
 Code:
 /cd /usr/ports/x11/nvidia-driver/;make install clean
 ===  Building for nvidia-driver-169.07
 === src (all)
 cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\169.07\ 
 -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL 
 -DKLD_MODULE -nostdinc -I-  -I/src -I. -I@ -I@/contrib/altq 
 -I@/../include -finline-limit=8000 -fno-common  -mno-align-long-strings 
 -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
 -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -fformat-extensions -std=c99 -c nvidia_subr.c
 nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
 ./nv-freebsd.h:337: error: previous declaration of 'nv_os_agp_init' was here
 nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
 ./nv-freebsd.h:337: error: previous declaration of 'nv_os_agp_init' was here
 nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown'
 ./nv-freebsd.h:338: error: previous declaration of 'nv_os_agp_teardown' 
 was here
 nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown'
 ./nv-freebsd.h:338: error: previous declaration of 'nv_os_agp_teardown' 
 was here
 *** Error code 1
 
 Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.07/src.
 *** Error code 1
 
 Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.07.
 *** Error code 1
 
 Stop in /usr/ports/x11/nvidia-driver.
 *** Error code 1

Confirmed.  This only happens when building against FreeBSD AGP though,
which is not default; that's why I missed it in my testing.  Fix is in
the works.

./danfe
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: nvidia-driver-169.07

2008-02-28 Thread Brodey Dover
So I'm reading your response and thinking, okay I'll do this tomorrow. 
But then you mentioned, that is not your error...but. I can program, 
what the hey, let's look at the error and see what is upwell I made 
the following changes to nv_freebsd.h lines 337 and 338

/
S032   nv_os_agp_init(nv_state_t *, void **, U032 *);
S032   nv_os_agp_teardown(nv_state_t *);

/to

/S032   nv_os_agp_init(*nv_stack_t *sp*, nv_state_t *, void **, 
U032 *);

S032   nv_os_agp_teardown(*nv_stack_t *sp*, nv_state_t *);

/I then got a stop because ../../graphics/libGL was already installed, 
feeling redundancy kicking in I decided to give in for a registered 
install of the nvidia-drivers, I deinstalled libGL and fired up make 
install from nvidia-driver directory again. After that, the driver 
successfully installed itself and I'm a happy happy camper.


I am running FreeBSD6.3/i386- RELEASE.

Regards,
Brodey Dover

See you all at BSDCan ;).
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Port: nvidia-driver-169.07

2008-02-27 Thread Brodey Dover
Trying to compile from ports and unfortunately I continuously receive 
this stop in the compile process. I have removed and deleted everything 
that I could from distfiles and temp directories and have been unable to 
compile. My temporary solution is to run the latest version below this 
in ports 9x...


Code:
/cd /usr/ports/x11/nvidia-driver/;make install clean
===  Building for nvidia-driver-169.07
=== src (all)
cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\169.07\ 
-D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL 
-DKLD_MODULE -nostdinc -I-  -I/src -I. -I@ -I@/contrib/altq 
-I@/../include -finline-limit=8000 -fno-common  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -c nvidia_subr.c

nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
./nv-freebsd.h:337: error: previous declaration of 'nv_os_agp_init' was here
nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
./nv-freebsd.h:337: error: previous declaration of 'nv_os_agp_init' was here
nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown'
./nv-freebsd.h:338: error: previous declaration of 'nv_os_agp_teardown' 
was here

nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown'
./nv-freebsd.h:338: error: previous declaration of 'nv_os_agp_teardown' 
was here

*** Error code 1

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

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

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

Stop in /usr/ports/x11/nvidia-driver.
/

Thank you,
Brodey Dover

PS,
I'm e-mailing this because I can't get the particular pkg to compile on 
any of my machines-even fresh installs. So I'm thinking the issue is 
with the port.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]