Bug#734153: libhdf4-alt-dev doesn't work on mips*
Alastair McKinstry
mckinstry at debian.org
Sat Jan 4 11:26:48 UTC 2014
Package: libhdf4
Severity: normal
Building ncl with libhdf4-alt-dev, it FTBFS on mips and mipsel due to:
cc -ansi -fPIC -g -O2 -Wformat -Werror=format-security -I../../../.././include -I/usr/include/freetype2 -I/usr/include/gdal -I/usr/include/hdf-eos5 -I/usr/include/hdf -DBuildRasterHDF -DLINUX -DBuildRasterHPPCL -DBuildRasterNrif -DBuildRasterSun -DBuildRasterXWD -DBuildRasterAVS -DBuildRasterSGI -DBuildRasterAbekas -DBuildRasterBinary -DBuildRasterYUV -DNGTMPDIR='"tmp"' -Dmips -DIBM -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -D_FORTIFY_SOURCE=2 -c -o hdf.o hdf.c
In file included from /usr/include/hdf/hdf.h:20:0,
from hdf.c:54:
/usr/include/hdf/hdfi.h:1886:1: error: unknown type name 'No'
No machine type has been defined. Your Makefile needs to have someing like
^
/usr/include/hdf/hdfi.h:1886:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'type'
No machine type has been defined. Your Makefile needs to have someing like
^
/usr/include/hdf/hdfi.h:1886:12: error: unknown type name 'type'
In file included from hdf.c:54:0:
/usr/include/hdf/hdf.h:134:1: error: unknown type name 'int32'
typedef int32 HFILEID;
^
/usr/include/hdf/hdf.h:136:15: error: expected declaration specifiers or '...' before '*' token
typedef intn (*hdf_termfunc_t)(void); /* termination function typedef */
^
In file included from /usr/include/hdf/hdf.h:143:0,
from hdf.c:54:
/usr/include/hdf/hbitio.h:35:7: error: unknown type name 'int32'
int32 acc_id; /* Access ID for H layer I/O routines */
^
/usr/include/hdf/hbitio.h:36:7: error: unknown type name 'int32'
int32 bit_id; /* Bitfile ID for internal use */
^
/usr/include/hdf/hbitio.h:39:7: error: unknown type name 'int32'
int32 block_offset, /* offset of the current buffered block in the dataset */
^
/usr/include/hdf/hbitio.h:43:7: error: unknown type name 'intn'
intn count, /* bit count to next boundary */
^
/usr/include/hdf/hbitio.h:45:7: error: unknown type name 'uint8'
uint8 access; /* What the access on this file is ('r', 'w', etc..) */
^
/usr/include/hdf/hbitio.h:46:7: error: unknown type name 'uint8'
uint8 mode; /* how are we interacting with the data now ('r', 'w', etc) */
^
/usr/include/hdf/hbitio.h:47:7: error: unknown type name 'uint8'
uint8 bits; /* extra bit buffer, 0..BITNUM-1 bits */
^
/usr/include/hdf/hbitio.h:48:7: error: unknown type name 'uint8'
uint8 *bytep; /* current position in buffer */
^
/usr/include/hdf/hbitio.h:49:7: error: unknown type name 'uint8'
uint8 *bytez; /* end of buffer to compare */
^
/usr/include/hdf/hbitio.h:50:7: error: unknown type name 'uint8'
uint8 *bytea; /* byte buffer */
^
/usr/include/hdf/hbitio.h:57:1: error: unknown type name 'uint8'
const uint8 maskc[9]
^
/usr/include/hdf/hbitio.h:67:1: error: unknown type name 'uint32'
const uint32 maskl[33]
^
In file included from /usr/include/hdf/hdf.h:144:0,
from hdf.c:54:
/usr/include/hdf/hcomp.h:62:1: error: unknown type name 'uint16'
extern uint16 compress_map[];
^
/usr/include/hdf/hcomp.h:86:13: error: unknown type name 'int32'
int32 nt; /* number type */
^
/usr/include/hdf/hcomp.h:87:13: error: unknown type name 'intn'
intn ndim; /* number of dimensions */
^
/usr/include/hdf/hcomp.h:88:13: error: unknown type name 'int32'
int32 *dims; /* array of dimensions */
^
/usr/include/hdf/hcomp.h:99:13: error: unknown type name 'intn'
intn quality; /* Quality factor for JPEG compression, should be from */
^
/usr/include/hdf/hcomp.h:101:13: error: unknown type name 'intn'
intn force_baseline; /* If force_baseline is set to TRUE then */
^
/usr/include/hdf/hcomp.h:111:13: error: unknown type name 'int32'
int32 nt; /* number type of the data to encode */
^
/usr/include/hdf/hcomp.h:112:13: error: unknown type name 'intn'
intn sign_ext; /* whether to sign extend or not */
^
/usr/include/hdf/hcomp.h:113:13: error: unknown type name 'intn'
intn fill_one; /* whether to fill with 1's or 0's */
^
/usr/include/hdf/hcomp.h:114:13: error: unknown type name 'intn'
intn start_bit; /* offset of the start bit in the data */
^
/usr/include/hdf/hcomp.h:115:13: error: unknown type name 'intn'
intn bit_len; /* number of bits to store */
^
/usr/include/hdf/hcomp.h:121:13: error: unknown type name 'intn'
intn skp_size; /* size of the individual elements when skip
Some definitions need to be added to hdfi.h for Debian MIPS machines.
-- System Information:
Debian Release: 7.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: mips*
Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
More information about the Pkg-grass-devel
mailing list