When compiling the tdfx.o module I set the following warning:

[root@icebreaker drm]# make -f Makefile.linux tdfx.o
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align
-Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__
-DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE
-DCONFIG_DRM_SIS -DMODVERSIONS -include
/lib/modules/2.4.18-4/build/include/linux/modversions.h -DEXPORT_SYMTAB
-I/lib/modules/2.4.18-4/build/include -c tdfx_drv.c -o tdfx_drv.o
In file included from tdfx_drv.c:107:
drm_lock.h: In function `tdfx_lock_take':
drm_lock.h:57: warning: implicit declaration of function `cmpxchg'
ld -r tdfx_drv.o -o tdfx.o

When loading the generated module I get this error:

tdfx.o: unresolved symbol cmpxchg

Thanks in advance for any help!

Greg
-


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to