When I tried to compile the latest SavageFB driver into the kernel (0.4.0) it failed on line 2644 due to:
savagefb.c: initialized causes a section type conflict This is caused by this line: static __init int initialized = 0; When searching for an answer, this is what I found: > gcc 2.95.2 doesn't complain. Affects linux build. > Is that supposed to happen? Yes. 2.95 silently creates a read-only section when this is not desired. Anyway, the solution was to change __init into __initdata and voila, fixed (or so I belive, compiling as I write). Does anyone know if this is correct. If so, could the patch be changed or a note be added that gcc 3.x will fail if this patch is applied without any alteration? Regards... /Henric -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
