[Sofia-sip-devel] sofia-sip changes (2007-07-18)

2007-07-18 Thread Sofia-SIP Darcs Changes
This posting was generated automatically from darcs repo
.

Wed Jul 18 23:05:26 EEST 2007  [EMAIL PROTECTED]
  * Added a new link to gawk.exe win-binaries.

M ./win32/README.txt -1 +2

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Problems with autogen.cmd on Windows XP

2007-07-18 Thread Pedro Sanchez
Hello,

I downloaded sofia-sip 1.12.6 and installed the GNU utils on my machine. 
I then opened a terminal console and did the following:

 >cd sofia-sip-1.12.6\win32
 >path = %PATH%;C:\Program Files\gnuUtils\usr\local\wbin
 >autogen.cmd

 >for %f in (config.h ..\libsofia-sip-ua\features\sofia-si
p\sofia_features.h) do gawk -v BINMODE="rw" -f version.awk 
..\configure.ac OUT=1
  %f.in  1>%f

 >gawk -v BINMODE="rw" -f version.awk ..\configure.ac OUT=
1 config.h.in  1>config.h

 >gawk -v BINMODE="rw" -f version.awk ..\configure.ac OUT=
1 ..\libsofia-sip-ua\features\sofia-sip\sofia_features.h.in 
1>..\libsofia-sip-u
a\features\sofia-sip\sofia_features.h

 >gawk -v BINMODE=rw -f ../libsofia-sip-ua/msg/msg_parser.awk 
module=msg_test NO_MIDDLE=1 NO_LAST=1 
PR=../libsofia-sip-ua/msg/test_protos.h 
../libsofia-sip-ua/msg/test_class.h  0http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] open-source ICE

2007-07-18 Thread Kai Vehmanen
Hi,

On Mon, 9 Jul 2007, Kai Vehmanen wrote:

> somewhat related, we have been working on a patch to add full IETF ICE 
> support to the Freedesktop NICE project. The project page is at:

as a follow-up, I now added a test media implementation using NICE to 
sofsip-cli. Here's a quick intro how to run automated tests with this 
code:

[getting and compiling the software]
sh> darcs get http://projects.collabora.co.uk/~kvehmane/nice/
sh> cd nice
sh> ./configure && make && make install
sh> darcs get http://sofia-sip.org/repos/sofsip-cli
sh> cd sofsip-cli
sh> ./configure && make
sh> cd src

[server client]
sh> ./sofsip-cli sip:[EMAIL PROTECTED] --media-impl=nice --autoanswer
# register to network with sofsip-cli
sofsip-cli> r
# if password protected account, provide the password
sofsip-cli> k mypassword

[test client]
sh> ./nice_tester sip:[EMAIL PROTECTED] sip:[EMAIL PROTECTED] testpassword && 
echo "SUCCESS"

This allows for fairly automated testing from different access networks. 
Do let me know if you have success (or even problems) with this. It would 
be interesting to know how current NICE works in different networks.

The 'nice_tester' program is also a good example how to write simple SIP 
test apps with Sofia-SIP.

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Need gawk.exe for Windows build

2007-07-18 Thread Kai Vehmanen
Hi, 

On 18 July 2007, Pedro Sanchez wrote:
>I want to compile sofia-sip under Windows XP and according to 
>the documentation I need the executable gawk.exe. This file is 
>supposed to be available from http://unxutils.sourceforge.net 
>but the download links are broken.

the project's sourceforge.net download page is still working:
http://sourceforge.net/project/showfiles.php?group_id=9328

-- 
[EMAIL PROTECTED] (Kai Vehmanen)


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Need gawk.exe for Windows build

2007-07-18 Thread Pedro Sanchez
Hello,

I want to compile sofia-sip under Windows XP and according to the
documentation I need the executable gawk.exe. This file is supposed to
be available from http://unxutils.sourceforge.net but the download links
are broken.

