Hello,

I downloaded the FreeBSD package for tdfx.
I didn't run the install script, I just went to /drm and ran make -f
Makefile.bsd.
You can see in the attachment what I got.

And we should make some changes to the install.sh script (I'm working on
it).

Thanks

Simon

===> tdfx
Warning: Object directory not changed from original /root/dripkg/drm/tdfx
===> mga
Warning: Object directory not changed from original /root/dripkg/drm/mga
===> gamma
Warning: Object directory not changed from original /root/dripkg/drm/gamma
cc -O -pipe   -I. -I..  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I.. -I. -I@ -I/usr/include  
-mpreferred-stack-boundary=2 -c gamma_drv.c
gamma_drv.c:39: opt_drm_linux.h: No such file or directory
In file included from gamma_drv.c:42:
../drmP.h:656: warning: `struct pt_regs' declared inside parameter list
../drmP.h:656: warning: its scope is only this definition or declaration, which is 
probably not what you want.
In file included from gamma_drv.c:87:
../drm_auth.h: In function `gamma_getmagic':
../drm_auth.h:126: warning: unused variable `lock'
In file included from gamma_drv.c:89:
../drm_context.h: In function `gamma_rmctx':
../drm_context.h:735: warning: implicit declaration of function `schedule'
../drm_context.h:736: warning: implicit declaration of function `signal_pending'
../drm_context.h:736: `current' undeclared (first use in this function)
../drm_context.h:736: (Each undeclared identifier is reported only once
../drm_context.h:736: for each function it appears in.)
../drm_context.h:748: warning: implicit declaration of function 
`wake_up_interruptible'
In file included from gamma_drv.c:90:
../drm_dma.h: In function `gamma_select_queue':
../drm_dma.h:309: structure has no member named `expires'
../drm_dma.h:310: warning: implicit declaration of function `del_timer'
../drm_dma.h:311: structure has no member named `function'
../drm_dma.h:312: structure has no member named `data'
../drm_dma.h:313: structure has no member named `expires'
../drm_dma.h:314: warning: implicit declaration of function `add_timer'
../drm_dma.h: In function `gamma_dma_enqueue':
../drm_dma.h:331: warning: implicit declaration of function `DECLARE_WAITQUEUE'
../drm_dma.h:331: `entry' undeclared (first use in this function)
../drm_dma.h:331: `current' undeclared (first use in this function)
../drm_dma.h:360: warning: implicit declaration of function `add_wait_queue'
../drm_dma.h:363: `TASK_INTERRUPTIBLE' undeclared (first use in this function)
../drm_dma.h:368: warning: implicit declaration of function `remove_wait_queue'
../drm_dma.h:373: `TASK_RUNNING' undeclared (first use in this function)
../drm_dma.h: In function `gamma_dma_get_buffers_of_order':
../drm_dma.h:449: `current' undeclared (first use in this function)
../drm_dma.h:450: warning: implicit declaration of function `copy_to_user'
../drm_dma.h: In function `gamma_irq_install':
../drm_dma.h:536: warning: implicit declaration of function `INIT_LIST_HEAD'
../drm_dma.h:536: structure has no member named `tq'
../drm_dma.h:537: structure has no member named `tq'
../drm_dma.h:538: structure has no member named `tq'
../drm_dma.h:539: structure has no member named `tq'
../drm_dma.h:546: warning: implicit declaration of function `request_irq'
../drm_dma.h: In function `gamma_irq_uninstall':
../drm_dma.h:577: warning: implicit declaration of function `free_irq'
../drm_dma.h: In function `gamma_control':
../drm_dma.h:584: `filp' undeclared (first use in this function)
../drm_dma.h:585: structure has no member named `dev'
In file included from gamma_drv.c:93:
../drm_fops.h: In function `gamma_write':
../drm_fops.h:362: warning: unused variable `dev'
../drm_fops.h:361: warning: unused variable `p'
In file included from gamma_drv.c:96:
../drm_lists.h: In function `gamma_waitlist_create':
../drm_lists.h:47: `SPIN_LOCK_UNLOCKED' undeclared (first use in this function)
../drm_lists.h: In function `gamma_waitlist_put':
../drm_lists.h:82: warning: implicit declaration of function `spin_lock_irqsave'
../drm_lists.h:85: warning: implicit declaration of function `spin_unlock_irqrestore'
../drm_lists.h:69: warning: `flags' might be used uninitialized in this function
../drm_lists.h: In function `gamma_waitlist_get':
../drm_lists.h:93: warning: `flags' might be used uninitialized in this function
../drm_lists.h: In function `gamma_freelist_create':
../drm_lists.h:116: warning: implicit declaration of function `init_waitqueue_head'
../drm_lists.h:120: `SPIN_LOCK_UNLOCKED' undeclared (first use in this function)
../drm_lists.h: In function `gamma_freelist_put':
../drm_lists.h:152: warning: implicit declaration of function `spin_lock'
../drm_lists.h:155: warning: implicit declaration of function `spin_unlock'
../drm_lists.h:159: warning: int format, long int arg (arg 2)
../drm_lists.h: In function `gamma_freelist_get':
../drm_lists.h:201: `entry' undeclared (first use in this function)
../drm_lists.h:201: `current' undeclared (first use in this function)
../drm_lists.h:212: `TASK_INTERRUPTIBLE' undeclared (first use in this function)
../drm_lists.h:218: `TASK_RUNNING' undeclared (first use in this function)
In file included from gamma_drv.c:98:
../drm_memory.h: In function `gamma_strfree':
../drm_memory.h:287: warning: cast discards qualifiers from pointer target type
gamma_drv.c: At top level:
../drm_memory.h:68: warning: `gamma_mem_lock' defined but not used
*** Error code 1

Stop in /root/dripkg/drm/gamma.
*** Error code 1

Stop in /root/dripkg/drm.

Reply via email to