[Freeswitch-users] mod_fax undefined symbol

TTNC - Technical technical at ttnc.co.uk
Sun Feb 21 06:12:28 PST 2010


Hi Steve

Just tried that, changed:

TIFFSetField(t->tiff_file,
                     TIFFTAG_ROWSPERSTRIP,
                     TIFFDefaultStripSize(t->tiff_file, 0));
to:

TIFFSetField(t->tiff_file,
                     TIFFTAG_ROWSPERSTRIP,
                     0);

Compiled OK, but then got the following error when trying to 'load mod_fax':

2010-02-21 14:08:30.242671 [CRIT] switch_loadable_module.c:882 Error Loading module /opt/freeswitch/mod/mod_fax.so
**/opt/freeswitch/mod/mod_fax.so: undefined symbol: TIFFSetDirectory**

It seems TIFFSetDirectory appears in quite a few places throughout t4_rx.c along with t4.c - so I doubt going through and commenting them out will really work?

Hopefully this maybe of some use to anyone looking into the problem though?

Anything else I can do to help then please let me know.

Russ


On 21 Feb 2010, at 13:47, Steve Underwood wrote:

> Hi Russ,
> 
> The only place in FS where TIFFDefaulyStripSize is used is in the file 
> t4_rx.c, and you probably won't actually be calling it. Try commenting 
> out that line, and see if there are any other stumbling blocks. Often 
> there is a mass of errors, and the system just tells you about them one 
> by one.
> 
> Steve
> 
> On 02/21/2010 09:15 PM, TTNC - Technical wrote:
>> Hi Guys
>> 
>> Without meaning to hassle (I know I am), has there been any progress with this bug yet? Anything else I can do to assist?
>> 
>> Please let me know.
>> 
>> Thanks
>> 
>> Russ
>> 
>> On 20 Feb 2010, at 02:00, Michael Jerris wrote:
>> 
>> 
>>> replying with more details on jira.
>>> 
>>> 
>>> On Feb 19, 2010, at 1:04 PM, Puskás Zsolt wrote:
>>> 
>>> 
>>>> 2010. február 19. 18.44.32 TTNC - Technical dátummal ezt írta:
>>>> 
>>>>> On 19 Feb 2010, at 17:25, Puskás Zsolt wrote:
>>>>> 
>>>>>> Just compiled svn16700 on Debian "lenny" x86, mod_fax loads and works
>>>>>> perfectly. I have an ongoing compile on another machine (amd64) if It
>>>>>> don't works i will send a mail (in 1 hour) otherwise consider it working.
>>>>>> 
>>>>> How did you compile it? Using dpkg-buildpackage or via make/make install?
>>>>> 
>>>>> Do you have any debian versions of libtiff4(-dev) installed?
>>>>> 
>>>>> 
>>>> Okay i can confirm that mod_fax works on Debian "lenny" amd64 but it don't work
>>>> on Debian "testing,squeeze" amd64.
>>>> 
>>>> 2010-02-19 18:49:14.610297 [CRIT] switch_loadable_module.c:882 Error Loading
>>>> module /usr/local/freeswitch/mod/mod_fax.so
>>>> **/usr/local/freeswitch/mod/mod_fax.so: undefined symbol:
>>>> TIFFDefaultStripSize**
>>>> 
>>>> I haven't tried to compile mod_fax on testing before so i don't know what is
>>>> causeing the problem :(
>>>> 
>>>> # ldd mod_fax.so
>>>>       linux-vdso.so.1 =>   (0x00007fff106f6000)
>>>>       libm.so.6 =>  /lib/libm.so.6 (0x00007f506b711000)
>>>>       libfreeswitch.so.1 =>  /usr/local/freeswitch/lib/libfreeswitch.so.1
>>>> (0x00007f506b345000)
>>>>       libpthread.so.0 =>  /lib/libpthread.so.0 (0x00007f506b128000)
>>>>       libc.so.6 =>  /lib/libc.so.6 (0x00007f506add4000)
>>>>       libssl.so.0.9.8 =>  /usr/lib/libssl.so.0.9.8 (0x00007f506ab82000)
>>>>       libcrypto.so.0.9.8 =>  /usr/lib/libcrypto.so.0.9.8 (0x00007f506a7e2000)
>>>>       libncurses.so.5 =>  /lib/libncurses.so.5 (0x00007f506a59d000)
>>>>       libstdc++.so.6 =>  /usr/lib/libstdc++.so.6 (0x00007f506a28d000)
>>>>       libgcc_s.so.1 =>  /lib/libgcc_s.so.1 (0x00007f506a076000)
>>>>       libodbc.so.1 =>  /usr/lib/libodbc.so.1 (0x00007f5069e17000)
>>>>       /lib64/ld-linux-x86-64.so.2 (0x00007f506bc31000)
>>>>       libdl.so.2 =>  /lib/libdl.so.2 (0x00007f5069c13000)
>>>>       libz.so.1 =>  /usr/lib/libz.so.1 (0x00007f50699fb000)
>>>>       libltdl.so.7 =>  /usr/lib/libltdl.so.7 (0x00007f50697f2000)
>>>> 
>>>> Recently in debian "testing" libtiff4 and libjpeg is upgraded:
>>>> libtiff 3.9.2-3+b1
>>>> libjpeg62 6b-16.1
>>>> libjeg8 8-2.1
>>>> 
>>>> Q&A:
>>>> Q: How did you compile it? Using dpkg-buildpackage or via make/make install?
>>>> A: svn-clean ./bootsrap ./configure make etc.
>>>> 
>>>> Q: Do you have any debian versions of libtiff4(-dev) installed?
>>>> A: Yes:3.8.2-11.2
>>>> 
>>> 
>>> _______________________________________________
>>> 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





More information about the FreeSWITCH-users mailing list