Compiling problems.... not version specific.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This isn't a new issue, in fact I've never not seen this happen, but 
when I follow the instructions from;

http://www.gnugk.org/compile-cvs.html

I get the following error when I try to make addpasswd;

g++ -o ./obj_linux_x86/addpasswd  ./obj_linux_x86/addpasswd.o 
-L/usr/lib    -L/root/GNUGK20100607/ptlib/lib_linux_x86 
-L/root/GNUGK20100607/h323plus/lib -lpt -lmysqlclient  -lz  -lpthread 
-lrt -lsasl2 -lssl -lcrypto   -lexpat  -lresolv -ldl
/usr/bin/ld: cannot find -lpt
collect2: ld returned 1 exit status
make: *** [addpasswd] Error 1

now in my script where I check everything out and build, I've put in a 
work around, which is;

# make addpasswd always fails because the ptlib isn't right (missing 
_s), so lets just manually do it as the Makefile is dynamic
ly generated.
g++ -o ./obj_linux_x86/addpasswd  ./obj_linux_x86/addpasswd.o 
-L/usr/lib    -L${PTLIBDIR}/lib_linux_x86 -L${OPENH323DIR}/lib -lp
t_s -lmysqlclient  -lz  -lpthread -lrt -lsasl2 -lssl -lcrypto   -lexpat  
-lresolv -ldl


So my question is, how do I fix this permanently.  It would be nice to 
just have it build cleanly with no more work arounds.

Thanks
  Andrew

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________________

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/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux