From owner-freebsd-ports@FreeBSD.ORG Tue Apr 27 20:18:54 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7316716A4CE for ; Tue, 27 Apr 2004 20:18:54 -0700 (PDT) Received: from lakermmtao10.cox.net (lakermmtao10.cox.net [68.230.240.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFEF543D66 for ; Tue, 27 Apr 2004 20:18:53 -0700 (PDT) (envelope-from elarsen2@cox.net) Received: from [192.168.2.100] (really [68.226.58.7]) by lakermmtao10.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040428031845.KWHV18696.lakermmtao10.cox.net@[192.168.2.100]> for ; Tue, 27 Apr 2004 23:18:45 -0400 From: Earl Larsen To: ports@FreeBSD.org Date: Tue, 27 Apr 2004 22:21:57 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404272221.57292.elarsen2@cox.net> Subject: drm-kmod-0.9.6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: elarsen2@cox.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 03:18:54 -0000 I am running FreeBSD v4.9. When I do a make install clean I get the fallowing: main# make install clean ===> Building for drm-kmod-0.9.6 ===> tdfx Warning: Object directory not changed from original /usr/ports/graphics/drm-kmod/work/drm-kmod/tdfx cc -O2 -pipe -ffast-math -march=pentiumpro -I. -I.. -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I.. -I. -I@ -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c tdfx_drv.c cc1: Invalid option `no-align-long-strings' cc1: unknown C standard `c99' cc1: Invalid option `-finline-limit=8000' tdfx_drv.c:40: pci/pcivar.h: No such file or directory In file included from tdfx_drv.c:136: ../drm_ioctl.h:36: pci/pcivar.h: No such file or directory In file included from tdfx_drv.c:45: ../drmP.h:465: field `dev_lock' has incomplete type In file included from tdfx_drv.c:106: ../drm_auth.h: In function `tdfx_find_file': ../drm_auth.h:46: warning: implicit declaration of function `lockmgr' ../drm_auth.h:46: `LK_EXCLUSIVE' undeclared (first use in this function) ../drm_auth.h:46: (Each undeclared identifier is reported only once ../drm_auth.h:46: for each function it appears in.) ../drm_auth.h:53: `LK_RELEASE' undeclared (first use in this function) ../drm_auth.h: In function `tdfx_add_magic': ../drm_auth.h:71: `LK_EXCLUSIVE' undeclared (first use in this function) ../drm_auth.h:79: `LK_RELEASE' undeclared (first use in this function) ../drm_auth.h: In function `tdfx_remove_magic': ../drm_auth.h:93: `LK_EXCLUSIVE' undeclared (first use in this function) ../drm_auth.h:105: `LK_RELEASE' undeclared (first use in this function) In file included from tdfx_drv.c:111: ../drm_drv.h: In function `tdfx_probe': ../drm_drv.h:264: warning: implicit declaration of function `pci_get_devid' ../drm_drv.h: At top level: ../drm_drv.h:318: warning: initialization makes integer from pointer without a cast ../drm_drv.h:319: warning: initialization makes integer from pointer without a cast ../drm_drv.h:320: warning: initialization makes integer from pointer without a cast ../drm_drv.h:321: warning: initialization from incompatible pointer type ../drm_drv.h:322: warning: initialization from incompatible pointer type ../drm_drv.h:323: warning: initialization from incompatible pointer type ../drm_drv.h:324: warning: initialization from incompatible pointer type ../drm_drv.h:325: `nostrategy' undeclared here (not in a function) ../drm_drv.h:325: initializer element is not constant ../drm_drv.h:325: (near initialization for `tdfx_cdevsw.d_read') ../drm_drv.h:326: warning: initialization from incompatible pointer type ../drm_drv.h:327: warning: initialization makes pointer from integer without a cast ../drm_drv.h:328: `nodump' undeclared here (not in a function) ../drm_drv.h:328: initializer element is not constant ../drm_drv.h:328: (near initialization for `tdfx_cdevsw.d_poll') ../drm_drv.h:329: `nopsize' undeclared here (not in a function) ../drm_drv.h:329: initializer element is not constant ../drm_drv.h:329: (near initialization for `tdfx_cdevsw.d_mmap') ../drm_drv.h:330: warning: initialization makes pointer from integer without a cast ../drm_drv.h: In function `tdfx_close': ../drm_drv.h:1099: warning: passing arg 1 of `funsetown' from incompatible pointer type ../drm_drv.h: In function `tdfx_ioctl': ../drm_drv.h:1210: warning: passing arg 1 of `fgetown' from incompatible pointer type ../drm_drv.h: In function `tdfx_linux_ioctl': ../drm_drv.h:1441: dereferencing pointer to incomplete type ../drm_drv.h:1450: warning: passing arg 4 of `fo_ioctl' from incompatible pointer type ../drm_drv.h:1450: too few arguments to function `fo_ioctl' @/sys/file.h:254: warning: inlining failed in call to `fo_ioctl' ../drm_drv.h:1450: warning: called from here In file included from tdfx_drv.c:134: ../drm_fops.h: In function `tdfx_write_string': ../drm_fops.h:317: warning: passing arg 1 of `pgsigio' from incompatible pointer type In file included from tdfx_drv.c:136: ../drm_ioctl.h: In function `tdfx_irq_busid': ../drm_ioctl.h:73: warning: implicit declaration of function `pci_get_slot' ../drm_ioctl.h:74: warning: implicit declaration of function `pci_get_function' ../drm_ioctl.h:81: warning: implicit declaration of function `pci_get_irq' In file included from tdfx_drv.c:142: ../drm_vm.h: At top level: ../drm_vm.h:22: conflicting types for `tdfx_mmap' ../drm_os_freebsd.h:295: previous declaration of `tdfx_mmap' ../drm_vm.h: In function `tdfx_mmap': ../drm_vm.h:62: warning: passing arg 1 of `suser' from incompatible pointer type *** Error code 1 Stop in /usr/ports/graphics/drm-kmod/work/drm-kmod/tdfx. *** Error code 1 Stop in /usr/ports/graphics/drm-kmod/work/drm-kmod. *** Error code 1 Stop in /usr/ports/graphics/drm-kmod. main#