Mail Archives: cygwin/2004/04/12/04:11:20
Hello,
I recently reinstalled my cygwin "installation". I was trying to compile some
project I'm working on and that used to compile fine.
But now as I go through the process of "aclocal; autoconf; autoheader; automake;
./configure; make", it compiles the whole project with -mno-cygwin whereas
before the reinstall it didn't.
How can I make my project compile without -mno-cygwin ? Is it an autotool option
or something ?
Anyway, now that I tried to compile with -mno-cygwin could somebody help me with
the errors I have now please (see stderr below) ?
I fixed the first "strtold undeclared" problem not very cleanly by changing
/usr/include/stdlib.h like that so that it would include the right stdlib.h file
for a mingw32 style compile :
#ifdef __MINGW32__
#include <mingw/stdlib.h>
#else
/usr/include/stdlib.h's old content
#endif
I still have all the other errors from
"/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:44: error:
`_UPPER'..." to the end.
Thanks, regards,
Stephane
------------------- BEGINNING OF STDERR --------------------------------------
In file included from /usr/include/c++/3.3.1/bits/stl_algobase.h:67,
from /usr/include/c++/3.3.1/list:67,
from order.h:35,
from comm_ai.h:4,
from comm_ai.cpp:1:
/usr/include/c++/3.3.1/cstdlib:177: error: `strtold' not declared
/usr/include/c++/3.3.1/cstdlib:196: error: `strtold' not declared
In file included from /usr/include/c++/3.3.1/bits/locale_facets.h:166,
from /usr/include/c++/3.3.1/bits/basic_ios.h:44,
from /usr/include/c++/3.3.1/ios:51,
from /usr/include/c++/3.3.1/ostream:45,
from /usr/include/c++/3.3.1/iostream:45,
from ../../../src/xml_support.h:12,
from ../../../src/faction_generic.h:5,
from comm_ai.cpp:2:
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:44: error: `_UPPER'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:45: error: `_LOWER'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:46: error: `_ALPHA'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:47: error: `_DIGIT'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:48: error: `_HEX' was
not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:49: error: `_SPACE'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_BLANK'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_PUNCT'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_ALPHA'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_DIGIT'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:51: error: `_PUNCT'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:51: error: `_ALPHA'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:51: error: `_DIGIT'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:52: error: `_CONTROL'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:53: error: `_PUNCT'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:54: error: `_ALPHA'
was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:54: error: `_DIGIT'
was not declared in this scope
In file included from /usr/include/c++/3.3.1/bits/locale_facets.tcc:41,
from /usr/include/c++/3.3.1/locale:47,
from /usr/include/c++/3.3.1/bits/ostream.tcc:37,
from /usr/include/c++/3.3.1/ostream:535,
from /usr/include/c++/3.3.1/iostream:45,
from ../../../src/xml_support.h:12,
from ../../../src/faction_generic.h:5,
from comm_ai.cpp:2:
/usr/include/c++/3.3.1/cmath: In function `long double std::acos(long double)':
/usr/include/c++/3.3.1/cmath:194: error: `::acosl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::asin(long double)':
/usr/include/c++/3.3.1/cmath:212: error: `::asinl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::atan(long double)':
/usr/include/c++/3.3.1/cmath:230: error: `::atanl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::atan2(long double,
long double)':
/usr/include/c++/3.3.1/cmath:249: error: `::atan2l' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::ceil(long double)':
/usr/include/c++/3.3.1/cmath:268: error: `::ceill' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::cosh(long double)':
/usr/include/c++/3.3.1/cmath:296: error: `::coshl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::exp(long double)':
/usr/include/c++/3.3.1/cmath:314: error: `::expl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::floor(long double)
':
/usr/include/c++/3.3.1/cmath:342: error: `::floorl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::fmod(long double,
long double)':
/usr/include/c++/3.3.1/cmath:361: error: `::fmodl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::frexp(long double,
int*)':
/usr/include/c++/3.3.1/cmath:380: error: `::frexpl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::ldexp(long double,
int)':
/usr/include/c++/3.3.1/cmath:400: error: `::ldexpl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::log(long double)':
/usr/include/c++/3.3.1/cmath:419: error: `::logl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::log10(long double)
':
/usr/include/c++/3.3.1/cmath:437: error: `::log10l' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::modf(long double,
long double*)':
/usr/include/c++/3.3.1/cmath:461: error: `::modfl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::pow(long double,
long double)':
/usr/include/c++/3.3.1/cmath:495: error: `::powl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::sinh(long double)':
/usr/include/c++/3.3.1/cmath:536: error: `::sinhl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::tan(long double)':
/usr/include/c++/3.3.1/cmath:564: error: `::tanl' undeclared (first use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::tanh(long double)':
/usr/include/c++/3.3.1/cmath:582: error: `::tanhl' undeclared (first use here)
In file included from /usr/include/w32api/windows.h:98,
from ../../../src/vegastrike.h:57,
from ../../../src/cmd/unit_generic.h:33,
from communication.h:3,
from comm_ai.cpp:3:
/usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and associated
macros have been defined in sys/types. This may cause runtime problems with
W32 sockets"
------------------- END OF STDERR --------------------------------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -