ports/103570: pwcbsd won't compile after the most recent port-update of the port

Martin Wilke miwi at FreeBSD.org
Sun Sep 24 17:56:11 UTC 2006


Hi, The port does not build on -Head. Can you take a look in it?

Full Log here 

http://miwibox.org/tb/index.php?action=describe_port&id=776

===>  Extracting for pwcbsd-1.3.1
=> MD5 Checksum OK for pwcbsd-1.3.1.tar.gz.
=> SHA256 Checksum OK for pwcbsd-1.3.1.tar.gz.
===>  Patching for pwcbsd-1.3.1
===>   pwcbsd-1.3.1 depends on file: /usr/local/bin/sdl-config - found
===>   pwcbsd-1.3.1 depends on shared library: jpeg.9 - found
===>   pwcbsd-1.3.1 depends on shared library: SDL.11 - found
===>  Configuring for pwcbsd-1.3.1
===>  Building for pwcbsd-1.3.1
make -f Makefile.kld all
Warning: Object directory not changed from
original /usr/home/miwi/dev/ports/multimedia/pwcbsd/work/pwcbsd @
-> /usr/src/sys machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
:> opt_usb.h
cc -O2 -fno-strict-aliasing -pipe -march=athlon-xp -march=athlon-xp
-Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I-   -I. -I@ -I
@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -mno-align-long-stri
ngs -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse
-mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-ext
erns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -fformat-extensions -c pwc.c In file included from
pwc.c:27: ./pwc.h:136: error: syntax error before "USBBASEDEVICE"
pwc.c: In function `pwc_attach': pwc.c:153: warning: implicit
declaration of function `USBDEVNAME' pwc.c:153: warning: nested extern
declaration of `USBDEVNAME' pwc.c:153: error: structure has no member
named `sc_dev' pwc.c:153: warning: format argument is not a pointer
(arg 2) pwc.c:158: error: structure has no member named `sc_dev'
pwc.c:162: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME' pwc.c:153:
warning: previous implicit declaration of 'USBDEVNAME' was here
pwc.c:162: error: structure has no member named `sc_dev' pwc.c:162:
warning: format argument is not a pointer (arg 2) pwc.c:195: warning:
nested extern declaration of `USBDEVNAME' pwc.c:153: warning: redundant
redeclaration of 'USBDEVNAME' pwc.c:153: warning: previous implicit
declaration of 'USBDEVNAME' was here pwc.c:195: error: structure has no
member named `sc_dev' pwc.c:195: warning: passing arg 2 of `mtx_init'
makes pointer from integer without a cast pwc.c:259: error: structure
has no member named `sc_dev' pwc.c:259: warning: format argument is not
a pointer (arg 2) pwc.c:277: error: structure has no member named
`sc_dev' pwc.c:277: warning: format argument is not a pointer (arg 2)
pwc.c:285: error: structure has no member named `sc_dev' pwc.c: In
function `pwc_detach': pwc.c:311: warning: nested extern declaration of
`USBDEVNAME' pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:311: error: structure has no member named `sc_dev'
pwc.c:311: warning: format argument is not a pointer (arg 2)
pwc.c:319: error: structure has no member named `sc_dev'
pwc.c: In function `pwc_open':
pwc.c:348: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:348: error: structure has no member named `sc_dev'
pwc.c:348: warning: format argument is not a pointer (arg 2)
pwc.c:357: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:357: error: structure has no member named `sc_dev'
pwc.c:357: warning: format argument is not a pointer (arg 2)
pwc.c:367: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:367: error: structure has no member named `sc_dev'
pwc.c:367: warning: format argument is not a pointer (arg 2)
pwc.c:379: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:379: error: structure has no member named `sc_dev'
pwc.c:379: warning: format argument is not a pointer (arg 2)
pwc.c:387: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:387: error: structure has no member named `sc_dev'
pwc.c:387: warning: format argument is not a pointer (arg 2)
pwc.c:407: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:407: error: structure has no member named `sc_dev'
pwc.c:407: warning: format argument is not a pointer (arg 2)
pwc.c:413: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:413: error: structure has no member named `sc_dev'
pwc.c:413: warning: format argument is not a pointer (arg 2)
pwc.c: In function `pwc_close':
pwc.c:470: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:470: error: structure has no member named `sc_dev'
pwc.c:470: warning: format argument is not a pointer (arg 2)
pwc.c:494: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:494: error: structure has no member named `sc_dev'
pwc.c:494: warning: format argument is not a pointer (arg 2)
pwc.c: In function `pwc_try_video_mode':
pwc.c:665: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:665: error: structure has no member named `sc_dev'
pwc.c:665: warning: format argument is not a pointer (arg 2)
pwc.c:671: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:671: error: structure has no member named `sc_dev'
pwc.c:671: warning: format argument is not a pointer (arg 2)
pwc.c:680: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:680: error: structure has no member named `sc_dev'
pwc.c:680: warning: format argument is not a pointer (arg 2)
pwc.c:686: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:686: error: structure has no member named `sc_dev'
pwc.c:687: warning: format argument is not a pointer (arg 2)
pwc.c:693: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:693: error: structure has no member named `sc_dev'
pwc.c:693: warning: format argument is not a pointer (arg 2)
pwc.c: In function `pwc_isoc_handler':
pwc.c:774: warning: nested extern declaration of `USBDEVNAME'
pwc.c:153: warning: redundant redeclaration of 'USBDEVNAME'
pwc.c:153: warning: previous implicit declaration of 'USBDEVNAME' was
here pwc.c:774: error: structure has no member named `sc_dev'
pwc.c:774: warning: format argument is not a pointer (arg 2)
*** Error code 1

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

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

Stop in /usr/home/miwi/dev/ports/multimedia/pwcbsd.
*** Error code 1

Stop in /usr/home/miwi/dev/ports/multimedia/pwcbsd.



-- 
Martin Wilke		| irc.unixfreunde.de #bsd 
miwi at FreeBSD.org	| miwi at unixfreunde.de
FreeBSD Commiter	| Power to Serve



More information about the freebsd-ports-bugs mailing list