On Sat, 8 Dec 2012 13:59:20 +0900 Nishant Rodrigues <nishant.rodrigues at infinetfs.com> wrote: > Just guessing from the error message, but it looks like PJMEDIA_HAS_VIDEO > needs a value. > I would assume 0 is disabled Yes i have used now this in Makefile .if ${PORT_OPTIONS:MV4L} @${ECHO_CMD} "#define PJMEDIA_HAS_VIDEO" 1 >> ${WRKSRC}/pjlib/include/pj/config_site.h .endif And not have more build failure, but this isn't described in pjlib/include/pj/config_site_sample.h Thanks, nemysis > On Sat, Dec 8, 2012 at 6:19 AM, nemysis <nemysis at gmx.ch> wrote: > > > Hello > > > > I'm new to PJSIP and try to port it to FreeBSD > > > > > > When i use this in Makefile > > # Not build with this. > > .if ${PORT_OPTIONS:MV4L} > > @${ECHO_CMD} "#define PJMEDIA_HAS_VIDEO" >> > > ${WRKSRC}/pjlib/include/pj/config_site.h > > .endif > > > > get this > > > > port test > > ... > > gcc -c -Wall -DPJ_AUTOCONF=1 -O2 -DPJ_IS_BIG_ENDIAN=0 > > -DPJ_IS_LITTLE_ENDIAN=1 > > ... > > /srtp/include \ > > -o output/pjmedia-x86_64-unknown-freebsd9.0/avi_player.o \ > > ../src/pjmedia/avi_player.c > > ../src/pjmedia/avi_player.c:35:54: error: operator '!=' has no left operand > > gmake[2]: *** [output/pjmedia-x86_64-unknown-freebsd9.0/avi_player.o] > > Error 1 > > gmake[2]: Leaving directory > > `/var/tmp/ports/usr/local/ports/local/pr/net/pjsip/work/pjproject-2.0.1/pjmedia/build' > > gmake[1]: *** [pjmedia] Error 2 > > gmake[1]: Leaving directory > > `/var/tmp/ports/usr/local/ports/local/pr/net/pjsip/work/pjproject-2.0.1/pjmedia/build' > > gmake: *** [all] Error 1 > > *** Error code 2 > > > > Stop in /usr/local/ports/local/pr/net/pjsip. > > *** Error code 1 > > > > Stop in /usr/local/ports/local/pr/net/pjsip. > > ===> Error running make build > > ===> Cleaning up > > > > > > Without this Setting for V4L PJSiP compile good. > > > > Please correct this, thanks. > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip at lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >