Project

General

Profile

Actions

Bug #65

closed

Compile fails on Solaris using Forte compiler

Added by Anonymous about 19 years ago. Updated about 17 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

NOTE: this is for version 1.3.13, but the dropdown menu for 'Version' doesn't include 1.3.13

On Solaris 8 sparc, Solaris 9 sparc, Solaris 10 sparc, Solaris 9 x86, Solaris 10 x86, using
various versions of the Forte compiler -

There is no header file which provides "NAME_MAX". Each 'make' fails with:
"response.c", line 671: undefined symbol: NAME_MAX

To quote the Sun limits.h file:

/*
  • POSIX 1003.1a, section 2.9.5, table 2-5 contains NAME_MAX and the
  • related text states: *
  • A definition of one of the values from Table 2-5 shall be omitted from the
  • <limits.h> on specific implementations where the corresponding value is
  • equal to or greater than the stated minimum, but where the value can vary
  • depending on the file to which it is applied. The actual value supported for
  • a specific pathname shall be provided by the pathconf() (5.7.1) function. *
  • This is clear that any machine supporting multiple file system types
  • and/or a network can not include this define, regardless of protection
  • by the _POSIX_SOURCE and _POSIX_C_SOURCE flags. *
  • #define NAME_MAX 14
    */
Actions #1

Updated by Anonymous about 19 years ago

I'm having the same error but with Solaris 8 sparc and GCC 3.4.0

-- anonymous2

Actions #2

Updated by jan about 19 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Thanks for th eperfect report, fixed in changeset r192 and r194

Actions

Also available in: Atom