From: Duncan G. <dun...@xs...> - 2007-10-14 15:04:47
|
Resent. Mail to av...@pr... bounced. Web page should be updated. ---------------------------- Original Message ---------------------------- Subject: avifile-0.7.45 fails to compile if HAVE_LIBXXF86DGA not defined From: "Duncan Gibson" <dun...@xs...> Date: Sun, October 14, 2007 16:42 To: av...@pr... -------------------------------------------------------------------------- I just tried to build avifile-0.7.45 pn Lunar Linux (www.lunar-linux.org) The config log shows: checking for XF86DGAQueryExtension in -lXxf86dga... no checking for XF86VidModeSwitchMode in -lXxf86vm... yes so HAVE_LIBXXF86DGA is undefined, so the samples/qtvidcap/kv4lsetup.cpp code below fails to compile with undefined errors for bar, foo, ma, mi: #ifdef HAVE_LIBXXF86DGA int width,bar,foo,flags,ma,mi; void* base = 0; #endif #ifdef HAVE_LIBXXF86VM int vm_count; XF86VidModeModeInfo** vm_modelines; #endif the following change allows it to compile on my system: int bar,foo,ma,mi; #ifdef HAVE_LIBXXF86DGA int width,flags; void* base = 0; #endif #ifdef HAVE_LIBXXF86VM int vm_count; XF86VidModeModeInfo** vm_modelines; #endif I attach the patch file for the above change. Cheers Duncan |