[Speex-dev] Missing getopt_long in Solaris 8 Sparc

Dagobert Michelsen dam at opencsw.org
Tue Apr 14 12:55:06 PDT 2009


Hi,

I have problems compiling speex 1.2rc1:

>         /opt/studio/SOS11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. - 
> I.. -I../include -I../include -I.. -I/opt/csw/include  -I/opt/csw/ 
> include  -xO3 -xarch=v8 -I/opt/csw/include -c skeleton.c
> /bin/bash ../libtool --mode=link /opt/studio/SOS11/SUNWspro/bin/cc  - 
> xO3 -xarch=v8 -I/opt/csw/include  -xarch=v8 -L/opt/csw/lib -o  
> speexenc  speexenc.o wav_io.o skeleton.o ../libspeex/libspeex.la ../ 
> libspeex/libspeexdsp.la -L/opt/csw/lib -logg      -lm
> mkdir .libs
> /opt/studio/SOS11/SUNWspro/bin/cc -xO3 -xarch=v8 -I/opt/csw/include - 
> xarch=v8 -o .libs/speexenc speexenc.o wav_io.o skeleton.o  -L/opt/ 
> csw/lib ../libspeex/.libs/libspeex.so ../libspeex/.libs/ 
> libspeexdsp.so /opt/csw/lib/libogg.so -lm -R/opt/csw/lib
> Undefined                       first referenced
>  symbol                             in file
> getopt_long                         speexenc.o


However, it is correctly detected on configure-time that getopt_long  
is not
available:

> checking for Ogg... yes
> checking for sin in -lm... yes
> checking for getopt_long... no
> checking for getopt_long in -lgnugetopt... no
> checking for main in -lwinmm... no


Did I hit a bug?


Best regards

   -- Dago


More information about the Speex-dev mailing list