[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] PyQt - undefined symbol
From:       Erik Dahlgren <ebdahlgr () unity ! ncsu ! edu>
Date:       2003-04-19 21:55:23
[Download RAW message or body]

I looked a little closer at the nm output of libpython2.2.a and found

         U PyUnicodeUCS2_FromUnicode
00000440 T PyUnicodeUCS2_FromUnicode
         U PyUnicodeUCS2_FromUnicode

So it is defined. Any idea why libqtcmodule.so can't find it then?

Erik

On Saturday 19 April 2003 04:10 pm, Phil Thompson wrote:
> On Saturday 19 April 2003 3:40 pm, Erik Dahlgren wrote:
> > Both my python and qt versions are from RH9. When running nm on
> > libqtcmodule.so I get
> >
> >          U PyUnicode_Type
> >          U PyUnicodeUCS2_FromUnicode
> > 002e3190 t _Z18QStringToPyUnicodeP7QString
> >
> > In libpython2.2.a there is 'U PyUnicodeUCS2_FromUnicode' so they seem to
> > agree. There are no symbols in my libqt-mt.so in my qt lib dir. There is
> > no such file in the site-packages dir.
>
> You don't want them to agree. You want to see "U" in libqtcmodule.so
> meaning it's undefined. You want to see "T" in libpython2.2.a meaning it's
> defined. (Note that it might also appear several times as "U" in the .a
> file.)
>
> Phil

-- 
Erik Dahlgren
ebdahlgr@unity.ncsu.edu

"Programming today is a race between software engineers 
striving to build bigger and better idiot-proof programs, 
and the Universe trying to produce bigger and better idiots. 
So far, the Universe is winning."

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic