Welcome, Guest. Please login or register.
Did you miss your activation email?
September 08, 2010, 03:38:25 PM
Home Help Search Login Register
News: Noojee Click 1.6.4 released.
Download it from here

+  Noojee Telephony Solutions Forums
|-+  Noojee Fax
| |-+  Bug Reports
| | |-+  problem compiling app_txfax.c and app_rxfax.c
« previous next »
Pages: [1] Print
Author Topic: problem compiling app_txfax.c and app_rxfax.c  (Read 3198 times)
gbaker
Newbie
*
Offline Offline

Posts: 7


« on: July 16, 2007, 10:59:55 PM »

Since upgrading to beta 1.1 I've been unable to send any faxes.  After a little debugging, I've found the following:

In all of the beta versions, there is one copy of app_rxfax.c and three copies of app_txfax.c.  The app_rxfax.c needs to be compiled using the spandsp.0.0.3 that comes with the beta, The reasons being that the function fax_init has two arguments in this version and the declaration of the argument fax is fax_state_t in both this library and the app_rxfax.c.

However, all three versions of app_txfax.c  will only compile with the spandsp.0.0.2 as its call to fax_init has 3 arguments and the argument fax is declared as t30_state_t. The calls to fax_tx also need the fax argument to be declared as t30_state_T

Since t30_state_t is a different size than fax_state_t, when fax_init is called, memory will be overwritten one or the other function depending on which spandsp library is being used at the moment.

So is there any plan on fixing this problem, hopefully in the not too distant future?
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!