avifile won't compile

sjerra sjerra at cinar.co.uk
Sat Apr 23 03:21:12 PDT 2005


Hi,

I run into troubles when compiling avifile
I'm compiling on a lfs-6.1 with gcc-3.4.3. Did some googling but only 
came up with: For some reason my system doesn't recognise uint16/32 and 
probably faulty hardware. I'm sure the latter one has nothing to do with 
it. I don't know how I can test if the first possible reason. I've 
included <sys/types.h> (that contains the typedef of both) but it didn't 
  help.
Any Ideas?
This is the error message:

/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../../include   -I/opt/multimedia/include -Wall -Wno-unused 
-I../../include  -O2 -mcpu=i686 -march=i686 -ffast-math 
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE -pipe -c fcc_type.c
  gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/multimedia/include 
-Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math 
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE -pipe -c fcc_type.c  -DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from fcc_type.c:1:
../../include/utils.h:41: error: parse error before '{' token
../../include/utils.h:50: error: parse error before '{' token
../../include/utils.h:56: error: parse error before "uint16_t"
../../include/utils.h:61: error: parse error before '{' token
../../include/utils.h:70: error: parse error before '{' token
../../include/utils.h:78: error: parse error before "uint32_t"
../../include/utils.h:83: error: parse error before '{' token
../../include/utils.h:92: error: parse error before '{' token
../../include/utils.h:101: error: parse error before '{' token
../../include/utils.h:103: warning: type defaults to `int' in 
declaration of `b'
../../include/utils.h:103: error: `v' undeclared here (not in a function)
../../include/utils.h:103: warning: data definition has no type or 
storage class
../../include/utils.h:104: warning: type defaults to `int' in 
declaration of `b'
../../include/utils.h:104: error: conflicting types for 'b'
../../include/utils.h:103: error: previous definition of 'b' was here
../../include/utils.h:104: warning: data definition has no type or 
storage class
../../include/utils.h:105: error: parse error before "return"
../../include/utils.h:108: error: parse error before '{' token
../../include/utils.h:117: error: parse error before '{' token
../../include/utils.h:119: warning: type defaults to `int' in 
declaration of `b'
../../include/utils.h:119: error: conflicting types for 'b'
../../include/utils.h:104: error: previous definition of 'b' was here
../../include/utils.h:119: error: conflicting types for 'b'
../../include/utils.h:104: error: previous definition of 'b' was here
../../include/utils.h:119: warning: data definition has no type or 
storage class
../../include/utils.h:120: warning: type defaults to `int' in 
declaration of `b'
../../include/utils.h:120: error: conflicting types for 'b'
../../include/utils.h:119: error: previous definition of 'b' was here
../../include/utils.h:120: error: redefinition of 'b'
../../include/utils.h:104: error: previous definition of 'b' was here
../../include/utils.h:120: warning: data definition has no type or 
storage class
../../include/utils.h:121: warning: type defaults to `int' in 
declaration of `b'
../../include/utils.h:121: error: conflicting types for 'b'
../../include/utils.h:120: error: previous definition of 'b' was here
../../include/utils.h:121: error: conflicting types for 'b'
../../include/utils.h:104: error: previous definition of 'b' was here
../../include/utils.h:121: warning: data definition has no type or 
storage class
../../include/utils.h:122: warning: type defaults to `int' in 
declaration of `b'
../../include/utils.h:122: error: conflicting types for 'b'
../../include/utils.h:121: error: previous definition of 'b' was here
../../include/utils.h:122: error: conflicting types for 'b'
../../include/utils.h:104: error: previous definition of 'b' was here
../../include/utils.h:122: warning: data definition has no type or 
storage class
../../include/utils.h:123: error: parse error before "return"
../../include/utils.h:126: error: parse error before '{' token
../../include/utils.h:136: error: parse error before '{' token
../../include/utils.h:140: error: parse error before '{' token
../../include/utils.h:144: error: parse error before '{' token
fcc_type.c:8: error: parse error before '{' token
fcc_type.c:110: error: parse error before '{' token
make[2]: *** [fcc_type.lo] Error 1
make[2]: Leaving directory 
`/home/sjerra/install/avifile-0.7-0.7.41/lib/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sjerra/install/avifile-0.7-0.7.41/lib'
make: *** [all-recursive] Error 1



More information about the blfs-support mailing list