<html><body><div style="color:#000; background-color:#fff; font-family:garamond, new york, times, serif;font-size:12pt"><div><span>I am in great awe of the amazing work the dbus developers have done! But I need help with dbus-python.</span></div><div><span><br></span></div><div><span>I am using mingw, windows xp sp3 (x86), dbus-1.6.0 (confirmed works), dbus-glib-0.100.</span></div><div><span>I have passed PYTHON_LIBS="-L/c/python27/libs -llibpython27.a" with and without the "a" extension.</span></div><div><span>I also made my own library from python27.dll using the directions on mingw faqs [1], then linking using PYTHON_LIBS="-L/mingw/lib -libpython27" which is where I copied the library too, both with and without the "a" extension.</span></div><div><span>I tried linking with PYTHON_LIBS="-L/c/windows/system32 -lpython27.dll" with and without</span><span style="font-size: 12pt; "> "dll" extension.</span></div><div><span style="font-size: 12pt;
 "><br></span></div><div>The linker always warns that undefined objects will be ignored, and then compiles all of the objects in _dbus_bindings, links them together, without libpython.</div><div><br></div><div>Then python doesn't recognize the extension</div><div><br></div><div>traceback is dll error, %1 is not a valid win32 application.</div><div><br></div><div>nm _dbus_bindings shows that it's full of libraries.</div><div><span><br></span></div><div><span>[1] </span><a href="http://www.mingw.org/wiki/FAQ" style="font-size: 12pt; ">http://www.mingw.org/wiki/FAQ</a></div><div><br></div><div>I'm trying the cmake variations now from kde and chris hoeger, but any help would be greatly appreciated. Thanks!</div><div> </div><div><span style="font-family: garamond, times, serif; ">Thanks,<br>Mark Mikofski<br><a rel="nofollow" target="_blank" href="http://poquitopicante.blogspot.com/">poquitopicante.blogspot.com</a><br><a rel="nofollow"
 target="_blank" href="http://breakingbytes.blogspot.com/">breakingbytes.blogspot.com</a><br><a rel="nofollow" target="_blank" href="http://www.breaking-bytes.com/">www.breaking-bytes.com</a></span></div></div></body></html>