All of lore.kernel.org
 help / color / mirror / Atom feed
* atyfb module, unknown symbol prom_palette
@ 2004-03-30 21:52 Mustafa Hussein
  2004-03-30 22:24 ` David S. Miller
  2004-03-31  0:50 ` Mustafa Hussein
  0 siblings, 2 replies; 3+ messages in thread
From: Mustafa Hussein @ 2004-03-30 21:52 UTC (permalink / raw)
  To: sparclinux

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: atyfb module, unknown symbol prom_palette
  2004-03-30 21:52 atyfb module, unknown symbol prom_palette Mustafa Hussein
@ 2004-03-30 22:24 ` David S. Miller
  2004-03-31  0:50 ` Mustafa Hussein
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2004-03-30 22:24 UTC (permalink / raw)
  To: sparclinux


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);

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: atyfb module, unknown symbol prom_palette
  2004-03-30 21:52 atyfb module, unknown symbol prom_palette Mustafa Hussein
  2004-03-30 22:24 ` David S. Miller
@ 2004-03-31  0:50 ` Mustafa Hussein
  1 sibling, 0 replies; 3+ messages in thread
From: Mustafa Hussein @ 2004-03-31  0:50 UTC (permalink / raw)
  To: sparclinux


> 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

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-31  0:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-30 21:52 atyfb module, unknown symbol prom_palette Mustafa Hussein
2004-03-30 22:24 ` David S. Miller
2004-03-31  0:50 ` Mustafa Hussein

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.