Thread: Please help me!
View Single Post
  #1 (permalink)  
Old 10-09-2004
hzx hzx is offline
Registered User
 
 
Join Date: Aug 2004
Location: Wuhan, China
Posts: 4
Question Please help me!

In Redhat 9.0, I have installed and compiled ICE-1.5.1 successfully. All demos worked fine! Last days, I tried to design a simple test program. At the basis of "hello, world!" code, I inserted a single line:
#include <Ice/Ice.h>
When I compiled this program, it gave the following output:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/Ice-1.5.1/include/ -Wall -g -c -o main.o `test -f 'main.cc' || echo './'`main.cc
In file included from /opt/Ice-1.5.1/include/IceUtil/Exception.h:13,
from /opt/Ice-1.5.1/include/IceUtil/Handle.h:13,
from /opt/Ice-1.5.1/include/Ice/Handle.h:13,
from /opt/Ice-1.5.1/include/Ice/LocalObjectF.h:13,
from /opt/Ice-1.5.1/include/Ice/CommunicatorF.h:16,
from /opt/Ice-1.5.1/include/Ice/Initialize.h:13,
from /opt/Ice-1.5.1/include/Ice/Ice.h:13,
from main.cc:14:
/opt/Ice-1.5.1/include/IceUtil/Config.h:196: `INT64_MIN' was not declared in
this scope
/opt/Ice-1.5.1/include/IceUtil/Config.h:197: `INT64_MAX' was not declared in
this scope
make: *** [main.o] Error 1

What's wrong with me?
__________________
Huang
Reply With Quote