View Single Post
Old 16 May 2017, 15:55   #282
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,188
When trying to cross compile LibOgg on a 64-bit Linux box, I ran into this in the configure script:
Quote:
checking for inttypes.h... (cached) no
checking for stdint.h... (cached) no
checking for sys/types.h... (cached) no
checking for an ANSI C-conforming const... yes
checking size of int16_t... 0
checking size of uint16_t... 0
checking size of u_int16_t... 0
checking size of int32_t... 0
checking size of uint32_t... 0
checking size of u_int32_t... 0
checking size of int64_t... 0
checking size of short... 0
checking size of int... 0
checking size of long... 0
checking size of long long... 0
configure: error: No 16 bit type found on this platform!
My configure line was as follows:
Quote:
../submodules/libogg-1.3.2/configure --host=x86_64-unknown-linux --build=m68k-amigaos --target=m68k-amigaos --prefix=/home/samuraicrow/amigaos-cross-toolchain/m68k-amigaos CC=/home/samuraicrow/amigaos-cross-toolchain/m68k-amigaos/bin/m68k-amigaos-gcc CFLAGS="-noixemul -m68020 -mtune=68020-40 -msoft-float -mpcrel" CPP=/home/samuraicrow/amigaos-cross-toolchain/m68k-amigaos/bin/m68k-amigaos-cpp LDFLAGS="-L/home/samuraicrow/amigaos-cross-toolchain/m68k-amigaos/lib/gcc/m68k-amigaos/6.3.1b"
It looks like a stdint.h is missing. Where do I get it from?
Samurai_Crow is offline  
 
Page generated in 0.10709 seconds with 11 queries