On Aug 12, 2007, at 9:51 PM, Rob Gillan wrote:
>
> Darin,
>
> We still see make fail with:
>
> gcc -DHAVE_CONFIG_H -include ../include/confdefs.h -I. -I../include
> -fomit-frame-pointer -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-
> prototypes -Wmissing-declarations -DTEMP_STORE=2 -DTHREADSAFE=1 -
> DSQLITE_OMIT_CURSOR -DNO_TCL -I../sqlite3-embedded -I../sqlite3-
> embedded -DOS_UNIX -I.. -I../include -I/usr/local/callweaver/include -
> I/usr/include/openssl -DHAVE_SSL -I/usr/local/callweaver/include -MT
> libcallweaver_la-hashtable_helper.lo -MD -MP -MF .deps/
> libcallweaver_la-hashtable_helper.Tpo -c hashtable_helper.c -fno-
> common -DPIC -o .libs/libcallweaver_la-hashtable_helper.o
> In file included from hashtable_helper.c:35:
> ../include/callweaver/options.h:51: error: parse error before
> 'opbx_startuptime'
> ../include/callweaver/options.h:51: warning: type defaults to 'int'
> in declaration of 'opbx_startuptime'
> ../include/callweaver/options.h:51: warning: data definition has no
> type or storage class
> ../include/callweaver/options.h:52: error: parse error before
> 'opbx_lastreloadtime'
> ../include/callweaver/options.h:52: warning: type defaults to 'int'
> in declaration of 'opbx_lastreloadtime'
> ../include/callweaver/options.h:52: warning: data definition has no
> type or storage class
> make[3]: *** [libcallweaver_la-hashtable_helper.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
>
> I do note that you have different flag settings:
>
>> % ./configure --prefix=/usr/local/callweaver.org CFLAGS=-I/opt/local/
>> include LDFLAGS=-L/opt/local/lib
>
> than what we are using:
>
> CFLAGS="-I/usr/local/callweaver/include" LDFLAGS="-L/usr/local/
> callweaver/lib" ./configure --prefix=/usr/local/callweaver
>
> We have installed readline 5.0, libtiff 3.8.2 and spandsp 0.0.4pre4
> into /usr/local/callweaver. I can only assume you have some other
> ports or libs loaded. Can you please let us know your build
> environment?
I'm using readline 5.2, but otherwise have the same as you. I also
used spandsp-0.0.4pre4.
% port deps tiff readline
tiff has library dependencies on:
jpeg
zlib
readline has library dependencies on:
ncurses
% port installed readline tiff jpeg zlib ncurses
The following ports are currently installed:
readline @5.2.001_0 (active)
tiff @3.8.2_0+darwin_8 (active)
jpeg @6b_1 (active)
zlib @1.2.3_0 (active)
ncurses @5.6_0+darwin_8 (active)
% gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5367)
% uname -a
Darwin fuji 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00
PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386
I wrote up my build procedure as a HOWTO. Try it and see if you have
better luck.
http://callweaver.org/wiki/OSX+Howto
I built the RC5 package without problems, but I did have to apply the
two patches mentioned at the end of my HOWTO.
--
Darin Franklin
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users