atyfb module, unknown symbol prom_palette
Hi
When compiling atyfb as a module, I get:
"atyfb.ko unknown symbol: prom_palette" at the end of "make modules_install"
I had this problem with 2.6.0 thru 2.6.5-rc3 kernels, haven't tried with 2.4.x
Is there anything I can do debug this issue?
Ultra10, Elite3D fb and built-in ATI Rage, gcc 3.3.3
Thanks
Mustafa
Congratulations, you are the first person to try and build any of these things as a module :-)
This should fix it:
=== arch/sparc64/kernel/sparc64_ksyms.c 1.65 vs edited ==--- 1.65/arch/sparc64/kernel/sparc64_ksyms.c Fri Mar 19 13:59:48 2004
+++ edited/arch/sparc64/kernel/sparc64_ksyms.c Tue Mar 30 14:22:58 2004
@@ -91,6 +91,7 @@
extern int (*handle_mathemu)(struct pt_regs *, struct fpustate *);
extern long sparc32_open(const char * filename, int flags, int mode);
extern int io_remap_page_range(struct vm_area_struct *vma, unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot, int space);
+extern void (*prom_palette)(int);
extern int __ashrdi3(int, int);
@@ -388,3 +389,5 @@
EXPORT_SYMBOL(xor_vis_3);
EXPORT_SYMBOL(xor_vis_4);
EXPORT_SYMBOL(xor_vis_5);
+
+EXPORT_SYMBOL(prom_palette);
Quoted 7 lines
Congratulations, you are the first person to try and build any of these things as a module :-)
This should fix it:
===
arch/sparc64/kernel/sparc64_ksyms.c1.65 vs edited ==> ---1.65/arch/sparc64/kernel/sparc64_ksyms.cFri Mar 19 13:59:48 2004
Thanks, it works!
The reason for building atyfb as module is to get around this problem:
when atyfb is built into the kernel (2.6.0 thru 2.6.3), the elite3d is not recognized at all.
I'm trying to setup a dual-headed system, and eventually XFree with Xinerama support.