Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » TServ fails to compile on Linux [BUG][FIXED]
BugFixedDead.gif  TServ fails to compile on Linux [BUG][FIXED] [message #2590] Tue, 18 April 2006 10:24 Go to next message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
Using theide binary 602, and uppsrc from 604.dev2, TServ fails to compile on Linux:

----- Web ( GCC32 DEBUG SHARED DEBUG_FULL BLITZ LINUX ) (1 / 4)
BLITZ: util.cpp md5.cpp html.cpp socket.cpp httpsrv.cpp httpcli.cpp auth.cpp smtp.cpp sproc.cpp
9 file(s) compiled in (0:10.11) 1123 msec/file
Web_init.icpp
1 file(s) compiled in (0:02.04) 2046 msec/file
----- plugin\bz2 ( GCC32 DEBUG SHARED DEBUG_FULL BLITZ LINUX ) (2 / 4)
bz2upp.cpp
blocksort.c
bzlib.c
compress.c
crctable.c
decompress.c
huffman.c
randtable.c
8 file(s) compiled in (0:06.30) 787 msec/file
----- Core ( GCC32 DEBUG SHARED DEBUG_FULL BLITZ LINUX ) (3 / 4)
BLITZ: Mt.cpp Thread.cpp heap.cpp heapdbg.cpp String.cpp StrUtil.cpp CharSet.cpp Path.cpp App.cpp Stream.cpp 
	BlockStream.cpp Log.cpp Debug.cpp Util.cpp mathutil.cpp Cont.cpp Callback.cpp Color.cpp Gtypes.cpp TimeDa
	te.cpp Value.cpp Convert.cpp Format.cpp t.cpp Lang.cpp parser.cpp XML.cpp Xmlize.cpp Uuid.cpp Ptr.cpp Top
	ic.cpp Win32Com.cpp Dli.cpp
33 file(s) compiled in (0:15.73) 476 msec/file
OL_Set.cpp
1 file(s) compiled in (0:00.41) 415 msec/file
----- Web/TServ ( MAIN GCC32 DEBUG SHARED DEBUG_FULL BLITZ LINUX ) (4 / 4)
tserv.cpp
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp: In constructor 
   `CommandServer::CommandConnection::CommandConnection(Socket, const char*)':
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp:130: `memicmp' undeclared (first 
   use this function)
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp:130: (Each undeclared identifier is 
   reported only once for each function it appears in.)
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp: In member function `bool 
   CommandServer::StartServer(int, const String&)':
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp:543: could not convert `self' to `
   Socket&'
/home/hojtsy/upp/uppsrc/Web/socket.h:175: in passing argument 1 of `bool 
   ClientSocket(Socket&, const char*, int, bool, dword*, int, bool)'
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp: In member function `void 
   CommandServer::StopServer(int)':
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp:558: could not convert `
   Socket::GetHostName()()' to `Socket&'
/home/hojtsy/upp/uppsrc/Web/socket.h:175: in passing argument 1 of `bool 
   ClientSocket(Socket&, const char*, int, bool, dword*, int, bool)'
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp: In member function `void 
   CommandServer::RunServer(int)':
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp:574: could not convert `port' to `
   Socket&'
/home/hojtsy/upp/uppsrc/Web/socket.h:174: in passing argument 1 of `bool 
   ServerSocket(Socket&, int, bool, int, bool)'
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp:601: no matching function for call 
   to `Socket::Accept(dword*, bool, int&)'
/home/hojtsy/upp/uppsrc/Web/socket.h:106: candidates are: bool 
   Socket::Accept(Socket&, dword* = 0, bool = true, int = 
   DEFAULT_CONNECT_TIMEOUT)
/home/hojtsy/upp/uppsrc/Core/String.h: In function `bool IsNull(const T&) [with 
   T = Socket]':
/home/hojtsy/upp/uppsrc/Web/TServ/tserv.cpp:544:   instantiated from here
/home/hojtsy/upp/uppsrc/Core/String.h:345: no matching function for call to `
   Socket::IsNullInstance() const'
1 file(s) compiled in (0:02.06) 2067 msec/file

There were errors. (0:37.05)

[Updated on: Wed, 03 May 2006 20:03] by Moderator

Report message to a moderator

Re: TServ fails to compile on Linux [message #2682 is a reply to message #2590] Thu, 20 April 2006 23:10 Go to previous messageGo to next message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
Most of these errors were also present on windows. I fixed them. New tserv.cpp is attached.
  • Attachment: tserv.cpp
    (Size: 18.15KB, Downloaded 1707 times)
Re: TServ fails to compile on Linux [message #2687 is a reply to message #2682] Fri, 21 April 2006 00:52 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
hojtsy wrote on Thu, 20 April 2006 17:10

Most of these errors were also present on windows. I fixed them. New tserv.cpp is attached.




Thank you!

Mirek
Previous Topic: Web/TServ [BUG][FIXED]
Next Topic: Example of Multi-Threading
Goto Forum:
  


Current Time: Sat Apr 20 00:45:18 CEST 2024

Total time taken to generate the page: 0.03964 seconds