[Home]

Summary:ASTERISK-12823: Asterisk 1.6.0 will not compile on OS X 10.5.5
Reporter:Stacy Vinson (svinson)Labels:
Date Opened:2008-10-05 18:07:08Date Closed:2008-10-05 20:02:03
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Utilities/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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 menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
Generating input for menuselect ...
menuselect/menuselect --check-deps   menuselect.makeopts
Generating embedded module rules ...
  [CC] stereorize.c -> stereorize.o
  [CC] frame.c -> frame.o
  [LD] stereorize.o frame.o -> stereorize
  [CC] streamplayer.c -> streamplayer.o
  [LD] streamplayer.o -> streamplayer
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file
      cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory
make[1]: *** [aelparse.c] Error 64
make: *** [utils] Error 2
stacy-vinsons-power-mac-g4:asterisk-1.6.0 root#


****** ADDITIONAL INFORMATION ******

stacy-vinsons-power-mac-g4:utils root# gcc -v
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5484~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5484)

uname -a
Darwin stacy-vinsons-power-mac-g4.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep  3 11:31:44 PDT 2008; root:xnu-1228.7.58~1/RELEASE_PPC Power Macintosh



Comments:By: Sean Bright (seanbright) 2008-10-05 18:08:07

Could you compile again using this command:

 $ make NOISY_BUILD=1

And then post the output?

By: Stacy Vinson (svinson) 2008-10-05 18:28:22

stacy-vinsons-power-mac-g4:asterisk-1.6.0 root# make NOISY_BUILD=1
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: `makeopts' is up to date.
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
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_stub.o menuselect_stub.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 menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
Generating input for menuselect ...
menuselect/menuselect --check-deps   menuselect.makeopts
Generating embedded module rules ...
gcc -o stereorize.o -c stereorize.c -D_THREAD_SAFE  -I/Users/svinson/Desktop/Asterisk\ 1.6.0/asterisk-1.6.0/include  -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /Users/svinson/Desktop/Asterisk\ 1.6.0/asterisk-1.6.0/include/asterisk/autoconfig.h   -D__Darwin__ -O6 -MD -MT stereorize.o -MF .stereorize.o.d -MP
gcc -o frame.o -c frame.c -D_THREAD_SAFE  -I/Users/svinson/Desktop/Asterisk\ 1.6.0/asterisk-1.6.0/include  -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /Users/svinson/Desktop/Asterisk\ 1.6.0/asterisk-1.6.0/include/asterisk/autoconfig.h   -D__Darwin__ -O6 -MD -MT frame.o -MF .frame.o.d -MP
g++  -o stereorize -D_THREAD_SAFE   stereorize.o frame.o  -lc -lm
gcc -o streamplayer.o -c streamplayer.c -D_THREAD_SAFE  -I/Users/svinson/Desktop/Asterisk\ 1.6.0/asterisk-1.6.0/include  -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /Users/svinson/Desktop/Asterisk\ 1.6.0/asterisk-1.6.0/include/asterisk/autoconfig.h   -D__Darwin__ -O6 -MD -MT streamplayer.o -MF .streamplayer.o.d -MP
g++  -o streamplayer -D_THREAD_SAFE   streamplayer.o  -lc
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file
      cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory
make[1]: *** [aelparse.c] Error 64
make: *** [utils] Error 2
stacy-vinsons-power-mac-g4:asterisk-1.6.0 root#

By: Sean Bright (seanbright) 2008-10-05 18:52:35

Try this, rename the folder "Asterisk 1.6.0" to "Asterisk1.6.0", run ./configure and make again and see if the problem persists.

By: Stacy Vinson (svinson) 2008-10-05 19:29:38

that did it. sorry for wasting your time, and thanks for the help.

By: Sean Bright (seanbright) 2008-10-05 20:02:02

Fixed in trunk revision 146555, 1.6.0 revision 146556, 1.6.1 revision 146557.