drm-kmod-0.9.6

Earl Larsen elarsen2 at cox.net
Mon Apr 26 18:50:38 PDT 2004


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#


More information about the freebsd-ports mailing list