Posted on 2002-03-29
Last Modified: 2008-02-26
Hi again..

what the heck is this INT_MAX ??
it is making me tons of errors,
i am trying to compile sendmail,  it says..
fopen.c: In function `sm_out_***`:
fopen.c:174: `INT_MAX' undeclared (first use in this function)
fopen.c:174: (Each undeclared identifier is reported only once
fopen.c:174: for each function it appears in.)
make: *** [libswp.o] Error 1
make: *** [update] Error 1
make: *** [update] Error 2

And when trying to compile PostFix

file_limit.c: In function `get_file_limit':
file_limit.c:74: `INT_MAX' undeclared (first use in this function)
file_limit.c:74: (Each undeclared identifier is reported only once
file_limit.c:74: for each function it appears in.)
make: *** [file_limit.o] Error 1
make: *** [update] Error 1
make: *** [update] Error 2

and more with other compilations ??
what am i mising ?
what is this INT_MAX ?
how to correct ?

Question by:neostudio
  • 2
LVL 51

Expert Comment

ID: 6906618
duplicate question, please delete it
LVL 51

Accepted Solution

ahoffmann earned 50 total points
ID: 6907768
oops, my first comment is obsolete now ;-)

So my comment from one of the others here again:

The error messages sound like you're missing the appropriate file /usr/include/limits.h with:
#  define INT_MAX 2147483647

Author Comment

ID: 6907984

thanks for the reminder of the duplicated thread .


Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question