[XviD-devel] Compiling XVid on Amiga

tu_kd jj201 at telia.com
Sun Mar 9 16:18:53 CET 2003


Hi, I'm running a GCC 2.95.3 environment on my Amiga and I'm have trouble compiling this
stuff so I guess there's alot of work making it more portable.

I removed the include to inttypes.h because I don't have it and added the defines for MSCV
instead.

Here is a configure output and the make error.

# CFLAGS="-O3 -fomit-frame-pointer -m68020-60 -m68881" LDFLAGS="-s -lm" ./configure --prefix=/gg --host=amiga
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... m68k-unknown-amigaos
checking host system type... m68k-unknown-none
checking target system type... m68k-unknown-none
checking whether to use default CFLAGS... no
checking for amiga-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking for amiga-ranlib... no
checking for ranlib... ranlib
checking for whether to use assembly code... yes
checking for architecture type... m68k
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... yes
checking for int *... yes
checking size of int *... 4
checking whether byte ordering is bigendian... yes
checking for build extensions... Unknown OS - Using .so .a .o
checking for platform specific LDFLAGS/CFLAGS... Unknown OS - -shared -lc -lm
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
configure: creating ./config.status
config.status: creating platform.inc
config.status: creating libxvidcore.def

# make
Compiling ../../src/xvid.c ... In file included from ../../src/xvid.c:58:
../../src/decoder.h:107: parse error before `__int64'
../../src/decoder.h:107: warning: no semicolon at end of struct or union
../../src/decoder.h:108: warning: data definition has no type or storage class
../../src/decoder.h:109: parse error before `last_time_base'
../../src/decoder.h:109: warning: data definition has no type or storage class
../../src/decoder.h:110: parse error before `last_non_b_time'
../../src/decoder.h:110: warning: data definition has no type or storage class
../../src/decoder.h:116: parse error before `}'
../../src/decoder.h:117: warning: data definition has no type or storage class
../../src/decoder.h:126: parse error before `*'
../../src/decoder.h:127: parse error before `*'
In file included from ../../src/encoder.h:64,
                 from ../../src/xvid.c:59:
../../src/utils/ratecontrol.h:64: parse error before `__int64'
../../src/utils/ratecontrol.h:64: warning: no semicolon at end of struct or union
../../src/utils/ratecontrol.h:66: parse error before `}'
../../src/utils/ratecontrol.h:67: warning: data definition has no type or storage class
../../src/utils/ratecontrol.h:72: parse error before `__int64'
../../src/utils/ratecontrol.h:72: warning: no semicolon at end of struct or union
../../src/utils/ratecontrol.h:73: warning: data definition has no type or storage class
../../src/utils/ratecontrol.h:78: parse error before `last_change'
../../src/utils/ratecontrol.h:78: warning: data definition has no type or storage class
../../src/utils/ratecontrol.h:79: parse error before `quant_sum'
../../src/utils/ratecontrol.h:79: warning: data definition has no type or storage class
../../src/utils/ratecontrol.h:87: parse error before `}'
../../src/utils/ratecontrol.h:88: warning: data definition has no type or storage class
../../src/utils/ratecontrol.h:90: parse error before `*'
../../src/utils/ratecontrol.h:99: parse error before `*'
../../src/utils/ratecontrol.h:102: parse error before `*'
In file included from ../../src/xvid.c:59:
../../src/encoder.h:184: parse error before `RateControl'
../../src/encoder.h:184: warning: no semicolon at end of struct or union
../../src/encoder.h:186: warning: data definition has no type or storage class
../../src/encoder.h:228: parse error before `*'
../../src/encoder.h:229: parse error before `*'
../../src/encoder.h:233: parse error before `*'
In file included from ../../src/bitstream/mbcoding.h:62,
                 from ../../src/xvid.c:72:
../../src/bitstream/bitstream.h:139: parse error before `DECODER'
../../src/xvid.c: In function `xvid_decore':
../../src/xvid.c:457: parse error before `)'
../../src/xvid.c:463: parse error before `)'
../../src/xvid.c: In function `xvid_encore':
../../src/xvid.c:489: parse error before `)'
../../src/xvid.c:496: parse error before `)'
make: *** [../../src/xvid.o] Error 1
#




JJ


More information about the XviD-devel mailing list