RE: libextmod.a does not resolve symbols in XFree86

2004-07-15 Thread Michael Boccara
Great, this worked !
Thanks a lot, Mark.

Michael

> -Original Message-
> From: Mark Vojkovich [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 14, 2004 11:30 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: libextmod.a does not resolve symbols in XFree86
> 
> 
> 
> 
> On Wed, 14 Jul 2004, Michael Boccara wrote:
> 
> > > > Functions defined in XFree86 are not resolved in libextmod.a
> > > when referenced
> > > > as extern.
> > > > Why ?
> > > > Is there a way to help the symbol resolution ?
> > > >
> > >This is a problem you are seeing with the existing code or only
> > > after you modified something?   XFree86 modules can only resolve
> > > symbols exported by the core server.  XFree86 modules do not link
> > > to external libraries.
> > >
> >
> > Interesting.
> > I did modify something. I am actually developing my own X11 
> extension, in
> > the extmod module. The base XFree86 code doesn't have any issue.
> > The symbol I am trying to resolve is defined in libdix.a
> > (xc/programs/Xserver/dix), which is statically linked to XFree86.
> > How does XFree86 export symbols explicitely ?
> 
>   DIX symbols are exported in 
> xc/programs/Xserver/hw/xfree86/loader/dixsym.c
> 
> 
>   Mark.
> 
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


RE: libextmod.a does not resolve symbols in XFree86

2004-07-14 Thread Mark Vojkovich
On Wed, 14 Jul 2004, Michael Boccara wrote:

> > > Functions defined in XFree86 are not resolved in libextmod.a
> > when referenced
> > > as extern.
> > > Why ?
> > > Is there a way to help the symbol resolution ?
> > >
> >This is a problem you are seeing with the existing code or only
> > after you modified something?   XFree86 modules can only resolve
> > symbols exported by the core server.  XFree86 modules do not link
> > to external libraries.
> >
>
> Interesting.
> I did modify something. I am actually developing my own X11 extension, in
> the extmod module. The base XFree86 code doesn't have any issue.
> The symbol I am trying to resolve is defined in libdix.a
> (xc/programs/Xserver/dix), which is statically linked to XFree86.
> How does XFree86 export symbols explicitely ?

  DIX symbols are exported in xc/programs/Xserver/hw/xfree86/loader/dixsym.c


Mark.
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


RE: libextmod.a does not resolve symbols in XFree86

2004-07-14 Thread De Laet, Rick
I have run into the same problem and was wondering what would it take
for the people in charge to export additional symbols?  

For example I am porting our X server to Xfree86 which accelerated fonts by
storing
some glyph information in graphics memory.  In our X server this was
implemented by allocating Font privates by calling
AllocateFontPrivateIndex()
but this is not an exported symbol. Now I cannot use this feature and text
drawing 
is 40% slower than what it was in our X server.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Mark Vojkovich
Sent: Wednesday, July 14, 2004 1:26 PM
To: [EMAIL PROTECTED]
Subject: Re: libextmod.a does not resolve symbols in XFree86


On Wed, 14 Jul 2004, Michael Boccara wrote:

> Functions defined in XFree86 are not resolved in libextmod.a when
referenced
> as extern.
> Why ?
> Is there a way to help the symbol resolution ?
>
> Thanks,
>
> Michael Boccara

   This is a problem you are seeing with the existing code or only
after you modified something?   XFree86 modules can only resolve
symbols exported by the core server.  XFree86 modules do not link
to external libraries.


Mark.
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


RE: libextmod.a does not resolve symbols in XFree86

2004-07-14 Thread Michael Boccara
> > Functions defined in XFree86 are not resolved in libextmod.a
> when referenced
> > as extern.
> > Why ?
> > Is there a way to help the symbol resolution ?
> >
>This is a problem you are seeing with the existing code or only
> after you modified something?   XFree86 modules can only resolve
> symbols exported by the core server.  XFree86 modules do not link
> to external libraries.
>

Interesting.
I did modify something. I am actually developing my own X11 extension, in
the extmod module. The base XFree86 code doesn't have any issue.
The symbol I am trying to resolve is defined in libdix.a
(xc/programs/Xserver/dix), which is statically linked to XFree86.
How does XFree86 export symbols explicitely ?

Thanks,

Michael


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: libextmod.a does not resolve symbols in XFree86

2004-07-14 Thread Mark Vojkovich
On Wed, 14 Jul 2004, Michael Boccara wrote:

> Functions defined in XFree86 are not resolved in libextmod.a when referenced
> as extern.
> Why ?
> Is there a way to help the symbol resolution ?
>
> Thanks,
>
> Michael Boccara

   This is a problem you are seeing with the existing code or only
after you modified something?   XFree86 modules can only resolve
symbols exported by the core server.  XFree86 modules do not link
to external libraries.


Mark.
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel