[speex-dev] Speex on Solaris

Brian Cameron Brian.Cameron at Sun.COM
Wed Jul 16 03:57:29 PDT 2003



I just tried building Speex on Solaris with the Forte compiler, and it
almost builds successfully.  The only issues that keep speex from compiling
are as follows:

1. getopt.h does not exist on Solaris.  The getopt() function is defined
   in stdlib.h on Solaris.  This is referenced in src/speexdec.c and
   src/speexenc.c.  It would be nice if the configure.ac did an 
   AC_CHECK_HEADERS on getopt.h and only include it if it exists on
   the system.
   
2. getopt_long does not exist on Solaris.  This is also used in 
   src/speexdec.c and src/speexenc.c.  Speex could do what esound does
   and bundle the getopt_long source along with Speex, and use that 
   if it is not available on the system.  Or perhaps Speex could 
   consider using normal getopt instead of getopt_long?

Brian

--- >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 'speex-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 Speex-dev mailing list