debian compile error advice
I tried the mailing list but it didn't appear my messages were getting through.
Whilst compiling libecap-0.0.2 on a 2.6.23-1 Debian host I made the following observations/
To avoid the warning about failing to find iostream.h, I supplied the configure script with --enable-
Running make returns the following output:
Making all in src
make[1]: Entering directory `/home/
Making all in libecap
make[2]: Entering directory `/home/
Making all in common
make[3]: Entering directory `/home/
make all-am
make[4]: Entering directory `/home/
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
then mv -f ".deps/area.Tpo" ".deps/area.Plo"; else rm -f ".deps/area.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
then mv -f ".deps/
g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
then mv -f ".deps/message.Tpo" ".deps/
g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
then mv -f ".deps/name.Tpo" ".deps/name.Plo"; else rm -f ".deps/name.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I../../../src -I/usr/
name.cc: In constructor 'libecap:
name.cc:7: error: 'INT_MIN' was not declared in this scope
name.cc: In constructor 'libecap:
name.cc:11: error: 'INT_MIN' was not declared in this scope
name.cc: In constructor 'libecap:
name.cc:15: error: 'INT_MIN' was not declared in this scope
name.cc: In member function 'bool libecap:
name.cc:23: error: 'INT_MIN' was not declared in this scope
name.cc: In member function 'void libecap:
name.cc:27: error: 'INT_MIN' was not declared in this scope
make[4]: *** [name.lo] Error 1
make[4]: Leaving directory `/home/
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [all-recursive] Error 1
I got it to compile by adding #include <climits.h> to name.cc. Again, I'm really not sure if this is going to impact other things, but at least it compiled. yay!
Looking forward to using libecap.
Hope it helps
Question information
- Language:
- English Edit question
- Status:
- Invalid
- For:
- eCAP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alex Rousskov
- Solved:
- Last query:
- Last reply: