Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2008 17:48:38 GMT
From:      Jeffrey <freebsd@crawford.homeunix.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122299: multimedia/linux-ov511-kmod fails to build on FreeBSD Release 7.0
Message-ID:  <200803311748.m2VHmcU1005236@www.freebsd.org>
Resent-Message-ID: <200803311750.m2VHo04R094831@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122299
>Category:       ports
>Synopsis:       multimedia/linux-ov511-kmod fails to build on FreeBSD Release 7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 17:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jeffrey
>Release:        7.0-RELEASE FreeBSD
>Organization:
>Environment:
FreeBSD crawford.homeunix.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Mar 21 10:28:36 PDT 2008     root@crawford.homeunix.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
After recently installing FreeBSD 7.0 (Have not tried previous versions) the linux-ov511-kmod failes to compile. After  a brief email with Luigi it seems this problem may be new to FreeBSD 7.0. I'm not real adept to looking through the code myself, I did look through the ports/UPDATING file and have not found anything relating to this problem. The following is the output from the compile run:

crawford# make clean
===>  Cleaning for linux-ov511-kmod-1.0
crawford# make
===>  Extracting for linux-ov511-kmod-1.0
=> MD5 Checksum OK for linux-ov511-kmod/ov511.c.
=> SHA256 Checksum OK for linux-ov511-kmod/ov511.c.
=> MD5 Checksum OK for linux-ov511-kmod/ov511.h.
=> SHA256 Checksum OK for linux-ov511-kmod/ov511.h.
( cd /usr/ports/distfiles/linux-ov511-kmod && /bin/cp ov511.c ov511.h /usr/ports/multimedia/linux-ov511-kmod/work/linux-ov511-kmod-1.0 )
===>  Patching for linux-ov511-kmod-1.0
===>  Applying FreeBSD patches for linux-ov511-kmod-1.0
===>   linux-ov511-kmod-1.0 depends on file: /usr/share/mk/bsd.linux_kmod.mk - found
===>  Configuring for linux-ov511-kmod-1.0
===>  Building for linux-ov511-kmod-1.0
@ -> /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
rm -f .depend
mkdep -f .depend -a   -nostdinc -D__KERNEL__ -DDRIVER_NAME=ov511 -DDEV_NAME=\"video\" -D_KERNEL -DKLD_MODULE -I/usr/local/share/linux-kmod-compat/linux_compat -I. -I@ -I@/contrib/altq ov511.c /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c
Warning: Object directory not changed from original /usr/ports/multimedia/linux-ov511-kmod/work/linux-ov511-kmod-1.0
cc -O2 -fno-strict-aliasing -pipe -D__KERNEL__ -DDRIVER_NAME=ov511 -DDEV_NAME=\"video\"  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc  -I/usr/local/share/linux-kmod-compat/linux_compat -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 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c ov511.c
In file included from ov511.c:38:
/usr/local/share/linux-kmod-compat/linux_compat/linux/module.h:212:1: warning: "msleep" redefined
In file included from /usr/local/share/linux-kmod-compat/linux_compat/linux/module.h:45,
                 from ov511.c:38:
@/sys/systm.h:307:1: warning: this is the location of the previous definition
In file included from ov511.h:8,
                 from ov511.c:53:
/usr/local/share/linux-kmod-compat/linux_compat/linux/usb.h:171:12: warning: missing terminating ' character
cc -O2 -fno-strict-aliasing -pipe -D__KERNEL__ -DDRIVER_NAME=ov511 -DDEV_NAME=\"video\"  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc  -I/usr/local/share/linux-kmod-compat/linux_compat -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 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c
In file included from /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:78,
                 from /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:44:
/usr/local/share/linux-kmod-compat/linux_compat/linux/usb.h:171:12: warning: missing terminating ' character
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:85: warning: data definition has no type or storage class
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:85: warning: type defaults to 'int' in declaration of 'USB_DECLARE_DRIVER'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:85: warning: parameter names (without types) in function declaration
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: In function 'ldev_attach':
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:278: warning: implicit declaration of function 'USBDEV'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:278: warning: nested extern declaration of 'USBDEV'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:278: warning: passing argument 3 of 'usbd_add_drv_event' makes pointer from integer without a cast
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: In function 'ldev_detach':
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:297: warning: passing argument 1 of 'usb_detach_wait' makes pointer from integer without a cast
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:307: warning: passing argument 3 of 'usbd_add_drv_event' makes pointer from integer without a cast
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: At top level:
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:312: error: expected declaration specifiers or '...' before 'usb_proc_ptr'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:313: error: conflicting types for 'ldev_open'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:58: error: previous declaration of 'ldev_open' was here
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: In function 'ldev_open':
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:316: error: 'ldev_devclass' undeclared (first use in this function)
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:316: error: (Each undeclared identifier is reported only once
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:316: error: for each function it appears in.)
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: At top level:
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:343: error: expected declaration specifiers or '...' before 'usb_proc_ptr'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:344: error: conflicting types for 'ldev_close'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:59: error: previous declaration of 'ldev_close' was here
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: In function 'ldev_close':
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:346: error: 'ldev_devclass' undeclared (first use in this function)
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:355: warning: passing argument 1 of 'usb_detach_wakeup' makes pointer from integer without a cast
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: In function 'ldev_read':
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:363: error: 'ldev_devclass' undeclared (first use in this function)
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: At top level:
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:408: error: expected declaration specifiers or '...' before 'usb_proc_ptr'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:409: error: conflicting types for 'ldev_ioctl'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:61: error: previous declaration of 'ldev_ioctl' was here
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: In function 'ldev_ioctl':
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:411: error: 'ldev_devclass' undeclared (first use in this function)
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: At top level:
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:437: error: expected declaration specifiers or '...' before 'usb_proc_ptr'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:438: error: conflicting types for 'ldev_poll'
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:63: error: previous declaration of 'ldev_poll' was here
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: In function 'ldev_poll':
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:440: error: 'ldev_devclass' undeclared (first use in this function)
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:451: error: 'p' undeclared (first use in this function)
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c: At top level:
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:531: error: 'ldev_driver' undeclared here (not in a function)
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:531: error: 'ldev_devclass' undeclared here (not in a function)
*** Error code 1

Stop in /usr/ports/multimedia/linux-ov511-kmod/work/linux-ov511-kmod-1.0.
*** Error code 1

Stop in /usr/ports/multimedia/linux-ov511-kmod.

>How-To-Repeat:
dictated above:
>Fix:
N/A

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803311748.m2VHmcU1005236>