Gentlemen,

I am trying to rebuild Metakit with Cygwin gcc 3.2 in order to get FGFS to
link properly.  I get the following error (with both mk4 version 2.4.3 and
2.4.8):

g++ -c -O2 -DWIN32 -DNDEBUG -I../unix/../include -I../unix/../src -I.
../unix/..
/src/string.cpp  -DDLL_EXPORT -DPIC
../src/string.cpp: In function `int strcasecmp(const char*, const char*)':
../src/string.cpp:39: `int strcasecmp(const char*, const char*)' was
declared
   `extern' and later `static'
/usr/include/string.h:60: previous declaration of `int strcasecmp(const
char*,
   const char*)'
make: *** [string.o] Error 1

I've found some discussions about this on the lists but no solutions.  Has
anyone out there successfully rebuilt mk4 with the latest Cygwin/gcc 3.2,
and, if so, how?

Thanks,

Paul

Paul R. Deppe
Veridian Engineering (formerly Calspan)
Flight & Aerospace Research Group
150 North Airport Drive
Buffalo, NY  14225
(716) 631-6898
(716) 631-6990 FAX
[EMAIL PROTECTED]


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to