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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 37484 bytes
Desc: not available
Url :
http://lists.xiph.org/pipermail/vorbis/attachments/20130420/9cabd9f4/attachment-0001.obj
On 2013-4-21 04:47 , Jim Worrall wrote:> 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.