On 3/16/07, Miguel Freitas <[EMAIL PROTECTED]> wrote:



>autogen.cmd
>for %f in (config.h..\libsofia-sip-ua\features\sofia-sip\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-ua\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
0<NUL
*** FAILED ***


    The instructions are below that I followed yesterday :) ( I am very
very new to sofia-sip :)  )

    If the problem results from the awk I recommend gawk version 3.1.3 from
gnuwin32 project (http://gnuwin32.sourceforge.net/packages/gawk.htm). When
you use this version you should uncomment a line in build_sources.cmd like
below.

:: in Win32 exit 0; from gawk 3.1.3 gets converted to errorlevel 1
:: If you have gawk 3.1.3 uncomment the following line
@set MSG_AWK=gawk -v BINMODE=rw -f ../libsofia-sip-ua/msg/msg_parser.awk
success=-1

If you look carefully you can see the warning about this issue.

NOTE:
NOTE: Remember to install pthreadVC2.dll to your path, too!
NOTE:


Yes, put this file in your path variable for your windows
environment.Youcan see your path by typing 'set' in your command line.

 I am using 1.12.4 because as replied previously in this thread there is a
bug in 1.12.5 which prevents it from building in MSVC (windows environment)
successfully.

 Then I have copied header files into Visual Studio include directory like
C:\Program Files\Microsoft Visual Studio\VC98\Include\sofia-sip. I have
modified install.cmd file to automate the job of installing necessary files.
Don't worry it works. :)

 And another step is copying *.lib and *.dll files to compile/run
succesfully. After the build operation of SofiaSip.dsw it should make a
libsofia_sip_ua.lib and libsofia_sip_ua.dll. Copy the .lib file to the VC
lib directory like C:\Program Files\Microsoft Visual Studio\VC98\Lib. This
path and the above path can be changed by adding the diretory to your VC
project configuration.

  I am not sure now whether I forgot something or not but I hope you will
be successful. I am trying to implement a simple sdp parser and it works.
There is no problem with compiling/running. Good luck. :)

P.S: If I have a fault or incomplete explanation I would like to here from
experienced developers.

I would be most appreciated...
Regards,
Miguel Freitas


On 3/15/07, Kai Vehmanen <[EMAIL PROTECTED]> wrote:

> Hi,
>
> On Thu, 15 Mar 2007, Deniz Koçak wrote:
>
> > _su_wsaevent_port_create
> > su_port.obj : error LNK2001: unresolved external symbol
> > _su_wsaevent_clone_start
> > Debug/libsofia_sip_ua.dll : fatal error LNK1120: 2 unresolved
> externals
> > Error executing link.exe.
> >
> > libsofia_sip_ua.dll - 3 error(s), 0 warning(s)
>
> this is caused by a bug in the 1.12.5 release (will be fixed in 1.12.6).
> This is fixed already in our development tree at:
>
>   - http://sofia-sip.org/repos/sofia-sip
>
> You can get the latest sources with the darcs tool...
>
>   cmd> darcs get http://sofia-sip.org/repos/sofia-sip
>
> --
>   under work: Sofia-SIP at http://sofia-sip.sf.net
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Sofia-sip-devel mailing list
> Sofia-sip-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
>
>


--
- - - -                                     - - - -
- Telecommunications Institute   -
- Instituto de Telecomunicacoes  -
- Aveiro, Portugal                         -
- www.it.pt                                     -
- - - -                                     - - - -
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to