Skip to content
Prev 23287 / 63424 Next

Error compiling on HP-UX

_APP32_64BIT_OFF_T gets defined in sys/stdsyms.h:
(I've put the file at http://azug.minpet.unibas.ch/~pascal/R/stdsyms.h)

# ifdef _FILE_OFFSET_BITS
#  if _FILE_OFFSET_BITS == 64
#    define _FILE64		/* _FILE64 is obsolescent; don't use it */
#    define __64BIT_OFF_T
#    if !defined(__LP64__)
#       define _APP32_64BIT_OFF_T
#    endif 
#  else
#    if _FILE_OFFSET_BITS != 32
	#error "_FILE_OFFSET_BITS defined to invalid number!!"
#    endif
#  endif/* _FILE_OFFSET_BITS == 64 */
# endif /* _FILE_OFFSET_BITS */

Does that mean that the platform include files are broken or is this a problem 
with the way they are included in R? I fear I have no means to change 
the /usr/include/... files on that machine.

Pascal