Summary:ASTERISK-17162: make of chan_ooh323 fails "ret undeclared"
Reporter:Colin Beckingham (colbec)Labels:
Date Opened:2010-12-26 08:58:51.000-0600Date Closed:2010-12-26 17:08:38.000-0600
Versions:Frequency of
Description:Opensuse 11.3

Update using svn from r297713 to r299625

Make and install asterisk ok.
Then addons fails if ooh_323 is selected.

make[1]: Entering directory `/home/colin/asteriskadd16/channels'
  [CC] chan_ooh323.c -> chan_ooh323.o
  [CC] ooh323c/src/ooGkClient.c -> ooh323c/src/ooGkClient.o
  [CC] ooh323c/src/oochannels.c -> ooh323c/src/oochannels.o
  [CC] ooh323c/src/ooh245.c -> ooh323c/src/ooh245.o
ooh323c/src/ooh245.c: In function ‘ooOnReceivedTerminalCapabilitySetAck’:
ooh323c/src/ooh245.c:1679:7: error: ‘ret’ undeclared (first use in this function)
ooh323c/src/ooh245.c:1679:7: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [ooh323c/src/ooh245.o] Error 1
make[1]: Leaving directory `/home/colin/asteriskadd16/channels'
make: *** [channels] Error 2

Deselect ooh_323 in menuconfig and make runs ok.
Comments:By: Alexander Anikin (may213) 2010-12-26 17:06:11.000-0600

Sorry, forgot ret declaration in previous patch for addons-1.6.2
Please update to latest svn.

By: Digium Subversion (svnbot) 2010-12-26 17:08:38.000-0600

Repository: asterisk-addons
Revision: 1140

U   branches/1.6.2/channels/ooh323c/src/ooh245.c

r1140 | may | 2010-12-26 17:08:37 -0600 (Sun, 26 Dec 2010) | 8 lines

declaration of ret var which isn't declared in previous patch

declare ret variable in ooOnReceivedTerminalCapabilitySetAck,
it's used by previous patch

(closes issue ASTERISK-17162)
Reported by: colbec