Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on CentOS 5.8 x86_64 #1

Open
linzhe01 opened this issue Jun 5, 2013 · 1 comment
Open

Build error on CentOS 5.8 x86_64 #1

linzhe01 opened this issue Jun 5, 2013 · 1 comment

Comments

@linzhe01
Copy link

linzhe01 commented Jun 5, 2013

cc -O3 -Wall -c util.c -o util.o
util.c: In function ‘string2ll’:
util.c:364: error: ‘ULLONG_MAX’ undeclared (first use in this function)
util.c:364: error: (Each undeclared identifier is reported only once
util.c:364: error: for each function it appears in.)
util.c:380: error: ‘LLONG_MIN’ undeclared (first use in this function)
util.c:384: error: ‘LLONG_MAX’ undeclared (first use in this function)

@yuyuyu101
Copy link
Owner

Hi, I build successfully on CentOS 6.2 x86_64
ULLONG_MAX or LLONG_MIN(LLONG_MAX) should be defined in <limits.h>.
And I don't think these definition absent in CentOS.
I suggest you can check your include directory and verify <limits.h>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants