GnuGk inherits the 90% of its make process from PTLib and H323Plus (those makefiles are included in GnuGk's Makefile). PTLibs default target for make builds both a debug and an optimized ('opt') version, both with shared libraries. So for a GnuGk compile with 'make' to succeed, you have to have available the compiled debug _and_ optimized versions of H323Plus and PTLib. If have them, a plain 'make' will work. My suggestion is to not use shared libraries of H323Plus and PTLib with GnuGk, so they won't be in conflict with versions other applications might need, but system libraries still get updated with the regular security updates. To get that, compile PTLib, H323Plus and GnuGk each with 'make optnoshared'. The downside to that approach is that the inherited 'install' target only works with the regular 'opt' version, but GnuGk is just a single file, so its easily installed manually. Regards, Jan Robert White wrote: > Pardon my ignorance, but can I ask why compiling with just 'make' is not a good idea? > > -----Original Message----- > From: Jan Willamowius [mailto:jan@xxxxxxxxxxxxxx] > Sent: Friday, 26 June 2009 5:20 PM > To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: Compile error cannot find -lpt_linux_x86_d > > Hi Robert, > > the compiler can't find the debug version of PWLib. > > It looks like you are compiling GnuGk with just "make", which usually > isn't a good idea. Try to compile PWLib, OpenH323 and GnuGk each with a > "make optnoshared" (in that order) and then copy the gnugk executable > form the obj... directory to your bin directory. > > Regards, > Jan > > > Robert White wrote: > > I'm trying to compile gnugk 2.3.0-1 on Centos 5.3 with pwlib v1.10.3 and openh323 v1.18.0 > > > > I keep getting the following compile error but I can find no reference to lpt_linux_x86_d > > > > Error: > > > > /usr/bin/ld: cannot find -lpt_linux_x86_d > > collect2: ld returned 1 exit status > > make[4]: *** [/usr/src/openh323_v1_18_0/lib/libh323_linux_x86_d.so.1.18.0] Error 1 > > make[4]: Leaving directory `/usr/src/openh323_v1_18_0/src' > > make[3]: *** [/usr/src/openh323_v1_18_0/lib/libh323_linux_x86_d.so] Error 2 > > make[3]: Leaving directory `/usr/src/gnugk-2.3.0' > > make[2]: *** [debug] Error 2 > > make[2]: Leaving directory `/usr/src/gnugk-2.3.0' > > make[1]: *** [debugshared] Error 2 > > make[1]: Leaving directory `/usr/src/gnugk-2.3.0' > > make: *** [bothshared] Error 2 > > [root@localhost gnugk-2.3.0]# > > > > Can someone please help!? > > -- > Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ ------------------------------------------------------------------------------ _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/