Hi all,
We've just tried to run through the CW 1.201 install on a Core2 Duo
Mac Mini running 10.5.2 and cannot get past make on spandsp. Anyone
with any ideas/help gladly appreciated.
We've done a clean install of readline/tiff/speex via MacPorts,
installed into /opt/local. All old libraries have been removed (we
think) for both CW and spandsp.
Unpacked spandsp 0.0.5pre3, and configured via:
spandsp-0.0.5 root# ./configure --prefix=/opt/local CFLAGS=-I/opt/
local/include LDFLAGS=-L/opt/local/lib
There is a warning in the output:
checking tiffio.h usability... yes
checking tiffio.h presence... no
configure: WARNING: tiffio.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: tiffio.h: proceeding with the compiler's result
checking for tiffio.h... yes
tiffio.h is confirmed in /opt/local/include. Version 3.8.2
(installed by MacPorts)
make then fails with:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/usr/include/libxml2 -
DNDEBUG -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-
strings -Wstrict-prototypes -Wmissing-prototypes -I/opt/local/include
-MT tone_generate.lo -MD -MP -MF .deps/tone_generate.Tpo -c
tone_generate.c -o tone_generate.o >/dev/null 2>&1
gcc -I/usr/include/libxml2 -I. -o make_modem_filter
make_modem_filter.c filter_tools.c -lm
In file included from make_modem_filter.c:47:
spandsp.h:41:20: error: tiffio.h: No such file or directory
In file included from spandsp.h:91,
from make_modem_filter.c:47:
./spandsp/t4.h:233: error: syntax error before 'TIFF'
./spandsp/t4.h:233: warning: no semicolon at end of struct or union
./spandsp/t4.h:339: error: syntax error before '}' token
./spandsp/t4.h:339: warning: data definition has no type or storage
class
./spandsp/t4.h:377: error: syntax error before '*' token
./spandsp/t4.h:377: error: syntax error before '*' token
./spandsp/t4.h:377: warning: data definition has no type or storage
class
./spandsp/t4.h:382: error: syntax error before '*' token
./spandsp/t4.h:388: error: syntax error before '*' token
./spandsp/t4.h:394: error: syntax error before '*' token
./spandsp/t4.h:401: error: syntax error before '*' token
./spandsp/t4.h:406: error: syntax error before '*' token
./spandsp/t4.h:413: error: syntax error before '*' token
./spandsp/t4.h:420: error: syntax error before '*' token
./spandsp/t4.h:422: error: syntax error before '*' token
./spandsp/t4.h:427: error: syntax error before '*' token
./spandsp/t4.h:432: error: syntax error before '*' token
./spandsp/t4.h:437: error: syntax error before '*' token
./spandsp/t4.h:442: error: syntax error before '*' token
./spandsp/t4.h:447: error: syntax error before '*' token
./spandsp/t4.h:452: error: syntax error before '*' token
./spandsp/t4.h:457: error: syntax error before '*' token
./spandsp/t4.h:462: error: syntax error before '*' token
./spandsp/t4.h:467: error: syntax error before '*' token
./spandsp/t4.h:475: error: syntax error before '*' token
./spandsp/t4.h:475: error: syntax error before '*' token
./spandsp/t4.h:475: warning: data definition has no type or storage
class
./spandsp/t4.h:480: error: syntax error before '*' token
./spandsp/t4.h:485: error: syntax error before '*' token
./spandsp/t4.h:491: error: syntax error before '*' token
./spandsp/t4.h:496: error: syntax error before '*' token
./spandsp/t4.h:505: error: syntax error before '*' token
./spandsp/t4.h:515: error: syntax error before '*' token
./spandsp/t4.h:526: error: syntax error before '*' token
./spandsp/t4.h:536: error: syntax error before '*' token
./spandsp/t4.h:543: error: syntax error before '*' token
./spandsp/t4.h:549: error: syntax error before '*' token
./spandsp/t4.h:554: error: syntax error before '*' token
./spandsp/t4.h:561: error: syntax error before '*' token
./spandsp/t4.h:566: error: syntax error before '*' token
./spandsp/t4.h:575: error: syntax error before '*' token
./spandsp/t4.h:577: error: syntax error before '*' token
./spandsp/t4.h:582: error: syntax error before '*' token
./spandsp/t4.h:587: error: syntax error before '*' token
./spandsp/t4.h:592: error: syntax error before '*' token
./spandsp/t4.h:597: error: syntax error before '*' token
./spandsp/t4.h:603: error: syntax error before '*' token
In file included from spandsp.h:92,
from make_modem_filter.c:47:
./spandsp/t30.h:461: error: syntax error before 't4_state_t'
./spandsp/t30.h:461: warning: no semicolon at end of struct or union
./spandsp/t30.h:611: error: conflicting types for 'image_width'
./spandsp/t4.h:250: error: previous declaration of 'image_width' was
here
./spandsp/t30.h:682: error: syntax error before '}' token
In file included from spandsp.h:100,
from make_modem_filter.c:47:
./spandsp/t38_terminal.h:77: error: field 't30_state' has incomplete
type
In file included from spandsp.h:102,
from make_modem_filter.c:47:
./spandsp/fax.h:52: error: field 't30_state' has incomplete type
In file included from filter_tools.c:49:
spandsp.h:41:20: error: tiffio.h: No such file or directory
In file included from spandsp.h:91,
from filter_tools.c:49:
./spandsp/t4.h:233: error: syntax error before 'TIFF'
./spandsp/t4.h:233: warning: no semicolon at end of struct or union
./spandsp/t4.h:339: error: syntax error before '}' token
./spandsp/t4.h:339: warning: data definition has no type or storage
class
./spandsp/t4.h:377: error: syntax error before '*' token
./spandsp/t4.h:377: error: syntax error before '*' token
./spandsp/t4.h:377: warning: data definition has no type or storage
class
./spandsp/t4.h:382: error: syntax error before '*' token
./spandsp/t4.h:388: error: syntax error before '*' token
./spandsp/t4.h:394: error: syntax error before '*' token
./spandsp/t4.h:401: error: syntax error before '*' token
./spandsp/t4.h:406: error: syntax error before '*' token
./spandsp/t4.h:413: error: syntax error before '*' token
./spandsp/t4.h:420: error: syntax error before '*' token
./spandsp/t4.h:422: error: syntax error before '*' token
./spandsp/t4.h:427: error: syntax error before '*' token
./spandsp/t4.h:432: error: syntax error before '*' token
./spandsp/t4.h:437: error: syntax error before '*' token
./spandsp/t4.h:442: error: syntax error before '*' token
./spandsp/t4.h:447: error: syntax error before '*' token
./spandsp/t4.h:452: error: syntax error before '*' token
./spandsp/t4.h:457: error: syntax error before '*' token
./spandsp/t4.h:462: error: syntax error before '*' token
./spandsp/t4.h:467: error: syntax error before '*' token
./spandsp/t4.h:475: error: syntax error before '*' token
./spandsp/t4.h:475: error: syntax error before '*' token
./spandsp/t4.h:475: warning: data definition has no type or storage
class
./spandsp/t4.h:480: error: syntax error before '*' token
./spandsp/t4.h:485: error: syntax error before '*' token
./spandsp/t4.h:491: error: syntax error before '*' token
./spandsp/t4.h:496: error: syntax error before '*' token
./spandsp/t4.h:505: error: syntax error before '*' token
./spandsp/t4.h:515: error: syntax error before '*' token
./spandsp/t4.h:526: error: syntax error before '*' token
./spandsp/t4.h:536: error: syntax error before '*' token
./spandsp/t4.h:543: error: syntax error before '*' token
./spandsp/t4.h:549: error: syntax error before '*' token
./spandsp/t4.h:554: error: syntax error before '*' token
./spandsp/t4.h:561: error: syntax error before '*' token
./spandsp/t4.h:566: error: syntax error before '*' token
./spandsp/t4.h:575: error: syntax error before '*' token
./spandsp/t4.h:577: error: syntax error before '*' token
./spandsp/t4.h:582: error: syntax error before '*' token
./spandsp/t4.h:587: error: syntax error before '*' token
./spandsp/t4.h:592: error: syntax error before '*' token
./spandsp/t4.h:597: error: syntax error before '*' token
./spandsp/t4.h:603: error: syntax error before '*' token
In file included from spandsp.h:92,
from filter_tools.c:49:
./spandsp/t30.h:461: error: syntax error before 't4_state_t'
./spandsp/t30.h:461: warning: no semicolon at end of struct or union
./spandsp/t30.h:611: error: conflicting types for 'image_width'
./spandsp/t4.h:250: error: previous declaration of 'image_width' was
here
./spandsp/t30.h:682: error: syntax error before '}' token
In file included from spandsp.h:100,
from filter_tools.c:49:
./spandsp/t38_terminal.h:77: error: field 't30_state' has incomplete
type
In file included from spandsp.h:102,
from filter_tools.c:49:
./spandsp/fax.h:52: error: field 't30_state' has incomplete type
make[2]: *** [make_modem_filter] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Have tried various options on the ./configure line, including
CFLAGS="-I/opt/local/include -O2" which worked for a previous version
of spandsp.
Any help appreciated. We're keen to get the CW release up and running.
Cheers
Rob
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users