Can anyone provide me with this file or with a pointer to where to get
it?

Thanks,

-- 
Pedro



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Sofia-sip for Symbian (Open C version) with GCCE compiler

2007-07-18 Thread Otso Kassinen

Thanks for the quick reply. We tried the new commands. Unfortunately,
the build still fails. Can you spot what's wrong in our build efforts?

Here are the exact commands which I entered:
   realdarcs get http://www.sofia-sip.org/repos/sofia-sip/
   cd sofia-sip\open_c\
   autogen.cmd  (No errors were displayed)
   build_sources.cmd  (No errors were displayed)
   cd group
   bldmake bldfiles
   abld build gcce urel

And here's the output of the compile:

(...First comes a long list of copy-operations of header files...)
   make -r  -f "\EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make" MAKEFILE 
VERBOSE=-s
perl -S makmake.pl  -D \sofia-sip\open_c\group\LIBSOFIA-SIP-UA GCCE
WARNING: Frozen .DEF file \sofia-sip\open_c\EABI\libsofia-sip-uaU.DEF not 
found - project not frozen
initialiseConfig: GCCE
X:\sofia-sip\libsofia-sip-ua\su\su.c:185: #error su_localinfo() cannot map 
interface name to number
ERROR: cpp.EXE failure
make: *** [MAKEFILELIBSOFIA-SIP-UA] Error 33
   make -r  -f "\EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make" LIBRARY 
VERBOSE=-s
make -s  -r -f 
"\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE"
 
LIBRARY
make[1]: 
\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE: 
No such file or directory
make[1]: *** No rule to make target 
`\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE'.
 
Stop.
make: *** [LIBRARYLIBSOFIA-SIP-UA] Error 2
   make -r  -f "\EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make" RESOURCE 
CFG=UREL VERBOSE=-s
make -s  -r -f 
"\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE"
 
RESOURCEUREL
make[1]: 
\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE: 
No such file or directory
make[1]: *** No rule to make target 
`\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE'.
 
Stop.
make: *** [RESOURCELIBSOFIA-SIP-UA] Error 2
   make -r  -f "\EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make" TARGET 
CFG=UREL VERBOSE=-s
make -s  -r -f 
"\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE"
 
