The one above seems to be fixed in rev306. But here is another one:
bscript/../clib/rstack.h: In member function ‘virtual void RDeque<T>::destroy(void*)’:
bscript/../clib/rstack.h:145: error: there are no arguments to ‘tm_isalloced’ that depend on a template parameter, so a declaration of ‘tm_isalloced’ must be available
bscript/../clib/rstack.h:145: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make: *** [bscript/parser.o] Error 1
Ubuntu 10.10 and -fpermissive flag didn't help. Maybe someone with more knowledge can write quick how-to build sources for linux?
Ok. So i have removed -Wall -Werr flags, added flag -DNDEBUG but still compilation fails.
cc -x c++ -gstabs+ -DINC_PASSERT=1 -DTIXML_USE_STL -DNDEBUG -I. -c -I. -o clib/MD5.o clib/MD5.cpp
clib/MD5.cpp: In function ‘bool MD5_Encrypt(const std::string&, std::string&)’:
clib/MD5.cpp:112: error: aggregate ‘md5_ctx ctx’ has incomplete type and cannot be defined
clib/MD5.cpp:115: error: ‘__md5_init_ctx’ was not declared in this scope
clib/MD5.cpp:116: error: ‘__md5_process_bytes’ was not declared in this scope
clib/MD5.cpp:117: error: ‘__md5_finish_ctx’ was not declared in this scope
make: *** [clib/MD5.o] Error 1
you need HAVE_OPENSSL definied if you have openssl installed or define the libary path of openssl
and better check one of the mk-* files in svn root for more stuff, they are old and outdated, but i think the most stuff is correct
/home/rl/polsvn/polserver/trunk/pol-core/pol/schedule.h:(.text._Z16TRACEBUF_ADDELEMPKcj[TRACEBUF_ADDELEM(char const*, unsigned int)]+0x2f): undefined reference to `tracebuffer_insertpoint'
pol/schedule.o: In function `add_task(ScheduledTask*)':
/home/rl/polsvn/polserver/trunk/pol-core/pol/schedule.cpp:47: undefined reference to `tracebuffer_insertpoint'
collect2: ld returned 1 exit status