The situation is this, I have my program written in python and it compiles a little 
module to interface with libavi (A C++ shared library with certain symbol names python 
recognizes when loading a non-python module).

I started development under RedHat 7.1 and things worked very beautifully with the 
latest snapshots.  However, I switched to Sorcerer linux, which, among many other 
things, has gcc-295.3.  The provided aviplay binary works fine, but when my modules 
(which owrked under a different platform) tried to run, all the plugins thorw out 
undefined symbols that nm shows to be in libaviplay.so, which should be responsible 
for loading the modules, right?

Here is the line I use to build to python compliant avi module:

g++ -DPIC -fPIC -shared `avifile-config --cflags` -I/usr/include/python2.2 
`avifile-config --libs` `sdl-config --libs` avi.cpp WMWidget.cpp -o ../modules/avi.so

And the output includes (from today's CVS, simliar case with previous snapshot):
<Codec keeper> : /usr/local/lib/avifile0.6/libac3pass.so: found  A: 1  V: 0  plugin
<Codec keeper> : WARNING: plugin /usr/local/lib/avifile0.6/libwin32.so could not be 
opened: /usr/local/lib/avifile0.6/libwin32.so: undefined symbol: 
__tiQ23avm13IVideoDecoder
<Codec keeper> : WARNING: plugin /usr/local/lib/avifile0.6/libwin32.so could not be 
opened: /usr/local/lib/avifile0.6/libwin32.so: undefined symbol: 
__tiQ23avm13IVideoDecoder
<Codec keeper> : WARNING: plugin /usr/local/lib/avifile0.6/libwin32.so could not be 
opened: /usr/local/lib/avifile0.6/libwin32.so: undefined symbol: 
__tiQ23avm13IVideoDecoder


And many others, basically, no plugin can load.  The two differences I can think of is 
that Python is 2.2 when Iit was 1.5.2 before, and gcc is 2.95.3, while it was RedHat's 
2.96 gcc before...

Anyone have a suggestion as to how I can get this thing to work?

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to