Re: Wanting to test video4bsd on todays cvsup and build but can't compile the pwcbsd port.

2010-01-13 Thread Lars Engels
On Tue, Jan 12, 2010 at 11:59:26AM -0600, eculp wrote:
 I am running todays current complete with cvsup, build and install  
 kernel and userland.
 
 # uname -a
 FreeBSD ed.local.net.mx 9.0-CURRENT FreeBSD 9.0-CURRENT #420: Tue Jan  
 12 07:13:52 CST 2010  
 r...@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO  i386
 
 When I try to build the pwcbsd port I get:
 
 # make
 ===  Building for pwcbsd-1.4.1_6
 make -f Makefile.kld all
 Warning: Object directory not changed from original  
 /usr/ports/multimedia/pwcbsd/work/pwcbsd
 cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE  
 -nostdinc   -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-mmx  
 -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -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 -c pwc.c
 pwc.c:576: error: conflicting types for 'pwc_mmap'
 pwc.c:47: error: previous declaration of 'pwc_mmap' was here
 *** Error code 1
 
 Stop in /usr/ports/multimedia/pwcbsd/work/pwcbsd.
 *** Error code 1
 
 Stop in /usr/ports/multimedia/pwcbsd/work/pwcbsd.
 *** Error code 1
 
 Stop in /usr/ports/multimedia/pwcbsd.
 
 
 Any help or suggestions appreciated.
 
 ed

Did you enable this in OPTIONS?
Enable mmap support (MAY CRASH YOUR SYSTEM) 




pgpyAQrHQ8TvM.pgp
Description: PGP signature


Re: Wanting to test video4bsd on todays cvsup and build but can't compile the pwcbsd port.

2010-01-13 Thread eculp

Quoting Lars Engels lars.eng...@0x20.net:


On Tue, Jan 12, 2010 at 11:59:26AM -0600, eculp wrote:

I am running todays current complete with cvsup, build and install
kernel and userland.

# uname -a
FreeBSD ed.local.net.mx 9.0-CURRENT FreeBSD 9.0-CURRENT #420: Tue Jan
12 07:13:52 CST 2010
r...@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO  i386

When I try to build the pwcbsd port I get:

# make
===  Building for pwcbsd-1.4.1_6
make -f Makefile.kld all
Warning: Object directory not changed from original
/usr/ports/multimedia/pwcbsd/work/pwcbsd
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc   -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-mmx
-mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -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 -c pwc.c
pwc.c:576: error: conflicting types for 'pwc_mmap'
pwc.c:47: error: previous declaration of 'pwc_mmap' was here
*** Error code 1

Stop in /usr/ports/multimedia/pwcbsd/work/pwcbsd.
*** Error code 1

Stop in /usr/ports/multimedia/pwcbsd/work/pwcbsd.
*** Error code 1

Stop in /usr/ports/multimedia/pwcbsd.


Any help or suggestions appreciated.

ed


Did you enable this in OPTIONS?
Enable mmap support (MAY CRASH YOUR SYSTEM)



Thanks Lars, but no the only thing that I have enabled is PROGRAMS  
build the programs, in fact I have done make rmconfig and confirmed  
multiple times.  I had thought the same.   It would seem that there is  
yet another pwc_mmap conflict:(  The ifdif at 577 would seem to be  
causing the problem somehow but I don't understand it at all.  Sorry.


Thanks again Lars.

ed
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org