Posted on 2002-03-29
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 51

Expert Comment

ID: 6906618
duplicate question, please delete it
LVL 51

Accepted Solution

ahoffmann earned 200 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month12 days, 3 hours left to enroll

752 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