...compile error messages E4500:[root]:/smb/vlc/speex-1.0.5 6 > gcc -v Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/l d --disable-nls Thread model: posix gcc version 3.4.2 Making all in src make[1]: Entering directory `/smb/vlc/speex-1.0.5/src' if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKA GE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -D HAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_S TRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGEND IAN=1 -DHAVE_SYS_AUDIOIO_H=1 -DHAVE_LIBOGG=1 -DHAVE_LIBM=1 -DSPEEX_VERSION=\"1.0 .5\" -DSPEEX_MAJOR_VERSION=1 -DSPEEX_MINOR_VERSION=0 -DSPEEX_MICRO_VERSION=5 -DS PEEX_EXTRA_VERSION=\"\" -I. -I. -I../include -I../libspeex -I/usr/local/includ e -g -O2 -MT speexenc.o -MD -MP -MF ".deps/speexenc.Tpo" -c -o speexenc.o spe exenc.c; \ then mv -f ".deps/speexenc.Tpo" ".deps/speexenc.Po"; else rm -f ".deps/speexenc. Tpo"; exit 1; fi speexenc.c:35:20: getopt.h: No such file or directory speexenc.c: In function `main': speexenc.c:221: error: elements of array `long_options' have incomplete type speexenc.c:223: warning: excess elements in struct initializer speexenc.c:223: warning: (near initialization for `long_options[0]') speexenc.c:223: error: `no_argument' undeclared (first use in this function) speexenc.c:223: error: (Each undeclared identifier is reported only once speexenc.c:223: error: for each function it appears in.) speexenc.c:223: warning: excess elements in struct initializer speexenc.c:223: warning: (near initialization for `long_options[0]') speexenc.c:223: warning: excess elements in struct initializer speexenc.c:223: warning: (near initialization for `long_options[0]') speexenc.c:223: warning: excess elements in struct initializer speexenc.c:223: warning: (near initialization for `long_options[0]') speexenc.c:224: warning: excess elements in struct initializer speexenc.c:224: warning: (near initialization for `long_options[1]') speexenc.c:224: warning: excess elements in struct initializer speexenc.c:224: warning: (near initialization for `long_options[1]') speexenc.c:224: warning: excess elements in struct initializer speexenc.c:224: warning: (near initialization for `long_options[1]') speexenc.c:224: warning: excess elements in struct initializer speexenc.c:224: warning: (near initialization for `long_options[1]') speexenc.c:225: warning: excess elements in struct initializer speexenc.c:225: warning: excess elements in struct initializer speexenc.c:225: warning: (near initialization for `long_options[2]') speexenc.c:225: warning: excess elements in struct initializer speexenc.c:225: warning: (near initialization for `long_options[2]') speexenc.c:225: warning: excess elements in struct initializer speexenc.c:225: warning: (near initialization for `long_options[2]') speexenc.c:225: warning: excess elements in struct initializer speexenc.c:225: warning: (near initialization for `long_options[2]') speexenc.c:226: warning: excess elements in struct initializer speexenc.c:226: warning: (near initialization for `long_options[3]') speexenc.c:226: warning: excess elements in struct initializer speexenc.c:226: warning: (near initialization for `long_options[3]') speexenc.c:226: warning: excess elements in struct initializer speexenc.c:226: warning: (near initialization for `long_options[3]') speexenc.c:226: warning: excess elements in struct initializer speexenc.c:226: warning: (near initialization for `long_options[3]') speexenc.c:227: warning: excess elements in struct initializer speexenc.c:227: warning: (near initialization for `long_options[4]') speexenc.c:227: error: `required_argument' undeclared (first use in this functio n) speexenc.c:227: warning: excess elements in struct initializer speexenc.c:227: warning: (near initialization for `long_options[4]') speexenc.c:227: warning: excess elements in struct initializer speexenc.c:227: warning: (near initialization for `long_options[4]') speexenc.c:227: warning: excess elements in struct initializer speexenc.c:227: warning: (near initialization for `long_options[4]') speexenc.c:228: warning: excess elements in struct initializer speexenc.c:228: warning: (near initialization for `long_options[5]') speexenc.c:228: warning: excess elements in struct initializer speexenc.c:228: warning: (near initialization for `long_options[5]') speexenc.c:228: warning: excess elements in struct initializer speexenc.c:228: warning: (near initialization for `long_options[5]') speexenc.c:228: warning: excess elements in struct initializer speexenc.c:228: warning: (near initialization for `long_options[5]') speexenc.c:229: warning: excess elements in struct initializer speexenc.c:229: warning: (near initialization for `long_options[6]') speexenc.c:229: warning: excess elements in struct initializer speexenc.c:229: warning: (near initialization for `long_options[6]') speexenc.c:229: warning: excess elements in struct initializer speexenc.c:229: warning: (near initialization for `long_options[6]') speexenc.c:229: warning: excess elements in struct initializer speexenc.c:229: warning: (near initialization for `long_options[6]') speexenc.c:230: warning: excess elements in struct initializer speexenc.c:230: warning: (near initialization for `long_options[7]') speexenc.c:230: warning: excess elements in struct initializer speexenc.c:230: warning: (near initialization for `long_options[7]') speexenc.c:230: warning: excess elements in struct initializer speexenc.c:230: warning: (near initialization for `long_options[7]') speexenc.c:230: warning: excess elements in struct initializer speexenc.c:230: warning: (near initialization for `long_options[7]') speexenc.c:231: warning: excess elements in struct initializer speexenc.c:231: warning: (near initialization for `long_options[8]') speexenc.c:231: warning: excess elements in struct initializer speexenc.c:231: warning: (near initialization for `long_options[8]') speexenc.c:231: warning: excess elements in struct initializer speexenc.c:231: warning: (near initialization for `long_options[8]') speexenc.c:231: warning: excess elements in struct initializer speexenc.c:231: warning: (near initialization for `long_options[8]') speexenc.c:232: warning: excess elements in struct initializer speexenc.c:232: warning: (near initialization for `long_options[9]') speexenc.c:232: warning: excess elements in struct initializer speexenc.c:232: warning: (near initialization for `long_options[9]') speexenc.c:232: warning: excess elements in struct initializer speexenc.c:232: warning: (near initialization for `long_options[9]') speexenc.c:232: warning: excess elements in struct initializer speexenc.c:232: warning: (near initialization for `long_options[9]') speexenc.c:233: warning: excess elements in struct initializer speexenc.c:233: warning: (near initialization for `long_options[10]') speexenc.c:233: warning: excess elements in struct initializer speexenc.c:233: warning: (near initialization for `long_options[10]') speexenc.c:233: warning: excess elements in struct initializer speexenc.c:233: warning: (near initialization for `long_options[10]') speexenc.c:233: warning: excess elements in struct initializer speexenc.c:233: warning: (near initialization for `long_options[10]') speexenc.c:234: warning: excess elements in struct initializer speexenc.c:234: warning: (near initialization for `long_options[11]') speexenc.c:234: warning: excess elements in struct initializer speexenc.c:234: warning: (near initialization for `long_options[11]') speexenc.c:234: warning: excess elements in struct initializer speexenc.c:234: warning: (near initialization for `long_options[11]') speexenc.c:234: warning: excess elements in struct initializer speexenc.c:234: warning: (near initialization for `long_options[11]') speexenc.c:235: warning: excess elements in struct initializer speexenc.c:235: warning: (near initialization for `long_options[12]') speexenc.c:235: warning: excess elements in struct initializer speexenc.c:235: warning: (near initialization for `long_options[12]') speexenc.c:235: warning: excess elements in struct initializer speexenc.c:235: warning: (near initialization for `long_options[12]') speexenc.c:235: warning: excess elements in struct initializer speexenc.c:235: warning: (near initialization for `long_options[12]') speexenc.c:236: warning: excess elements in struct initializer speexenc.c:236: warning: (near initialization for `long_options[13]') speexenc.c:236: warning: excess elements in struct initializer speexenc.c:236: warning: (near initialization for `long_options[13]') speexenc.c:236: warning: excess elements in struct initializer speexenc.c:236: warning: (near initialization for `long_options[13]') speexenc.c:236: warning: excess elements in struct initializer speexenc.c:236: warning: (near initialization for `long_options[13]') speexenc.c:237: warning: excess elements in struct initializer speexenc.c:237: warning: (near initialization for `long_options[14]') speexenc.c:237: warning: excess elements in struct initializer speexenc.c:237: warning: (near initialization for `long_options[14]') speexenc.c:237: warning: excess elements in struct initializer speexenc.c:237: warning: (near initialization for `long_options[14]') speexenc.c:237: warning: excess elements in struct initializer speexenc.c:237: warning: (near initialization for `long_options[14]') speexenc.c:238: warning: excess elements in struct initializer speexenc.c:238: warning: (near initialization for `long_options[15]') speexenc.c:238: warning: excess elements in struct initializer speexenc.c:238: warning: (near initialization for `long_options[15]') speexenc.c:238: warning: excess elements in struct initializer speexenc.c:238: warning: (near initialization for `long_options[15]') speexenc.c:238: warning: excess elements in struct initializer speexenc.c:238: warning: (near initialization for `long_options[15]') speexenc.c:239: warning: excess elements in struct initializer speexenc.c:239: warning: (near initialization for `long_options[16]') speexenc.c:239: warning: excess elements in struct initializer speexenc.c:239: warning: (near initialization for `long_options[16]') speexenc.c:239: warning: excess elements in struct initializer speexenc.c:239: warning: (near initialization for `long_options[16]') speexenc.c:239: warning: excess elements in struct initializer speexenc.c:239: warning: (near initialization for `long_options[16]') speexenc.c:240: warning: excess elements in struct initializer speexenc.c:240: warning: (near initialization for `long_options[17]') speexenc.c:240: warning: excess elements in struct initializer speexenc.c:240: warning: (near initialization for `long_options[17]') speexenc.c:240: warning: excess elements in struct initializer speexenc.c:240: warning: (near initialization for `long_options[17]') speexenc.c:240: warning: excess elements in struct initializer speexenc.c:240: warning: (near initialization for `long_options[17]') speexenc.c:241: warning: excess elements in struct initializer speexenc.c:241: warning: (near initialization for `long_options[18]') speexenc.c:241: warning: excess elements in struct initializer speexenc.c:241: warning: (near initialization for `long_options[18]') speexenc.c:241: warning: excess elements in struct initializer speexenc.c:241: warning: (near initialization for `long_options[18]') speexenc.c:241: warning: excess elements in struct initializer speexenc.c:241: warning: (near initialization for `long_options[18]') speexenc.c:242: warning: excess elements in struct initializer speexenc.c:242: warning: (near initialization for `long_options[19]') speexenc.c:242: warning: excess elements in struct initializer speexenc.c:242: warning: (near initialization for `long_options[19]') speexenc.c:242: warning: excess elements in struct initializer speexenc.c:242: warning: (near initialization for `long_options[19]') speexenc.c:242: warning: excess elements in struct initializer speexenc.c:242: warning: (near initialization for `long_options[19]') speexenc.c:243: warning: excess elements in struct initializer speexenc.c:243: warning: (near initialization for `long_options[20]') speexenc.c:243: warning: excess elements in struct initializer speexenc.c:243: warning: (near initialization for `long_options[20]') speexenc.c:243: warning: excess elements in struct initializer speexenc.c:243: warning: (near initialization for `long_options[20]') speexenc.c:243: warning: excess elements in struct initializer speexenc.c:243: warning: (near initialization for `long_options[20]') speexenc.c:244: warning: excess elements in struct initializer speexenc.c:244: warning: (near initialization for `long_options[21]') speexenc.c:244: warning: excess elements in struct initializer speexenc.c:244: warning: (near initialization for `long_options[21]') speexenc.c:244: warning: excess elements in struct initializer speexenc.c:244: warning: (near initialization for `long_options[21]') speexenc.c:244: warning: excess elements in struct initializer speexenc.c:244: warning: (near initialization for `long_options[21]') speexenc.c:245: warning: excess elements in struct initializer speexenc.c:245: warning: (near initialization for `long_options[22]') speexenc.c:245: warning: excess elements in struct initializer speexenc.c:245: warning: (near initialization for `long_options[22]') speexenc.c:245: warning: excess elements in struct initializer speexenc.c:245: warning: (near initialization for `long_options[22]') speexenc.c:245: warning: excess elements in struct initializer speexenc.c:245: warning: (near initialization for `long_options[22]') speexenc.c:246: warning: excess elements in struct initializer speexenc.c:246: warning: (near initialization for `long_options[23]') speexenc.c:246: warning: excess elements in struct initializer speexenc.c:246: warning: (near initialization for `long_options[23]') speexenc.c:246: warning: excess elements in struct initializer speexenc.c:246: warning: (near initialization for `long_options[23]') speexenc.c:246: warning: excess elements in struct initializer speexenc.c:246: warning: (near initialization for `long_options[23]') speexenc.c:247: warning: excess elements in struct initializer speexenc.c:247: warning: (near initialization for `long_options[24]') speexenc.c:247: warning: excess elements in struct initializer speexenc.c:247: warning: (near initialization for `long_options[24]') speexenc.c:247: warning: excess elements in struct initializer speexenc.c:247: warning: (near initialization for `long_options[24]') speexenc.c:247: warning: excess elements in struct initializer speexenc.c:247: warning: (near initialization for `long_options[24]') speexenc.c:221: error: array size missing in 'long_options' speexenc.c:221: error: storage size of 'long_options' isn't known make[1]: *** [speexenc.o] Error 1 make[1]: Leaving directory `/smb/vlc/speex-1.0.5/src' make: *** [all-recursive] Error 1 E4500:[root]:/smb/vlc/speex-1.0.5 9 >
Monty
2005-Nov-18 19:10 UTC
[Speex-dev] how can i compile speex on Solaris 9 with gcc 3.4.2
On Fri, Nov 18, 2005 at 09:49:28AM +0900, ?????? wrote:> ...compile error messages[...]> speexenc.c:35:20: getopt.h: No such file or directoryYour system is missing a necessary header file. The Sparcs I have here all have a typical getopt.h. Not sure why your system is missing it... but that has nothing to do with Speex (or gcc). Perhaps it's actually part of a package that's not installed? Monty
Maybe Matching Threads
- Branch 'as' - 4 commits - libswfdec/swfdec_as_interpret.c test/trace
- UTF-8 patch for Samba 2.0.7
- Reimplement order somehow
- kern/53717: 4.8-RELEASE kernel panic (page fault)
- 20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c