Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compile error, who can help me?

6 views
Skip to first unread message

Gorden

unread,
Sep 9, 2009, 12:22:39 AM9/9/09
to
hi all,

I just download the libhttpd from the web site and I can compile
the library normally, but when i compile my own program the compiler
tell the the error below:

g++ -g -O3 -Wall -Wextra -DDEBUG -DSERVER_NET -pipe -static -
DLUA_USE_READLINE -I../include/ -I../../3rd/libconfig-0.8 -I../../3rd/
lua/lua-5.1.3_coco-1.1.4/src -I/usr/local/include/ -I../../3rd/
libhttpd-1.4/src// -o httpserver.o -c httpserver.cpp

httpserver.cpp: In function `void InitialHttpd(lua_State*, const
char*, int)':
../../3rd/libhttpd-1.4/src//httpd.h:209: error: too many arguments to
function `httpd* httpdCreate()'
httpserver.cpp:10: error: at this point in file


Help!, I dont know what happen to it, can anyone give the truth?

gorden
from china

0 new messages