From: daniel h. <dan...@to...> - 2004-10-09 17:11:25
|
Michael Van Donselaar a =E9crit : > <>On Sat, 09 Oct 2004 16:21:13 +0200, daniel huhardeaux=20 > <de...@to...> wrote: > > [...] > accounts.o(.text+0x17e3):/home/dh/src/iaxclient/simpleclient/iaxcomm/ac= counts.cc:127:=20 > > more undefined references to `wxXmlResource::GetXRCID(char const*)' fol= low > collect2: ld a retourn=E9 1 code d'=E9tat d'ex=E9cution > make: *** [iaxcomm] Erreur 1 > dh@nomade:~/src/iaxclient/simpleclient/iaxcomm$ > > >Do you have the xrc contribs to wxWindows compiled? ISTR that I got the= same >types of errors when I first compiled on my RedHat system and had forgot= ten to >do that. > > =20 > In debian-unstable wxrc is provided by libwxgtk2.4-contrib-dev which=20 provide also /usr/lib/libwx_gtk_xrc-2.4.so So for me should be ok. >>I checked and found a wxXmlResource.py in wxpython sample directory. Is= =20 >>this one which is missing? If yes, where to copy it? I tried to put a=20 >>copy in iaxcomm dir but no luck. >> >>Also, to get compile pass on Debian, I had to modify makefile by=20 >>commenting extralibs=3D/usr/local/lib/libwx_gtk_xrc-2.4.a and removing=20 >>$(EXTRALIBS) from SYSLIBS >> =20 >> > >I may not have put that in the Makefile correctly, but you *will* need t= o link >against the xrc library. All of the resources are loaded dynamically vi= a the >xrc system. > =20 > See above. Removing this line make the above library used by ld. And so=20 went xrc_res.cc compiling. > =20 > >>Another point to put in README, is that libtiff4-dev should also be=20 >>installed. >> =20 >> > >I don't think I have it installed on my RedHat system. Might be a diffe= rence >bewteen your wxWidgets installation and mine. > =20 > Not installed ld complain about ltiff missing >>Thanks for any hint concerning my compilation problem. >> =20 >> > >Hope it goes well for you. I'll be happy to help, but will be offline m= ost of >this weekend. > =20 > Nice WE than ;-) --=20 Daniel Huhardeaux ______ _____ _____ ______ ______ __ enum +48 32 285 5276 /_ _// _ // _ //_ _// __ // / IAX FWD +1 7009 422493 / / / // // // / / / / /_/ // / sip:102 h323:121 @voip./_/ /____//____/ /_/ /_/ /_//_/.com |