UREL
make[1]: 
\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE: 
No such file or directory
make[1]: *** No rule to make target 
`\EPOC32\BUILD\sofia-sip\open_c\group\LIBSOFIA-SIP-UA\GCCE\LIBSOFIA-SIP-UA.GCCE'.
 
Stop.
make: *** [TARGETLIBSOFIA-SIP-UA] Error 2
   make -r  -f "\EPOC32\BUILD\sofia-sip\open_c\group\GCCE.make" FINAL 
CFG=UREL VERBOSE=-s

One more bit of info on our build environment:
we have Symbian SDK 3rd Ed. FP1 for Symbian OS 9.2.
Also 'mawk' has been installed.

- Otso Kassinen
   MediaTeam Oulu Research Group
   University of Oulu
   Finland

On Wed, 18 Jul 2007, Martti Mela wrote:

> Uh, sorry my mistake:
>
> first you need to run sofia-sip\open_c\autogen.cmd and
> sofia-sip\open_c\build_sources.cmd files. Note that for this you need awk
> for Windows (mawk).
>
> When running abld the compiler might complain about not finding the Open C
> headers. Then just correct the paths according to your environment and
> re-run.
>
> Please report if you face any issues and I'll try to fix them asap.
> BR,
>
> Martti
>
>
> On 7/17/07 3:06 PM, "ext Otso Kassinen" <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi. We have faced a problem when trying to compile Sofia-sip
>> for Open C, for use on the Symbian platform.
>>
>> Based on Martti Mela's instructions for building the Open C ported Sofia,
>> we entered the following commands:
>>cd sofia-sip\open_c\group
>>bldmake bldfiles
>>abld build gcce urel
>> (Please note that the ARMV5 compiler is not available; we used
>> GCCE instead, although Martti recommends "abld build armv5 urel".)
>>
>> The following compilation error occurs:
>>X:\sofia-sip\libsofia-sip-ua\su\su.c:185: #error su_localinfo() cannot
>>map interface name to number
>>
>> How can this error be corrected? Is it a bug, or maybe something that works
>> for ARMV5 but not for GCCE? (We didn't try ARMV5 build, because the ARMV5
>> compiler is commercial, according to our knowledge. We didn't want to
>> purchase it just for trying it.)
>>
>> With great probability, we need to use Open C Sofia-sip in our project,
>> so we would appreciate the help of Sofia-sip experts on this error.
>>
>> Details of our build environment
>> * Sofia-sip version: We downloaded the module "sofia-sip" from the
>>Darcs repository http://sofia-sip.org/repos/ yesterday, on 16 July 2007
>> * Open C has been installed and the Open C examples work in our system
>> * X: drive is a subst'ed drive that contains the Symbian SDK directories
>>(because Sofia-sip MMP files referred to absolute paths like \Epoc32\...)
>> * We heard of the Open C based Sofia-sip port being available in Martti's
>>message
>>http://article.gmane.org/gmane.comp.telephony.sofia-sip.devel/1717
>>
>> Regards,
>> - Otso Kassinen
>>MediaTeam Oulu Research Group
>>University of Oulu
>>Finland
>

Re: [Sofia-sip-devel] Sofia-sip for Symbian (Open C version) with GCCE compiler

2007-07-18 Thread Martti Mela
Uh, sorry my mistake:

first you need to run sofia-sip\open_c\autogen.cmd and
sofia-sip\open_c\build_sources.cmd files. Note that for this you need awk
for Windows (mawk).

When running abld the compiler might complain about not finding the Open C
headers. Then just correct the paths according to your environment and
re-run.

Please report if you face any issues and I'll try to fix them asap.
BR,

Martti


On 7/17/07 3:06 PM, "ext Otso Kassinen" <[EMAIL PROTECTED]> wrote:

> 
> Hi. We have faced a problem when trying to compile Sofia-sip
> for Open C, for use on the Symbian platform.
> 
> Based on Martti Mela's instructions for building the Open C ported Sofia,
> we entered the following commands:
>cd sofia-sip\open_c\group
>bldmake bldfiles
>abld build gcce urel
> (Please note that the ARMV5 compiler is not available; we used
> GCCE instead, although Martti recommends "abld build armv5 urel".)
> 
> The following compilation error occurs:
>X:\sofia-sip\libsofia-sip-ua\su\su.c:185: #error su_localinfo() cannot
>map interface name to number
> 
> How can this error be corrected? Is it a bug, or maybe something that works
> for ARMV5 but not for GCCE? (We didn't try ARMV5 build, because the ARMV5
> compiler is commercial, according to our knowledge. We didn't want to
> purchase it just for trying it.)
> 
> With great probability, we need to use Open C Sofia-sip in our project,
> so we would appreciate the help of Sofia-sip experts on this error.
> 
> Details of our build environment
> * Sofia-sip version: We downloaded the module "sofia-sip" from the
>Darcs repository http://sofia-sip.org/repos/ yesterday, on 16 July 2007
> * Open C has been installed and the Open C examples work in our system
> * X: drive is a subst'ed drive that contains the Symbian SDK directories
>(because Sofia-sip MMP files referred to absolute paths like \Epoc32\...)
> * We heard of the Open C based Sofia-sip port being available in Martti's
>message
>http://article.gmane.org/gmane.comp.telephony.sofia-sip.devel/1717
> 
> Regards,
> - Otso Kassinen
>MediaTeam Oulu Research Group
>University of Oulu
>Finland
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Sofia-sip-devel mailing list
> Sofia-sip-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel