Messages in this thread Patch in this message | | | Date | Tue, 15 Mar 2005 11:20:05 -0600 | From | Joel Schopp <> | Subject | [PATCH] matroxfb compile error |
| |
When compiling 2.6.11-bk10 I get a compile error. The attached patch fixes it for me. Please apply if you haven't gotten another patch for this already.
This patch fixes this compile error by causing the object that contains the referenced function to be built:
drivers/built-in.o(.text+0x26db8): In function `.initMatrox2': : undefined reference to `.mac_vmode_to_var'
Signed-off-by: Joel Schopp <jschopp@austin.ibm.com> ---
diff -puN drivers/video/Makefile~matrox drivers/video/Makefile --- 2.6.11-bk10/drivers/video/Makefile~matrox 2005-03-15 11:08:44.000000000 -0600 +++ 2.6.11-bk10-jschopp/drivers/video/Makefile 2005-03-15 11:12:08.000000000 -0600 @@ -26,7 +26,7 @@ obj-$(CONFIG_FB_CYBER2000) += cyb obj-$(CONFIG_FB_PM2) += pm2fb.o obj-$(CONFIG_FB_PM3) += pm3fb.o -obj-$(CONFIG_FB_MATROX) += matrox/ +obj-$(CONFIG_FB_MATROX) += matrox/ macmodes.o obj-$(CONFIG_FB_RIVA) += riva/ vgastate.o obj-$(CONFIG_FB_NVIDIA) += nvidia/ obj-$(CONFIG_FB_ATY) += aty/ _ | |