[Freeswitch-dev] FreeBSD build problem: no tz_t

Peter Olsson peter.olsson at visionutveckling.se
Sun Jan 8 00:03:42 MSK 2012


Remove "libs/spandsp/src/spandsp.h", then issue a "make spandsp-reconf", and then rebuild. It's been discussed multiple times on the mailing list.

/Peter
________________________________
Från: freeswitch-dev-bounces at lists.freeswitch.org [freeswitch-dev-bounces at lists.freeswitch.org] för Oleg Khovayko [khovayko at gmail.com]
Skickat: den 7 januari 2012 21:29
Till: freeswitch-dev at lists.freeswitch.org
Ämne: [Freeswitch-dev] FreeBSD build problem: no tz_t

Hi,

I tried pull recent GIT copy, and build by bootstrap.sh + make all,
on the FreeBSD v 7.2.

See error:

In file included from /usr/home/olegh/freeswitch/GIT/freeswitch/libs/spandsp/src/spandsp.h:101,
                 from ./src/include/private/switch_core_pvt.h:35,
                 from src/switch_apr.c:37:
/usr/home/olegh/freeswitch/GIT/freeswitch/libs/spandsp/src/spandsp/t4_tx.h:145: error: expected declaration specifiers or '...' before 'tz_t'
gmake[1]: *** [libfreeswitch_la-switch_apr.lo] Error 1
gmake: *** [all] Error 2

I assume, tz_t is not defined:

/*! Set the time zone for the time stamp in page header lines. If this function is not used
    the current time zone of the program's environment is used.
    \brief Set the header timezone.
    \param s The T.4 context.
    \param tz A time zone descriptor. */
SPAN_DECLARE(void) t4_tx_set_header_tz(t4_state_t *s, tz_t *tz);

# man tz_t
No manual entry for tz_t


How to define it correctly?


Thanks,
Oleg

!DSPAM:4f08a9dc32763461937777!



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list