On Sat, 2002-06-01 at 23:29, Gregory S. Hayes wrote: > 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
That function isn't defined if the kernel is configured for a 386 CPU, is that the case? -- Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
