![](https://seccdn.libravatar.org/avatar/48c7514dcc01ae49b714c498f032ab6f.jpg?s=120&d=mm&r=g)
I am having trouble rebuilding xchat (The reason I am trying to rebuild it is because I am having the same problem compiling the latest version of xchat). I installed the source file xchat-1.6.4-23.src.rpm. When compiling, I get the following error: -------------- /usr/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_tmpnam': posixmodule.o(.text+0x30f6): the use of `tmpnam_r' is dangerous, better use `mkstemp' /usr/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_tempnam': posixmodule.o(.text+0x3012): the use of `tempnam' is dangerous, better use `mkstemp' /usr/lib/python2.0/config/libpython2.0.a(bsddbmodule.o): In function `newdbhashobject': bsddbmodule.o(.text+0x76): undefined reference to `__db185_open' /usr/lib/python2.0/config/libpython2.0.a(bsddbmodule.o): In function `newdbbtobject': bsddbmodule.o(.text+0x1a3): undefined reference to `__db185_open' /usr/lib/python2.0/config/libpython2.0.a(bsddbmodule.o): In function `newdbrnobject': bsddbmodule.o(.text+0x2cd): undefined reference to `__db185_open' collect2: ld returned 1 exit status make[3]: *** [xchat] Error 1 make[3]: Leaving directory `/usr/src/packages/BUILD/xchat-1.8.1/src/fe-gtk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/xchat-1.8.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/xchat-1.8.1' make: *** [all-recursive-am] Error 2 Bad exit status from /var/tmp/rpm-tmp.73124 (%build) ------------------ If I change the spec file to use the configure option "--disable-python" then it compiles ok. If I build it on a system without python (as I think suse did) then the configure script for xchat automatically disabld python support and everything worked. I have the following packages installed: foomanchu:~ # rpm -qa | grep ^db db-3.1.17-56 db-utils-3.1.17-56 db-devel-3.1.17-56 foomanchu:~ # rpm -qa | grep ^python python-doc-2.0-90 python-curses-2.0-90 python-demo-2.0-90 python-devel-2.0-90 python-gdbm-2.0-90 python-gtk-1.4.0-81 python-imaging-1.1-68 python-tk-2.0-90 python-2.0-90 Any ideas? I think the "undefined reference to `__db185_open'" error has something to do with SuSE 7.2 using version 3 of the Berkely Database (db-3.1.17-56) (Suse 6.4 used db version 2 and xchat compiled with python support there). Searches on www.google.com for __db185_open suggest the same thing. Has anyone managed to compile xchat on suse 7.1 or 7.2? (with python support). Also is there a way to get around the "undefined reference to `__db185_open'" error, as it is bound to reappear. Thanks.