I have build a lib. It create h file and lib file in usr/local/include and usr/local/lib dictionary. But when I create application using this lib, the link problem occur. The lib is Jrtplib come from http://lumumba.luc.ac.be/jori/jrtplib/jrtplib.html. I can build this lib. But when I compile the example it has problem as below:
$ gcc -Ljrtp 1.cpp /cygdrive/c/DOCUME~1/zjiang/LOCALS~1/Temp/ccX94cqR.o(.text+0x35):1.cpp: undefine d reference to `RTPSession::RTPSession[in-charge]()' /cygdrive/c/DOCUME~1/zjiang/LOCALS~1/Temp/ccX94cqR.o(.text+0x43):1.cpp: undefine d reference to `RTPSession::~RTPSession [in-charge]()' /cygdrive/c/DOCUME~1/zjiang/LOCALS~1/Temp/ccX94cqR.o(.eh_frame+0x11):1.cpp: unde fined reference to `___gxx_personality_v0' collect2: ld returned 1 exit status [EMAIL PROTECTED] /cygdrive/d/document/voip/jrtplib-2.7/examples In the command line I have use -Ljrtp indicator the lib. Can someone tell why I can't use the lib? -- Best Regards Jiangzhou -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/