[Speex-dev] Missing getopt_long in Solaris 8 Sparc

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Fri Apr 17 04:35:35 PDT 2009


It should be using getopt1.c when getopt isn't available.c. Can you
check why it doesn't? In any case, that's only required for the Ogg
tools, not for the library.

	Jean-Marc


Dagobert Michelsen a écrit :
> 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
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 
> 


More information about the Speex-dev mailing list