|
|
Compile Error
|
|
|
|
Fresh-Faced Recruit
Join Date: Feb 2007
Status:
Offline
|
|
Code:
Making all in zthread
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../../include -I./../../include/zthread -DENABLE_RA -DENABLE_CLI -g -O2 -MT AtomicCount.lo -MD -MP -MF .deps/AtomicCount.Tpo -c -o AtomicCount.lo AtomicCount.cxx
g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../../include -I./../../include/zthread -DENABLE_RA -DENABLE_CLI -g -O2 -MT AtomicCount.lo -MD -MP -MF .deps/AtomicCount.Tpo -c AtomicCount.cxx -fno-common -DPIC -o .libs/AtomicCount.o
/usr/include/c++/4.0.0/ctime:68: error: '::tm' has not been declared
/usr/include/c++/4.0.0/ctime:70: error: '::clock' has not been declared
/usr/include/c++/4.0.0/ctime:71: error: '::difftime' has not been declared
/usr/include/c++/4.0.0/ctime:72: error: '::mktime' has not been declared
/usr/include/c++/4.0.0/ctime:73: error: '::time' has not been declared
/usr/include/c++/4.0.0/ctime:74: error: '::asctime' has not been declared
/usr/include/c++/4.0.0/ctime:75: error: '::ctime' has not been declared
/usr/include/c++/4.0.0/ctime:76: error: '::gmtime' has not been declared
/usr/include/c++/4.0.0/ctime:77: error: '::localtime' has not been declared
/usr/include/c++/4.0.0/ctime:78: error: '::strftime' has not been declared
make[4]: *** [AtomicCount.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
im trying to compile a Linux program, does anyone know if it is possible to fix this ?
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Sep 2003
Location: San Diego
Status:
Offline
|
|
Just a random guess...is there a file called "time.h" (case insensitive) anyplace in the code tree? The reason is that the (default) Mac filesystem (HFS+) is case-preserving, but not case-sensitive. (You can test that by going to the command line and typing %cat sOmETextFIlE.txt (with a funky case)
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Feb 2007
Status:
Offline
|
|
Originally Posted by besson3c
What is the app?
svn co https://mangos.svn.sourceforge.net/svnroot/mangos/trunk ManGOS_SRC
its a MMORPG Emulator Framework (for games like WoW)
i found the error in dep/src/zthread/Makefile
AM_CPPFLAGS = -I$(srcdir)/../../include -I$(srcdir)/../../include/zthread
replaced with
AM_CPPFLAGS = -iquote$(srcdir)/../../include -iquote$(srcdir)/../../include/zthread
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|