Summary: | ASTERISK-13102: Can't build res_config_mysql from Addons 1.6.1-rc1 | ||
Reporter: | George Qualley IV (qualleyiv) | Labels: | |
Date Opened: | 2008-11-21 17:36:00.000-0600 | Date Closed: | 2011-06-07 14:03:13 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Addons/res_config_mysql |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I was able to build addons 1.6.0 just fine on Mac OS X 10.5.5 server, but 1.6.1-rc1 fails. Attached is the output from ./configure and the failure from 'make'. ****** ADDITIONAL INFORMATION ****** mail:asterisk-addons-1.6.1-rc1 root# ./configure --with-asterisk=/usr/sbin/ checking build system type... powerpc-apple-darwin9.5.0 checking host system type... powerpc-apple-darwin9.5.0 checking target system type... powerpc-apple-darwin9.5.0 checking for uname... /usr/bin/uname checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for GNU make... make checking for awk... /usr/bin/awk checking for grep... /usr/bin/grep checking for basename... /usr/bin/basename checking for dirname... /usr/bin/dirname checking for sh... /bin/sh checking for ln... /bin/ln checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for ba2str in -lbluetooth... no checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for -Wdeclaration-after-statement support... yes checking for mysql_config... /usr/bin/mysql_config checking for mysql_init in -lmysqlclient... yes checking for asterisk.h... yes configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts .$$$$$$$$$$$$$$$=.. .$7$7.. .7$$7:. .$$:. ,$7.7 .$7. 7$$$$ .$$77 ..$$. $$$$$ .$$$7 ..7$ .?. $$$$$ .?. 7$$$. $.$. .$$$7. $$$$7 .7$$$. .$$$. .777. .$$$$$$77$$$77$$$$$7. $$$, $$$~ .7$$$$$$$$$$$$$7. .$$$. .$$7 .7$$$$$$$7: ?$$$. $$$ ?7$$$$$$$$$$I .$$$7 $$$ .7$$$$$$$$$$$$$$$$ :$$$. $$$ $$$$$$7$$$$$$$$$$$$ .$$$. $$$ $$$ 7$$$7 .$$$ .$$$. $$$$ $$$$7 .$$$. 7$$$7 7$$$$ 7$$$ $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : Darwin configure: Host CPU : powerpc mail:asterisk-addons-1.6.1-rc1 root# make menuselect CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[1]: `makeopts' is up to date. CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" cmenuselect gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c gcc -g -c -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect_curses.o menuselect_curses.c gcc -O -Wall -c mxml-attr.c gcc -O -Wall -c mxml-entity.c gcc -O -Wall -c mxml-file.c gcc -O -Wall -c mxml-index.c gcc -O -Wall -c mxml-node.c gcc -O -Wall -c mxml-search.c gcc -O -Wall -c mxml-set.c gcc -O -Wall -c mxml-private.c gcc -O -Wall -c mxml-string.c /bin/rm -f libmxml.a /usr/bin/ar -rcv libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o a - mxml-attr.o a - mxml-entity.o a - mxml-file.o a - mxml-index.o a - mxml-node.o a - mxml-search.o a - mxml-set.o a - mxml-private.o a - mxml-string.o ranlib libmxml.a gcc -o cmenuselect menuselect.o strcompat.o menuselect_curses.o mxml/libmxml.a -lncurses CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" nmenuselect make[1]: Nothing to be done for `nmenuselect'. CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" gmenuselect make[1]: Nothing to be done for `gmenuselect'. Generating input for menuselect ... menuselect changes saved! mail:asterisk-addons-1.6.1-rc1 root# make CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a menuselect/menuselect --check-deps menuselect.makeopts Generating embedded module rules ... make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `all'. [CC] cdr_addon_mysql.c -> cdr_addon_mysql.o [LD] cdr_addon_mysql.o -> cdr_addon_mysql.so [CC] res_config_mysql.c -> res_config_mysql.o res_config_mysql.c:1322: error: unknown field 'update2_func' specified in initializer make[1]: *** [res_config_mysql.o] Error 1 make: *** [res] Error 2 mail:asterisk-addons-1.6.1-rc1 root# | ||
Comments: | By: Jason Parker (jparker) 2008-11-21 17:40:38.000-0600 What version of Asterisk are you building against? By: George Qualley IV (qualleyiv) 2008-11-21 17:56:25.000-0600 1.6.1-beta2. I also tried against 1.6.0.1 with the same result. By: Sean Bright (seanbright) 2008-11-23 08:11:51.000-0600 Try dropping the --with-asterisk=foo part from your ./configure line. By: Tilghman Lesher (tilghman) 2008-11-23 13:41:22.000-0600 This is already fixed in SVN and will be in the next release candidate. For the most current code, you can download http://svn.digium.com/svn/asterisk-addons/branches/1.6.1/ |