On Wed, Jun 04, 2003 at 04:11:43PM +0200, Denis Oliver Kropp wrote:
> Quoting Eric Christopherson ([EMAIL PROTECTED]):
> > 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 removed the PIC condition and now always push/pop ebx, does that work?

It does compile that way, yes. But I still get failures at runtime with
implementations not being available.

Also, I noticed one other section of code that's conditional on PIC, in
src/core/coredefs.h:

#ifdef PIC
#define DFB_DYNAMIC_LINKING
#endif

So it looks like it doesn't generate any dynamicly linkable code unless PIC
is defined. Could this be causing the problem with missing implementations?
(I will try once again to build everything staticly to test it out.)

-- 
Furrfu!         r a k k o  at  c h a r t e r  dot  n e t


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to