Summary: | ASTERISK-12643: Aaterisk doesn't build on OpenSolaris (SVN) | ||
Reporter: | Doug McCallum (dougm) | Labels: | |
Date Opened: | 2008-08-25 14:08:47 | Date Closed: | 2008-08-25 16:22:07 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/Portability |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 13374.diff | |
Description: | gmake CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" gmake -C menuselect CONFIGURE_SILENT="--silent" makeopts gmake[1]: Entering directory `/export/home/dougm/asterisk/menuselect' gmake[1]: Leaving directory `/export/home/dougm/asterisk/menuselect' gmake[1]: Entering directory `/export/home/dougm/asterisk/menuselect' gmake[1]: `makeopts' is up to date. gmake[1]: Leaving directory `/export/home/dougm/asterisk/menuselect' CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" gmake -C menuselect CONFIGURE_SILENT="--silent" menuselect gmake[1]: Entering directory `/export/home/dougm/asterisk/menuselect' gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c menuselect.c: In function `process_deps': menuselect.c:482: warning: implicit declaration of function `strsep' menuselect.c: In function `process_prev_failed_deps': menuselect.c:793: warning: assignment makes pointer from integer without a cast menuselect.c:794: warning: assignment makes pointer from integer without a cast menuselect.c: In function `parse_existing_config': menuselect.c:858: warning: assignment makes pointer from integer without a cast menuselect.c:871: warning: assignment makes pointer from integer without a cast menuselect.c: In function `generate_makeopts_file': menuselect.c:1023: warning: assignment makes pointer from integer without a cast menuselect.c:1025: warning: assignment makes pointer from integer without a cast menuselect.c:1033: warning: assignment makes pointer from integer without a cast menuselect.c:1035: warning: assignment makes pointer from integer without a cast gcc -g -c -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c strcompat.c: In function `strcasestr': strcompat.c:107: warning: implicit declaration of function `alloca' strcompat.c: In function `strtoq': strcompat.c:278: warning: integer constant is too large for "long" type strcompat.c:278: warning: integer constant is too large for "long" type strcompat.c:278: warning: integer constant is too large for "long" type strcompat.c:278: warning: integer constant is too large for "long" type strcompat.c:301: warning: integer constant is too large for "long" type strcompat.c:301: warning: integer constant is too large for "long" type gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c gmake[2]: Entering directory `/export/home/dougm/asterisk/menuselect/mxml' 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 /usr/bin/rm -f libmxml.a /usr/bin/ar crvs 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 ar: writing libmxml.a ranlib libmxml.a gmake[2]: Leaving directory `/export/home/dougm/asterisk/menuselect/mxml' gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a gmake[1]: Leaving directory `/export/home/dougm/asterisk/menuselect' Generating input for menuselect ... nawk: empty regular expression source line number 3 context is >>> // <<< {if (printit) print} gmake[1]: *** [.app_adsiprog.moduleinfo] Error 2 nawk: empty regular expression source line number 3 context is >>> // <<< {if (printit) print} gmake[1]: *** [.cdr_adaptive_odbc.moduleinfo] Error 2 nawk: empty regular expression source line number 3 context is >>> // <<< {if (printit) print} gmake[1]: *** [.chan_agent.moduleinfo] Error 2 nawk: empty regular expression source line number 3 context is >>> // <<< {if (printit) print} gmake[1]: *** [.codec_a_mu.moduleinfo] Error 2 nawk: empty regular expression source line number 3 context is >>> // <<< {if (printit) print} gmake[1]: *** [.format_g723.moduleinfo] Error 2 nawk: empty regular expression source line number 3 context is >>> // <<< {if (printit) print} gmake[1]: *** [.func_base64.moduleinfo] Error 2 nawk: empty regular expression source line number 3 context is >>> // <<< {if (printit) print} gmake[1]: *** [.pbx_ael.moduleinfo] Error 2 nawk: empty regular expression source line number 3 context is >>> // <<< {if (printit) print} gmake[1]: *** [.res_adsi.moduleinfo] Error 2 nawk: empty regular expression source line number 3 context is >>> // <<< {if (printit) print} gmake[1]: *** [.test_dlinklists.moduleinfo] Error 2 gmake: *** [menuselect-tree] Error 2 ****** ADDITIONAL INFORMATION ****** There are other problems. configure always decides that alsa/asoundlib.h is present even when if finds it not there. | ||
Comments: | By: Sean Bright (seanbright) 2008-08-25 14:52:55 Could you try the attached patch and see if that fixes your problem? By: Doug McCallum (dougm) 2008-08-25 15:25:54 After an "svn update" and applying the patch, everything builds and the make says it was successful. Haven't tried using it, but the bug filed is fixed. Thanks. By: Digium Subversion (svnbot) 2008-08-25 16:22:05 Repository: asterisk Revision: 139909 U branches/1.4/build_tools/get_makeopts U branches/1.4/build_tools/get_moduleinfo ------------------------------------------------------------------------ r139909 | seanbright | 2008-08-25 16:22:04 -0500 (Mon, 25 Aug 2008) | 9 lines Some versions of awk (nawk, for example) don't like empty regular expressions so be slightly more verbose. (closes issue ASTERISK-12643) Reported by: dougm Patches: 13374.diff uploaded by seanbright (license 71) Tested by: dougm ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=139909 |