Hi ,

I am getting the following error :

[r...@anne-d sofia]# make
gcc `pkg-config sofia-sip-ua --cflags --libs` -DCALLER \
        -g -O0 -o hello-caller hello.c
Package sofia-sip-ua was not found in the pkg-config search path.
Perhaps you should add the directory containing `sofia-sip-ua.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sofia-sip-ua' found
hello.c:8:27: error: sofia-sip/nua.h: No such file or directory
hello.c:10: error: expected ‘)’ before ‘*’ token
hello.c:12: error: expected ‘)’ before ‘event’
hello.c: In function ‘main’:
hello.c:25: error: ‘su_root_t’ undeclared (first use in this function)
hello.c:25: error: (Each undeclared identifier is reported only once
hello.c:25: error: for each function it appears in.)
hello.c:25: error: ‘root’ undeclared (first use in this function)
hello.c:26: error: ‘nua_t’ undeclared (first use in this function)
hello.c:26: error: ‘nua’ undeclared (first use in this function)
hello.c:39: error: ‘event_callback’ undeclared (first use in this function)
hello.c: At top level:
hello.c:66: error: expected ‘)’ before ‘event’
hello.c:82: error: expected ‘)’ before ‘*’ token
make: *** [hello-caller] Error 1


I tried configuring PKG but it does not work:

PKG_CONFIG_PATH=/usr/local/include/sofia-sip-1.12/sofia-sip/


Does anyone know what is the problem?

thanks,
pete

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to