Lazy Swig User
POYEN OP Olivier (DCL)
Olivier.POYEN at clf-dexia.com
Tue Mar 4 11:17:07 EST 2003
Ok,
thanks for the very fast answer.
Indeed, I needed a simple
-L/usr/X11R6/lib -lX11 -lXaw in my gcc *.o compilation.
This really rocks.
>hope this helps
It did !
> -----Message d'origine-----
> De : lyle at knology.net [mailto:lyle at knology.net]
> Envoyé : mardi 4 mars 2003 17:08
> À : POYEN OP Olivier (DCL)
> Objet : RE: Lazy Swig User
>
>
>
> On Tue, 4 Mar 2003 16:38:48 +0100, "POYEN OP Olivier (DCL)"
> <Olivier.POYEN at clf-dexia.com> wrote :
>
> > Sorry for being so lame at C, but why does gcc not complain
> about that.
> > Because I'm able to build the _xosd.so without trouble, and without
> telling gcc to import any lib.
>
> Right. GCC is only partially linking your shared library
> (_xosd.so), and so
> unresolved symbols (such as XFreePixmap, in your case) are
> allowed. There
> may be an option for it to report any unresolved symbols --
> you'll have to
> check the manual pages.
>
> > Do I have to add -L libX11.so in the gcc *.o step, even if
> it is in the
> LibPath ?
>
> Yes, you would do something like this:
>
> gcc -shared -o _xosd.so *.o -L/usr/X11R6/lib -lX11 ...
>
> > BTW, thanks for answering
>
> No problem, hope this helps.
>
-------------- next part --------------
-----------------------------------------------------------------
Ce message est confidentiel ; son contenu ne represente en aucun
cas un engagement de la part de Dexia Credit Local ou de Dexia
CLF Banque. Toute publication, utilisation ou diffusion, meme
partielle, doit etre autorisee prealablement par l'emetteur. Si
vous n'etes pas destinataire de ce message, merci d'en avertir
immediatement l'expediteur.
This message is confidential ; its contents do not constitute a
commitment by Dexia Credit Local or Dexia CLF Banque. Any
unauthorised disclosure, use or dissemination, either whole or
partial, is prohibited. If you are not the intended recipient of
the message, please notify the sender immediately.
-----------------------------------------------------------------
Consultez notre site internet www.dexia-clf.fr
La cle d'une gestion optimisee du secteur public local
-----------------------------------------------------------------
More information about the Python-list
mailing list