X-Spam-Check-By: sourceware.org Date: Tue, 30 May 2006 09:22:14 -0400 From: Nelson Pereira Subject: Trying to compile siproxd on cygwin To: cygwin AT cygwin DOT com Reply-to: npereira AT videotron DOT ca Message-id: MIME-version: 1.0 X-Mailer: Microsoft Outlook, Build 10.0.2616 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Has anyone done this successfuly? Running latest cygwin. Here is what I did: Compiled libosip successfully: $ locate libosip /usr/local/lib/libosip2.a /usr/local/lib/libosip2.dll.a /usr/local/lib/libosip2.la /usr/local/lib/libosipparser2.a /usr/local/lib/libosipparser2.dll.a /usr/local/lib/libosipparser2.la /usr/local/lib/pkgconfig/libosip2.pc Configure siproxd: $ ./configure --with-libosip-prefix=/usr/local Configs is fine with no errors... Then the Make: This is where it fails ! $ make make all-recursive make[1]: Entering directory `/usr/src/siproxd-0.5.12' Making all in src make[2]: Entering directory `/usr/src/siproxd-0.5.12/src' incrementing BUILD number if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -D_GNU_SOURCE - DBUILDSTR="\"`cat .buildno`\"" -g -O2 -D_POSIX_THREAD_SAFE_FUNCTIONS -MT resolv e.o -MD -MP -MF ".deps/resolve.Tpo" \ -c -o resolve.o `test -f 'resolve.c' || echo './'`resolve.c; \ then mv -f ".deps/resolve.Tpo" ".deps/resolve.Po"; \ else rm -f ".deps/resolve.Tpo"; exit 1; \ fi resolve.c:23:26: arpa/nameser.h: No such file or directory resolve.c:24:20: resolv.h: No such file or directory resolve.c: In function `resolve_SRV': resolve.c:43: error: `T_SRV' undeclared (first use in this function) resolve.c:43: error: (Each undeclared identifier is reported only once resolve.c:43: error: for each function it appears in.) resolve.c: In function `resolve_NAPTR': resolve.c:51: error: `T_NAPTR' undeclared (first use in this function) resolve.c: In function `_resolve': resolve.c:62: error: `C_ANY' undeclared (first use in this function) resolve.c:65: error: `PACKETSZ' undeclared (first use in this function) resolve.c:69: error: `HEADER' undeclared (first use in this function) resolve.c:69: error: `res_header' undeclared (first use in this function) resolve.c:72: error: `MAXDNAME' undeclared (first use in this function) resolve.c:90: warning: implicit declaration of function `res_query' resolve.c:96: error: parse error before ')' token resolve.c:105: warning: implicit declaration of function `dn_expand' resolve.c:139: error: `T_NAPTR' undeclared (first use in this function) resolve.c:183: error: `T_SRV' undeclared (first use in this function) resolve.c:65: warning: unused variable `msg' resolve.c:72: warning: unused variable `exp_dn' resolve.c:83: warning: unused variable `tmpname' make[2]: *** [resolve.o] Error 1 make[2]: Leaving directory `/usr/src/siproxd-0.5.12/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/siproxd-0.5.12' make: *** [all] Error 2 Can anyone help? Regards, Nelson Pereira www.npereira.com -- 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/