On June 17, 2007, Gerhard Erker wrote:
> Hello,
> I have a clfs-System (pure_64) and want to install the x-server.
> When configuring i got the following error:
>
> dlopen: /usr/lib/X11/modules/drivers/atimisc_drv.so: undefined
> symbol: ATIMemoryTypeNames_88800CX
> (EE) Failed to load /usr/lib/X11/modules/drivers/atimisc_drv.so
> (EE) Failed to load module "atimisc" (loader failed, 7)
>
> Am I have this problem because i'm working with 64 bits and have i to
> compile the driver or the server with special flags?
> And can someone tell me the right flags?
>
> I also compiled the fbdev driver.
> My videocard is ati
>
> Many thanks in advantage for your help.
>
> Gerhard Erker

dlopen will return an error when a symbol cannot be resolved. In this 
case it is ATIMemoryTypeNames_88800CX. 

Looking at the relocation section of atimisc_drv.so, we will find this 
symbol has NOTYPE. Hmmmm, so where could it be???

I have a script that searches object files for symbols. I found this 
symbol in ati_drv.so. 

. findsym ATIMemoryTypeNames_88800CX /opt/X/lib/xorg/modules

./drivers/atimisc_drv.so: 00000000 *UND* 00000000              
ATIMemoryTypeNames_88800CX

./drivers/ati_drv.so:  0000b820 g O .data 00000020              
ATIMemoryTypeNames_88800CX

Since all prerequisite shared objects need to be dlopen(ed) before the 
the target object,  we can deduce that atimisc_drv.so is being opened 
out of order.

ati_drv.so just so happens to be the name of the ati driver (i believe).
X dlopens the driver you specify in xorg.conf. So like Ken said, he 
would expect to see 'ati' in place of 'atimisc'. Further, if you have a 
radeon card, the driver is 'radeon'.

You could also check to ensure your ModulePath(s) are correct.

Assuming you have built all other objects correctly, this should work.

Shawn
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to