Solved

INT_MAX

Posted on 2002-03-29
3
1,623 Views
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 ?

regards,
</Ruslan>
0
Comment
Question by:neostudio
[X]
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
3 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6906618
duplicate question, please delete it
0
 
LVL 51

Accepted Solution

by:
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
0
 
LVL 3

Author Comment

by:neostudio
ID: 6907984
Thanx..

BTW)
thanks for the reminder of the duplicated thread .

regards
,
</Ruslan>
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

695 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