[vorbis-dev] Problems compiling under OS X

Elifarley C.Coelho elifarley at task.com.br
Tue Oct 23 09:11:09 PDT 2001



While trying to compile libao 0.8.0 under OS X 10.1, I got the following 
problems:

> [localhost:ecc/Sources/libao-0.8.0] root# ./configure
> creating cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking host system type... powerpc-apple-darwin1.4
> checking for gcc... no
> checking for cc... cc
> checking whether the C compiler (cc  ) works... yes
> checking whether the C compiler (cc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc accepts -g... yes
> checking build system type... powerpc-apple-darwin1.4
> checking for ranlib... ranlib
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking for BSD-compatible nm... /usr/bin/nm -p
> checking whether ln -s works... yes
> updating cache ./config.cache
> checking for object suffix... o
> checking for executable suffix... no
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc supports -c -o file.o... 
> /Users/ecc/Sources/libao-0.8.0/conftest
> yes
> checking if cc supports -c -o file.lo... yes
> checking if cc supports -fno-rtti -fno-exceptions ... yes
> checking if cc static flag -static works... none
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking whether the linker (/usr/bin/ld) supports shared libraries... 
> no
> checking command to parse /usr/bin/nm -p output... ok
> checking how to hardcode library paths into programs... unsupported
> checking for /usr/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... no
> checking if libtool supports shared libraries... no
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for objdir... .libs
> checking for dlopen in -ldl... no
> checking for dlopen... no
> checking for dld_link in -ldld... no
> checking for shl_load... no
> checking for shl_load in -ldld... no
> creating libtool
> loading cache ./config.cache
> checking for pthread_kill in -lpthread... no
> checking size of short... 2
> checking size of int... 4
> checking size of long... 4
> checking for esd-config... no
> checking for ESD - version >= 0.2.8... no
> *** The esd-config script installed by ESD could not be found
> *** If ESD was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the ESD_CONFIG environment variable to the
> *** full path to esd-config.
> checking how to run the C preprocessor... cc -E -traditional-cpp
> checking for sys/soundcard.h... no
> checking for machine/soundcard.h... no
> checking for snd_pcm_channel_params in -lasound... no
> checking for sys/asoundlib.h... no
> checking for sys/audioio.h... no
> checking for artsc-config... no
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating src/Makefile
> creating doc/Makefile
> creating include/Makefile
> creating include/ao/Makefile
> creating include/ao/os_types.h
> creating src/plugins/Makefile
> creating src/plugins/esd/Makefile
> creating src/plugins/oss/Makefile
> creating src/plugins/alsa/Makefile
> creating src/plugins/sun/Makefile
> creating src/plugins/irix/Makefile
> creating src/plugins/arts/Makefile
> creating debian/Makefile
> [localhost:ecc/Sources/libao-0.8.0] root# make
> Making all in src
> Making all in plugins
> Making all in oss
> make[3]: Nothing to be done for `all'.
> Making all in esd
> make[3]: Nothing to be done for `all'.
> Making all in arts
> make[3]: Nothing to be done for `all'.
> Making all in alsa
> make[3]: Nothing to be done for `all'.
> Making all in sun
> make[3]: Nothing to be done for `all'.
> Making all in irix
> make[3]: Nothing to be done for `all'.
> make[3]: Nothing to be done for `all-am'.
> /bin/sh ../libtool --mode=compile cc -DPACKAGE=\"libao\" 
> -DVERSION=\"0.8.0\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4  
> -I. -I.  -I.. -I../include    -O20 -D__NO_MATH_INLINES -fsigned-char -g 
> -O2 -DAO_PLUGIN_PATH=\"/usr/local/lib/ao\" -c audio_out.c
> cc -DPACKAGE=\"libao\" -DVERSION=\"0.8.0\" -DSIZEOF_SHORT=2 
> -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I.. -I../include -O20 
> -D__NO_MATH_INLINES -fsigned-char -g -O2 
> -DAO_PLUGIN_PATH=\"/usr/local/lib/ao\" -c audio_out.c -o audio_out.o
> cc: unrecognized option `-O20'
> audio_out.c:30: header file 'dlfcn.h' not found
> cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode
> make[2]: *** [audio_out.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [localhost:ecc/Sources/libao-0.8.0] root#
>

What can I do to correctly compile it ?

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list