On Tue, Jun 03, 2003 at 04:56:57PM -0500, Eric Christopherson wrote: > Disabling both of them did it for me. Not content with that, however, I > did a web search of the insidious error message "can't find a register in > class `BREG' while reloading `asm'." It appears that this message means that > %ebx is listed as an output (or otherwise gets clobbered), which is not > permissible in PIC code. So I had a hunch that PIC was undefined as far as > cpp was concerned, which made cpp define cpuid in its not-PIC form instead > of its PIC form. So, I just added "#define PIC" above the check and > definition of cpuid, and sure enough it compiled without complaints then. > > The question is: why isn't the variable PIC defined? Should it be defined > automatically by the compiler whenever -fPIC is included, or does it need to > be defined in a header or makefile or something?
I think libtool should handle this stuff automagically. Maybe your libtool is too old? -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
