compile error
Jim Worrall <[email protected]> Sat, 20 Apr 2013 12:47:18 -0600
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.general |
|---|---|
| Message-ID | <[email protected]> |
I've been trying to figure out for a couple of days why I can't get libvorbis to compile. It has me stumped, though I'm not a whiz at compiling from source.
I'm installing on Mac OSX 10.8.2. The relevant commands are:
export CC=clang
./configure --prefix=${TARGET} --build=x86_64 --with-ogg-libraries=${TARGET}/lib --with-ogg-includes=${TARGET}/include/ --enable-static --disable-shared --disable-oggtest && make -j 4 && make install
This error shows up 3 or 4 times:
configure:12338: clang -o conftest -O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H conftest.c -lpthread >&5
error: invalid value '20' in '-O20'
config.log is attached. I would really appreciate some pointers on what I am doing wrong. Thank you.
_______________________________________________
Vorbis mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/vorbis
config.log
(application/octet-stream, 36.6 KB)
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libvorbis configure 1.3.3, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/Volumes/Ramdisk/sw --build=x86_64 --with-ogg-libraries=/Volumes/Ramdisk/sw/lib --with-ogg-includes=/Volumes/Ramdisk/sw/include/ --enable-static --disable-shared --disable-oggtest
## --------- ##
## Platform. ##
## --------- ##
hostname = Jims-MacBook-Pro.local
uname -m = x86_64
uname -r = 12.3.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 128 tasks, 612 threads, 4 processors
Load average: 1.35, Mach factor: 2.64
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Volumes/Ramdisk/sw/bin
PATH: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
PATH: /Applications/Xcode.app/Contents/Developer/usr/bin
PATH: /Applications/Utilities/VideoDVDTools/Mkvtoolnix.app/Contents/MacOS
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/local/git/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2328: checking build system type
configure:2342: result: x86_64-pc-none
configure:2362: checking host system type
configure:2375: result: x86_64-pc-none
configure:2395: checking target system type
configure:2408: result: x86_64-pc-none
configure:2451: checking for a BSD-compatible install
configure:2519: result: /usr/bin/install -c
configure:2530: checking whether build environment is sane
configure:2580: result: yes
configure:2721: checking for a thread-safe mkdir -p
configure:2760: result: ./install-sh -c -d
configure:2773: checking for gawk
configure:2803: result: no
configure:2773: checking for mawk
configure:2803: result: no
configure:2773: checking for nawk
configure:2803: result: no
configure:2773: checking for awk
configure:2789: found /usr/bin/awk
configure:2800: result: awk
configure:2811: checking whether make sets $(MAKE)
configure:2833: result: yes
configure:2914: checking whether to enable maintainer-specific portions of Makefiles
configure:2923: result: no
configure:3015: checking for gcc
configure:3042: result: clang
configure:3271: checking for C compiler version
configure:3280: clang --version >&5
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.3.0
Thread model: posix
configure:3291: $? = 0
configure:3280: clang -v >&5
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.3.0
Thread model: posix
configure:3291: $? = 0
configure:3280: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3291: $? = 1
configure:3280: clang -qversion >&5
clang: error: no input files
configure:3291: $? = 1
configure:3311: checking whether the C compiler works
configure:3333: clang conftest.c >&5
configure:3337: $? = 0
configure:3385: result: yes
configure:3388: checking for C compiler default output file name
configure:3390: result: a.out
configure:3396: checking for suffix of executables
configure:3403: clang -o conftest conftest.c >&5
configure:3407: $? = 0
configure:3429: result:
configure:3451: checking whether we are cross compiling
configure:3459: clang -o conftest conftest.c >&5
configure:3463: $? = 0
configure:3470: ./conftest
configure:3474: $? = 0
configure:3489: result: no
configure:3494: checking for suffix of object files
configure:3516: clang -c conftest.c >&5
configure:3520: $? = 0
configure:3541: result: o
configure:3545: checking whether we are using the GNU C compiler
configure:3564: clang -c conftest.c >&5
configure:3564: $? = 0
configure:3573: result: yes
configure:3582: checking whether clang accepts -g
configure:3602: clang -c -g conftest.c >&5
configure:3602: $? = 0
configure:3643: result: yes
configure:3660: checking for clang option to accept ISO C89
configure:3724: clang -c -g -O2 conftest.c >&5
configure:3724: $? = 0
configure:3737: result: none needed
configure:3768: checking for style of include used by make
configure:3796: result: GNU
configure:3821: checking dependency style of clang
configure:3931: result: gcc3
configure:3951: checking how to run the C preprocessor
configure:3982: clang -E conftest.c
configure:3982: $? = 0
configure:3996: clang -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:3996: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4021: result: clang -E
configure:4041: clang -E conftest.c
configure:4041: $? = 0
configure:4055: clang -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:4055: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4086: checking for inline
configure:4102: clang -c conftest.c >&5
configure:4102: $? = 0
configure:4110: result: inline
configure:4478: checking how to print strings
configure:4505: result: printf
configure:4526: checking for a sed that does not truncate output
configure:4590: result: /usr/bin/sed
configure:4608: checking for grep that handles long lines and -e
configure:4666: result: /usr/bin/grep
configure:4671: checking for egrep
configure:4733: result: /usr/bin/grep -E
configure:4738: checking for fgrep
configure:4800: result: /usr/bin/grep -F
configure:4835: checking for ld used by clang
configure:4902: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
configure:4909: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
configure:4924: result: no
configure:4936: checking for BSD- or MS-compatible name lister (nm)
configure:4985: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//nm
configure:5115: checking the name lister (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//nm) interface
configure:5122: clang -c conftest.c >&5
configure:5125: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//nm "conftest.o"
configure:5128: output
0000000000000000 S _some_variable
configure:5135: result: BSD nm
configure:5138: checking whether ln -s works
configure:5142: result: yes
configure:5150: checking the maximum length of command line arguments
configure:5275: result: 196608
configure:5292: checking whether the shell understands some XSI constructs
configure:5302: result: yes
configure:5306: checking whether the shell understands "+="
configure:5312: result: yes
configure:5347: checking how to convert x86_64-pc-none file names to x86_64-pc-none format
configure:5387: result: func_convert_file_noop
configure:5394: checking how to convert x86_64-pc-none file names to toolchain format
configure:5414: result: func_convert_file_noop
configure:5421: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files
configure:5428: result: -r
configure:5502: checking for objdump
configure:5529: result: objdump
configure:5558: checking how to recognize dependent libraries
configure:5760: result: unknown
configure:5845: checking for dlltool
configure:5872: result: dlltool
configure:5902: checking how to associate runtime and link libraries
configure:5929: result: printf %s\n
configure:5989: checking for ar
configure:6005: found /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//ar
configure:6016: result: ar
configure:6053: checking for archiver @FILE support
configure:6070: clang -c conftest.c >&5
configure:6070: $? = 0
configure:6073: ar cru libconftest.a @conftest.lst >&5
ar: @conftest.lst: No such file or directory
configure:6076: $? = 1
configure:6096: result: no
configure:6154: checking for strip
configure:6170: found /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//strip
configure:6181: result: strip
configure:6253: checking for ranlib
configure:6269: found /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//ranlib
configure:6280: result: ranlib
configure:6382: checking command to parse /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//nm output from clang object
configure:6501: clang -c conftest.c >&5
configure:6504: $? = 0
configure:6508: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6511: $? = 0
cannot find nm_test_var in conftest.nm
configure:6501: clang -c conftest.c >&5
configure:6504: $? = 0
configure:6508: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6511: $? = 0
configure:6577: clang -o conftest conftest.c conftstm.o >&5
configure:6580: $? = 0
configure:6618: result: ok
configure:6655: checking for sysroot
configure:6685: result: no
configure:6928: checking for mt
configure:6958: result: no
configure:6978: checking if : is a manifest tool
configure:6984: : '-?'
configure:6992: result: no
configure:7620: checking for ANSI C header files
configure:7640: clang -c conftest.c >&5
configure:7640: $? = 0
configure:7713: clang -o conftest conftest.c >&5
configure:7713: $? = 0
configure:7713: ./conftest
configure:7713: $? = 0
configure:7724: result: yes
configure:7737: checking for sys/types.h
configure:7737: clang -c conftest.c >&5
configure:7737: $? = 0
configure:7737: result: yes
configure:7737: checking for sys/stat.h
configure:7737: clang -c conftest.c >&5
configure:7737: $? = 0
configure:7737: result: yes
configure:7737: checking for stdlib.h
configure:7737: clang -c conftest.c >&5
configure:7737: $? = 0
configure:7737: result: yes
configure:7737: checking for string.h
configure:7737: clang -c conftest.c >&5
configure:7737: $? = 0
configure:7737: result: yes
configure:7737: checking for memory.h
configure:7737: clang -c conftest.c >&5
configure:7737: $? = 0
configure:7737: result: yes
configure:7737: checking for strings.h
configure:7737: clang -c conftest.c >&5
configure:7737: $? = 0
configure:7737: result: yes
configure:7737: checking for inttypes.h
configure:7737: clang -c conftest.c >&5
configure:7737: $? = 0
configure:7737: result: yes
configure:7737: checking for stdint.h
configure:7737: clang -c conftest.c >&5
configure:7737: $? = 0
configure:7737: result: yes
configure:7737: checking for unistd.h
configure:7737: clang -c conftest.c >&5
configure:7737: $? = 0
configure:7737: result: yes
configure:7751: checking for dlfcn.h
configure:7751: clang -c conftest.c >&5
configure:7751: $? = 0
configure:7751: result: yes
configure:7936: checking for objdir
configure:7951: result: .libs
configure:8218: checking if clang supports -fno-rtti -fno-exceptions
configure:8236: clang -c -fno-rtti -fno-exceptions conftest.c >&5
configure:8240: $? = 0
configure:8253: result: yes
configure:8563: checking for clang option to produce PIC
configure:8570: result: -fPIC -DPIC
configure:8578: checking if clang PIC flag -fPIC -DPIC works
configure:8596: clang -c -fPIC -DPIC -DPIC conftest.c >&5
configure:8600: $? = 0
configure:8613: result: yes
configure:8642: checking if clang static flag -static works
configure:8670: result: no
configure:8685: checking if clang supports -c -o file.o
configure:8706: clang -c -o out/conftest2.o conftest.c >&5
configure:8710: $? = 0
configure:8732: result: yes
configure:8740: checking if clang supports -c -o file.o
configure:8787: result: yes
configure:8820: checking whether the clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
configure:9982: result: no
configure:10227: checking dynamic linker characteristics
configure:10976: result: no
configure:11083: checking how to hardcode library paths into programs
configure:11108: result: unsupported
configure:11648: checking whether stripping libraries is possible
configure:11670: result: no
configure:11688: checking if libtool supports shared libraries
configure:11690: result: no
configure:11693: checking whether to build shared libraries
configure:11714: result: no
configure:11717: checking whether to build static libraries
configure:11721: result: yes
configure:11757: checking whether clang and cc understand -c and -o together
configure:11788: clang -c conftest.c -o conftest2.o >&5
configure:11792: $? = 0
configure:11798: clang -c conftest.c -o conftest2.o >&5
configure:11802: $? = 0
configure:11813: cc -c conftest.c >&5
configure:11817: $? = 0
configure:11825: cc -c conftest.c -o conftest2.o >&5
configure:11829: $? = 0
configure:11835: cc -c conftest.c -o conftest2.o >&5
configure:11839: $? = 0
configure:11857: result: yes
configure:12085: checking GCC version
configure:12088: result: 4.2.1
configure:12229: checking if clang accepts -Wdeclaration-after-statement
configure:12244: clang -o conftest -O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -Wdeclaration-after-statement conftest.c >&5
error: invalid value '20' in '-O20'
configure:12244: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <stdio.h>
| int
| main ()
| {
| puts("Hello, World!"); return 0;
| ;
| return 0;
| }
configure:12248: result: no
configure:12259: checking for memory.h
configure:12259: result: yes
configure:12271: checking for cos in -lm
configure:12296: clang -o conftest -O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H conftest.c -lm >&5
error: invalid value '20' in '-O20'
configure:12296: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char cos ();
| int
| main ()
| {
| return cos ();
| ;
| return 0;
| }
configure:12305: result: no
configure:12313: checking for pthread_create in -lpthread
configure:12338: clang -o conftest -O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H conftest.c -lpthread >&5
error: invalid value '20' in '-O20'
configure:12338: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pthread_create ();
| int
| main ()
| {
| return pthread_create ();
| ;
| return 0;
| }
configure:12347: result: no
configure:12405: checking for pkg-config
configure:12423: found /Volumes/Ramdisk/sw/bin/pkg-config
configure:12435: result: /Volumes/Ramdisk/sw/bin/pkg-config
configure:12460: checking pkg-config is at least version 0.9.0
configure:12463: result: yes
configure:12478: checking for OGG
configure:12486: $PKG_CONFIG --exists --print-errors "ogg >= 1.0"
configure:12489: $? = 0
configure:12504: $PKG_CONFIG --exists --print-errors "ogg >= 1.0"
configure:12507: $? = 0
configure:12543: result: yes
configure:12726: checking for size_t
configure:12726: clang -c -O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H conftest.c >&5
error: invalid value '20' in '-O20'
configure:12726: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof (size_t))
| return 0;
| ;
| return 0;
| }
configure:12726: result: no
configure:12739: checking for working alloca.h
configure:12756: clang -o conftest -O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H conftest.c >&5
error: invalid value '20' in '-O20'
configure:12756: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define size_t unsigned int
| /* end confdefs.h. */
| #include <alloca.h>
| int
| main ()
| {
| char *p = (char *) alloca (2 * sizeof (int));
| if (p) return 0;
| ;
| return 0;
| }
configure:12764: result: no
configure:12772: checking for alloca
configure:12809: clang -o conftest -O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H conftest.c >&5
error: invalid value '20' in '-O20'
configure:12809: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define size_t unsigned int
| /* end confdefs.h. */
| #ifdef __GNUC__
| # define alloca __builtin_alloca
| #else
| # ifdef _MSC_VER
| # include <malloc.h>
| # define alloca _alloca
| # else
| # ifdef HAVE_ALLOCA_H
| # include <alloca.h>
| # else
| # ifdef _AIX
| #pragma alloca
| # else
| # ifndef alloca /* predefined by HP cc +Olibcalls */
| void *alloca (size_t);
| # endif
| # endif
| # endif
| # endif
| #endif
|
| int
| main ()
| {
| char *p = (char *) alloca (1);
| if (p) return 0;
| ;
| return 0;
| }
configure:12817: result: no
configure:12835: checking whether `alloca.c' needs Cray hooks
configure:12858: result: no
configure:12876: checking stack direction for C alloca
configure:12907: clang -o conftest -O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H conftest.c >&5
error: invalid value '20' in '-O20'
configure:12907: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define size_t unsigned int
| #define C_ALLOCA 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| find_stack_direction ()
| {
| static char *addr = 0;
| auto char dummy;
| if (addr == 0)
| {
| addr = &dummy;
| return find_stack_direction ();
| }
| else
| return (&dummy > addr) ? 1 : -1;
| }
|
| int
| main ()
| {
| return find_stack_direction () < 0;
| }
configure:12917: result: -1
configure:12926: checking for working memcmp
configure:12969: clang -o conftest -O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H conftest.c >&5
error: invalid value '20' in '-O20'
configure:12969: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libvorbis"
| #define PACKAGE_TARNAME "libvorbis"
| #define PACKAGE_VERSION "1.3.3"
| #define PACKAGE_STRING "libvorbis 1.3.3"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.3.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define size_t unsigned int
| #define C_ALLOCA 1
| #define STACK_DIRECTION -1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
|
| /* Some versions of memcmp are not 8-bit clean. */
| char c0 = '\100', c1 = '\200', c2 = '\201';
| if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
| return 1;
|
| /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
| or more and with at least one buffer not starting on a 4-byte boundary.
| William Lewis provided this test program. */
| {
| char foo[21];
| char bar[21];
| int i;
| for (i = 0; i < 4; i++)
| {
| char *a = foo + i;
| char *b = bar + i;
| strcpy (a, "--------01111111");
| strcpy (b, "--------10000000");
| if (memcmp (a, b, 16) >= 0)
| return 1;
| }
| return 0;
| }
|
| ;
| return 0;
| }
configure:12979: result: no
configure:13145: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by libvorbis config.status 1.3.3, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on Jims-MacBook-Pro.local
config.status:1148: creating Makefile
config.status:1148: creating m4/Makefile
config.status:1148: creating lib/Makefile
config.status:1148: creating lib/modes/Makefile
config.status:1148: creating lib/books/Makefile
config.status:1148: creating lib/books/coupled/Makefile
config.status:1148: creating lib/books/uncoupled/Makefile
config.status:1148: creating lib/books/floor/Makefile
config.status:1148: creating doc/Makefile
config.status:1148: creating doc/vorbisfile/Makefile
config.status:1148: creating doc/vorbisenc/Makefile
config.status:1148: creating doc/libvorbis/Makefile
config.status:1148: creating doc/Doxyfile
config.status:1148: creating include/Makefile
config.status:1148: creating include/vorbis/Makefile
config.status:1148: creating examples/Makefile
config.status:1148: creating test/Makefile
config.status:1148: creating vq/Makefile
config.status:1148: creating libvorbis.spec
config.status:1148: creating vorbis.pc
config.status:1148: creating vorbisenc.pc
config.status:1148: creating vorbisfile.pc
config.status:1148: creating vorbis-uninstalled.pc
config.status:1148: creating vorbisenc-uninstalled.pc
config.status:1148: creating vorbisfile-uninstalled.pc
config.status:1148: creating config.h
config.status:1329: config.h is unchanged
config.status:1377: executing depfiles commands
config.status:1377: executing libtool commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-none
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_stack_direction=-1
ac_cv_env_CC_set=set
ac_cv_env_CC_value=clang
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OGG_CFLAGS_set=
ac_cv_env_OGG_CFLAGS_value=
ac_cv_env_OGG_LIBS_set=
ac_cv_env_OGG_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_alloca_works=no
ac_cv_func_memcmp_working=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-none
ac_cv_lib_m_cos=no
ac_cv_lib_pthread_pthread_create=no
ac_cv_objext=o
ac_cv_os_cray=no
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/Volumes/Ramdisk/sw/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='clang -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=clang
ac_cv_prog_ac_ct_DLLTOOL=dlltool
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_clang_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-pc-none
ac_cv_type_size_t=no
ac_cv_working_alloca_h=no
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_ar_at_file=no
lt_cv_deplibs_check_method=unknown
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
lt_cv_path_NM=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=no
lt_cv_prog_gnu_ld=no
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
pkg_cv_OGG_CFLAGS='-I/Volumes/Ramdisk/sw/include '
pkg_cv_OGG_LIBS='-L/Volumes/Ramdisk/sw/lib -logg '
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /Volumes/Ramdisk/sources/libvorbis-1.3.3/missing --run aclocal-1.11'
ACLOCAL_AMFLAGS='-I m4'
ALLOCA='${LIBOBJDIR}alloca.o'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /Volumes/Ramdisk/sources/libvorbis-1.3.3/missing --run tar'
AR='ar'
AS='as'
AUTOCONF='${SHELL} /Volumes/Ramdisk/sources/libvorbis-1.3.3/missing --run autoconf'
AUTOHEADER='${SHELL} /Volumes/Ramdisk/sources/libvorbis-1.3.3/missing --run autoheader'
AUTOMAKE='${SHELL} /Volumes/Ramdisk/sources/libvorbis-1.3.3/missing --run automake-1.11'
AWK='awk'
BUILD_DOCS_FALSE=''
BUILD_DOCS_TRUE='#'
BUILD_EXAMPLES_FALSE=''
BUILD_EXAMPLES_TRUE='#'
CC='clang'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H'
CPP='clang -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEBUG='-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='dlltool'
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
HAVE_DOXYGEN='false'
HAVE_DOXYGEN_FALSE=''
HAVE_DOXYGEN_TRUE='#'
HTLATEX=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
LDFLAGS=''
LIBOBJS=' ${LIBOBJDIR}memcmp$U.o'
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIBTOOL_DEPS='./ltmain.sh'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=' ${LIBOBJDIR}memcmp$U.lo'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Volumes/Ramdisk/sources/libvorbis-1.3.3/missing --run makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='./install-sh -c -d'
NM='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin//nm'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OGG_CFLAGS='-I/Volumes/Ramdisk/sw/include '
OGG_LIBS='-L/Volumes/Ramdisk/sw/lib -logg '
OTOOL64=''
OTOOL=''
PACKAGE='libvorbis'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='libvorbis'
PACKAGE_STRING='libvorbis 1.3.3'
PACKAGE_TARNAME='libvorbis'
PACKAGE_URL=''
PACKAGE_VERSION='1.3.3'
PATH_SEPARATOR=':'
PDFLATEX=''
PKG_CONFIG='/Volumes/Ramdisk/sw/bin/pkg-config'
PROFILE='-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='1.3.3'
VE_LIB_AGE='0'
VE_LIB_CURRENT='2'
VE_LIB_REVISION='9'
VF_LIB_AGE='3'
VF_LIB_CURRENT='6'
VF_LIB_REVISION='5'
VORBIS_LIBS=''
V_LIB_AGE='4'
V_LIB_CURRENT='4'
V_LIB_REVISION='6'
ac_ct_AR='ar'
ac_ct_CC='clang'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-none'
build_alias='x86_64'
build_cpu='x86_64'
build_os='none'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-none'
host_alias=''
host_cpu='x86_64'
host_os='none'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Volumes/Ramdisk/sources/libvorbis-1.3.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/Volumes/Ramdisk/sw'
program_transform_name='s,x,x,'
psdir='${docdir}'
pthread_lib=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-pc-none'
target_alias=''
target_cpu='x86_64'
target_os='none'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "libvorbis"
#define PACKAGE_TARNAME "libvorbis"
#define PACKAGE_VERSION "1.3.3"
#define PACKAGE_STRING "libvorbis 1.3.3"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
#define PACKAGE "libvorbis"
#define VERSION "1.3.3"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define size_t unsigned int
#define C_ALLOCA 1
#define STACK_DIRECTION -1
configure: exit 0