[Freeswitch-users] compilation error of skypiax_protocol.c

João Mesquita jmesquita at freeswitch.org
Mon Dec 7 10:44:34 PST 2009


Maybe, just maybe isse that make target to reconf libtiff?

Regards,

JM

On Thu, Dec 3, 2009 at 6:24 AM, Jingwei Yang <jingwei.yang at gmail.com> wrote:

> I installed libjpeg-7 following this website:
> http://www.linuxfromscratch.org/blfs/view/svn/general/libjpeg.html. And
> the previous error is replaced by a new one:
>
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -I..
> -I/usr/src/freeswitch/libs/tiff-3.8.2/libtiff -DNDEBUG -std=gnu99
> -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -fvisibility=hidden -DSWITCH_API_VISIBILITY=1
> -DHAVE_VISIBILITY=1 -g -O2 -MT at_interpreter.lo -MD -MP -MF
> .deps/at_interpreter.Tpo -c at_interpreter.c  -fPIC -DPIC -o
> at_interpreter.o
> at_interpreter.c: In function ‘command_search’:
> at_interpreter.c:5299: error: ‘COMMAND_TRIE_LEN’ undeclared (first use
> in this function)
> at_interpreter.c:5299: error: (Each undeclared identifier is reported only
> once
> at_interpreter.c:5299: error: for each function it appears in.)
> at_interpreter.c:5308: error: ‘command_trie’ undeclared (first use in
> this function)
> at_interpreter.c: In function ‘at_interpreter’:
> at_interpreter.c:5424: error: ‘at_commands’ undeclared (first use in
> this function)
> make[8]: *** [at_interpreter.lo] Error 1
>
> make[7]: *** [all] Error 2
> make[6]: *** [all-recursive] Error 1
> make[5]: *** [../../../../libs/spandsp/src/libspandsp.la] Error 2
> make[4]: *** [install] Error 1
> make[3]: *** [mod_voipcodecs-install] Error 1
> make[2]: *** [install-recursive] Error 1
>
> However, I'm still able to start freeswitch and mod_skypiax and make skype
> calls with no problem.
>
> Regards,
> -Jingwei
>
>
>
> On Thu, Dec 3, 2009 at 2:49 PM, Jingwei Yang <jingwei.yang at gmail.com>wrote:
>
>> No, I didn't change or update the system libs. I just wanted to double
>> check whether my system has this libjpeg library. ./configure was definitely
>> executed before the source codes were rebuilt.
>>
>> Regards,
>> -Jingwei
>>
>>
>> On Thu, Dec 3, 2009 at 2:39 PM, Mathieu Rene <mrene_lists at avgs.ca> wrote:
>>
>>> Hi,
>>>
>>> That one is on your side. If you changed/updated system libs it might be
>>> worth doing another ./configure
>>>
>>> Cheers,
>>>
>>>  Mathieu Rene
>>> Avant-Garde Solutions Inc
>>> Office: + 1 (514) 664-1044 x100
>>> Cell: +1 (514) 664-1044 x200
>>> mrene at avgs.ca
>>>
>>>
>>>
>>>
>>> On 3-Dec-09, at 1:33 AM, Jingwei Yang wrote:
>>>
>>> Hi Mathieu, thanks for the promptly reply. The error has been fixed.
>>> However, I encounter another one.
>>>
>>> gcc -I/usr/src/freeswitch/libs/tiff-3.8.2/libtiff -DNDEBUG -std=gnu99
>>> -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes
>>> -Wmissing-prototypes -fvisibility=hidden -DSWITCH_API_VISIBILITY=1
>>> -DHAVE_VISIBILITY=1 -g -O2 -o make_at_dictionary make_at_dictionary.o
>>> -L/usr/src/freeswitch/libs/tiff-3.8.2/libtiff
>>> /usr/src/freeswitch/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -ljpeg -lz -lm
>>> -lc
>>> ./make_at_dictionary: error while loading shared libraries: libjpeg.so.7:
>>> cannot open shared object file: No such file or directory
>>> make[8]: *** [at_interpreter_dictionary.h] Error 127
>>> make[7]: *** [all] Error 2
>>> make[6]: *** [all-recursive] Error 1
>>> make[5]: *** [../../../../libs/spandsp/src/libspandsp.la] Error 2
>>> make[4]: *** [install] Error 1
>>> make[3]: *** [mod_voipcodecs-install] Error 1
>>> make[2]: *** [install-recursive] Error 1
>>>
>>> Do you have idea about this one?
>>>
>>> Thanks!
>>>
>>> On Thu, Dec 3, 2009 at 2:09 PM, Mathieu Rene <mrene_lists at avgs.ca>wrote:
>>>
>>>> Consider it fixed.
>>>> Committed revision 15765.
>>>>
>>>> Mathieu Rene
>>>> Avant-Garde Solutions Inc
>>>> Office: + 1 (514) 664-1044 x100
>>>> Cell: +1 (514) 664-1044 x200
>>>> mrene at avgs.ca
>>>>
>>>>
>>>>
>>>>
>>>> On 3-Dec-09, at 1:02 AM, Jingwei Yang wrote:
>>>>
>>>> Hi Guys,
>>>>
>>>> I got a compilation error of skypiax_protocol.c with the latest version
>>>> r15764.
>>>>
>>>> Compiling skypiax_protocol.c...
>>>> *cc1: warnings being treated as errors*
>>>> skypiax_protocol.c: In function ‘X11_errors_handler’:
>>>> skypiax_protocol.c:1548: warning: ISO C90 forbids mixed declarations and
>>>> code
>>>> skypiax_protocol.c: In function ‘skypiax_send_message’:
>>>> skypiax_protocol.c:1582: warning: ISO C90 forbids mixed declarations and
>>>> code
>>>> skypiax_protocol.c: In function ‘skypiax_do_skypeapi_thread_func’:
>>>> skypiax_protocol.c:1726: warning: ISO C90 forbids mixed declarations and
>>>> code
>>>> skypiax_protocol.c:1758: warning: ISO C90 forbids mixed declarations and
>>>> code
>>>> make[5]: *** [skypiax_protocol.o] Error 1
>>>> make[4]: *** [install] Error 1
>>>> make[3]: *** [mod_skypiax-install] Error 1
>>>> make[2]: *** [install-recursive] Error 1
>>>>
>>>> I personally checked the file and it shouldn't be a merge problem. Does
>>>> anyone encounter this as well?
>>>> _______________________________________________
>>>> 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/20091207/4183f10a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list