[Freeswitch-users] windows build problems

Tamas Cseke cstomi.levlist at gmail.com
Thu Apr 10 12:48:58 PDT 2008


Hello,

Unfortunately I don't know what was the problem with voipcodecs in my
environment :(
I tried clean latest trunk.
os is the same as by Jalsot - win xp sp2
Platform sdk 2003
Visual Studio 2005 pro (only difference is Jalsot tried with express)
I have installed 2005 express, maybe on uninstall something where left. I
don't know.
I installed 2008 express, and problem didn't appear already.

Regards,
Tamas

On 4/10/08, Michael Jerris <mike at jerris.com> wrote:
>
> Whoops.  Missed that.  Fixed the switch_ivr_play_say issue and another
> build prob on msvc 2005 for mod_openzap.  Unable to reproduce the
> voipcodecs build problem on msvc 2005 pro, and jalsot on irc confirmed
> the same on 2005 express.  Can you try to track down what could cause
> that that is different between our environments.  I will fix up the
> inet_pton issues tomorrow (later today) and let you know.
>
> Mike
>
>
> On Apr 10, 2008, at 1:57 AM, Tamas wrote:
>
> > Hi,
> >
> > As I wrote in previous mail, it was svn trunk r8070.
> >
> > Regards,
> >    Tamas
> >
> > Michael Jerris írta:
> >> Is this with svn trunk (what svn revision?)
> >>
> >> Mike
> >>
> >>
> >> On Apr 9, 2008, at 5:01 PM, Tamas wrote:
> >>
> >>
> >>> Hello,
> >>>
> >>> I tried to compile r8070 on win XP SP2 with
> >>> Microsoft Visual Studio 2005
> >>> Version 8.0.50727.762  (SP.050727-7600)
> >>> Microsoft .NET Framework
> >>> Version 2.0.50727 SP1
> >>> Installed Edition: VC Express
> >>> Microsoft Visual C++ 2005
> >>>
> >>> What I got:
> >>> 12>switch_ivr_play_say.c
> >>> 12>..\..\src\switch_ivr_play_say.c(1779) : error C2220: warning
> >>> treated
> >>> as error - no 'object' file generated
> >>> 12>..\..\src\switch_ivr_play_say.c(1779) : warning C4267: '=' :
> >>> conversion from 'size_t' to 'uint32_t', possible loss of data
> >>>
> >>> 12>switch_utils.c
> >>> 12>..\..\src\switch_utils.c(123) : error C2220: warning treated as
> >>> error
> >>> - no 'object' file generated
> >>> 12>..\..\src\switch_utils.c(123) : warning C4013: 'inet_pton'
> >>> undefined;
> >>> assuming extern returning int
> >>>
> >>> 24>conn.c
> >>> 23>c:\documents and
> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\lpc10_decode.c(69) :
> >>> warning C4244: '+=' : conversion from 'int' to 'int16_t', possible
> >>> loss
> >>> of data
> >>>
> >>>
> >>> 24>Generating Code...
> >>> 24>Compiling...
> >>> 23>c:\documents and
> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\oki_adpcm.c(180) :
> >>> warning
> >>> C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of
> >>> data
> >>> 23>c:\documents and
> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\oki_adpcm.c(195) :
> >>> warning
> >>> C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of
> >>> data
> >>> 23>c:\documents and
> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\oki_adpcm.c(224) :
> >>> warning
> >>> C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of
> >>> data
> >>> 23>c:\documents and
> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\oki_adpcm.c(230) :
> >>> warning
> >>> C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of
> >>> data
> >>>
> >>> 27>Generating Code...
> >>> 29>LINK : fatal error LNK1181: cannot open input file
> >>> '..\..\..\..\w32\library\debug\freeswitchcore.lib'
> >>>
> >>> Regards,
> >>>   Tamas
> >>>
> >>> Michael Jerris írta:
> >>>
> >>>> What os/compiler versions?
> >>>>
> >>>> Mike
> >>>>
> >>>> On Apr 9, 2008, at 2:16 PM, Tamas Cseke wrote:
> >>>>
> >>>>
> >>>>
> >>>>> Hello,
> >>>>>
> >>>>> I have 2 problems:
> >>>>>
> >>>>> 1, libvoipcodecs
> >>>>> C2143: syntax error : missing ')' before '
> >>>>> I don't know what the problem with brackets, but with the attached
> >>>>> modification it complies.
> >>>>> Do you have any idea, why? :)
> >>>>> 2. freeswitchcorelib
> >>>>> acl functions can't find inet_pton symbol.
> >>>>>
> >>>>> Thanks,
> >>>>> Tamas
> >>>>>
> >>>>> Index: lpc10_decode.c
> >>>>> =
> >>>>> ==================================================================
> >>>>> --- lpc10_decode.c        (revision 8061)
> >>>>> +++ lpc10_decode.c        (working copy)
> >>>>> @@ -249,6 +249,7 @@
> >>>>>   float slope;
> >>>>>   float uvpit;
> >>>>>   float xxy;
> >>>>> +   float tmp;
> >>>>>
> >>>>>   rci_dim1 = LPC10_ORDER;
> >>>>>   rci_offset = rci_dim1 + 1;
> >>>>> @@ -444,7 +445,9 @@
> >>>>>                       xxy = expf(xxy);
> >>>>>                       rci[j + *nout*rci_dim1 + 1] = (xxy - 1.0f)/
> >>>>> (xxy + 1.0f);
> >>>>>                   }
> >>>>> -                    rmsi[*nout - 1] = logf(s->rmso) +
> >>>>> prop*(logf(*rms) - logf(s->rmso));
> >>>>> +                   //rmsi[*nout - 1] = logf(s->rmso) + prop
> >>>>> *(logf((float)*rms) - logf(s->rmso));
> >>>>> +                   tmp = logf(*rms) - logf(s->rmso);
> >>>>> +              rmsi[*nout - 1] = logf(s->rmso) + prop * tmp ;
> >>>>>                   rmsi[*nout - 1] = expf(rmsi[*nout - 1]);
> >>>>>               }
> >>>>>           }
> >>>>> _______________________________________________
> >>>>> Freeswitch-users mailing list
> >>>>> Freeswitch-users at lists.freeswitch.org
> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>>>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>>>> http://www.freeswitch.org
> >>>>>
> >>>>>
> >>>> _______________________________________________
> >>>> Freeswitch-users mailing list
> >>>> Freeswitch-users at lists.freeswitch.org
> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>>> http://www.freeswitch.org
> >>>>
> >>>>
> >>>>
> >>> _______________________________________________
> >>> Freeswitch-users mailing list
> >>> Freeswitch-users at lists.freeswitch.org
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org
> >>>
> >>
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >>
> >>
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080410/f0a991dc/attachment-0002.html 


More information about the FreeSWITCH-users mailing list