X: symbol lookup error: /usr/lib/xorg/modules/drivers/neomagic_drv.so: undefined symbol: xf86UDelay xorg-server 1.7.1 w/ xf86-video-neomagic-1.2.4 patch is included.. Reproducible: Always Steps to Reproduce: 1. xorg-server 1.7.1 2. xf86-video-neomagic-1.2.4 3. produces X: symbol lookup error: /usr/lib/xorg/modules/drivers/neomagic_drv.so: undefined symbol: xf86UDelay #include <X11/extensions/xf86dgastr.h> #endif +#include <unistd.h> + /* Mandatory functions */ static const OptionInfoRec * NEOAvailableOptions(int chipid, int busid); static void NEOIdentify(int flags); @@ -2489,7 +2491,7 @@ neoRestore(ScrnInfoPtr pScrn, vgaRegPtr VgaReg, NeoRegPtr restore, * In some rare cases a lockup might occur if we don't delay * here. (Reported by Miles Lane) */ - xf86UDelay(200000); + usleep(200000); /* * Disable horizontal and vertical graphics and text expansions so * that vgaHWRestore works properly. @@ -2502,7 +2504,7 @@ neoRestore(ScrnInfoPtr pScrn, vgaRegPtr VgaReg, NeoRegPtr restore, * Sleep for 200ms to make sure that the two operations above have * had time to take effect. */ - xf86UDelay(200000); + usleep(200000); /* * This function handles restoring the generic VGA registers. */ vgaHWRestore(pScrn, VgaReg, -- 1.6.4.4
Created attachment 209698 [details, diff] patch oops :P
This seems to the same as bug 291825 which is marked as fixed. Please run emerge --sync and emerge xf86-video-neomagic again.