i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wall -MT formatnum.o -MD -MP -MF .deps/formatnum.Tpo -c -o formatnum.o formatnum.cpp mv -f .deps/filetype.Tpo .deps/filetype.Po i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wall -MT utf8.o -MD -MP -MF .deps/utf8.Tpo -c -o utf8.o utf8.cpp formatnum.cpp: In function ‘std::ostream& operator<<(std::ostream&, const FormattedNumber&)’: formatnum.cpp:67: error: ‘memset’ was not declared in this scope formatnum.cpp:92: error: ‘strstr’ was not declared in this scope formatnum.cpp:94: error: ‘strlen’ was not declared in this scope formatnum.cpp:101: error: ‘memcpy’ was not declared in this scope formatnum.cpp:112: error: ‘CHAR_MAX’ was not declared in this scope make[3]: *** [formatnum.o] Error 1 make[3]: *** Waiting for unfinished jobs.... utf8.cpp: In function ‘unsigned int ReplaceGreekLetterAbbr(char*, unsigned int, const char*, unsigned int)’: utf8.cpp:843: error: ‘strlen’ was not declared in this scope utf8.cpp:887: error: ‘strncpy’ was not declared in this scope make[3]: *** [utf8.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.5.0/work/celestia-1.5.0/src/celutil' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.5.0/work/celestia-1.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.5.0/work/celestia-1.5.0' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce:
Created attachment 149765 [details, diff] celestia-1.5.0-gcc43.patch Fixes the problem. Snatched a bit from fedora, added in a bit to get it to build with USE=theora.
Updated in cvs. Thanks for the patch!