Seems to me you have conflicting libraries. Multiple installations of openssl?
roy On 3. juni. 2008, at 13.44, Rob Gillan wrote: > So, next. > > Copied spandsp libs to /opt/local/lib. > > ./configure CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib -- > prefix=/usr/local/callweaver > > make fails 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/opt/local/include -I/usr/ > include/openssl -DHAVE_SSL -I/opt/local/include -MT libcallweaver_la- > callweaver_expr2.lo -MD -MP -MF .deps/libcallweaver_la- > callweaver_expr2.Tpo -c callweaver_expr2.c -fno-common -DPIC - > o .libs/libcallweaver_la-callweaver_expr2.o > In file included from callweaver_expr2.y:24: > /usr/include/openssl/err.h:290: error: redefinition of typedef > 'ERR_FNS' > /opt/local/include/openssl/ossl_typ.h:153: error: previous > declaration of 'ERR_FNS' was here > make[3]: *** [libcallweaver_la-callweaver_expr2.lo] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all] Error 2 > make: *** [all-recursive] Error 1 > > openssl has been loaded via MacPorts into /opt/local: > port info openssl > openssl 0.9.8h, devel/openssl (Variants: universal, darwin, darwin_6, > rfc3779) > > seems that the make is looking at /usr/include/openssl rather than / > opt/local/include. I would have thought setting CFLAGS/LDFLAGS in > the ./configure should have pointed to the correct location. > > Anyone with any ideas? > > Cheers > Rob > _______________________________________________ > Callweaver-users mailing list > [email protected] > http://lists.callweaver.org/mailman/listinfo/callweaver-users > _______________________________________________ Callweaver-users mailing list [email protected] http://lists.callweaver.org/mailman/listinfo/callweaver-users
