[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] libevent-2.0.18-stable.tar.gz can not build on win32



My build environment: win xp of sp3 + visual c + + 2005 command line:


C:\Documents and Settings\qs\My Documents\Downloads\Compressed\libevent-2.0.18-s
table>nmake /f Makefile.nmake

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl /IWIN32-Code /Iinclude /Icompat /DWIN32 /DHAVE_CONFIG_H /I. /Ox /W3 /
wd4996 /nologo /c event.c buffer.c bufferevent.c bufferevent_sock.c bufferevent_
pair.c listener.c evmap.c log.c evutil.c strlcpy.c signal.c bufferevent_filter.c
 evthread.c bufferevent_ratelim.c evutil_rand.c win32select.c evthread_win32.c b
uffer_iocp.c event_iocp.c bufferevent_async.c
event.c
buffer.c
bufferevent.c
bufferevent_sock.c
bufferevent_pair.c
listener.c
evmap.c
log.c
evutil.c
evutil.c(100) : error C2065: 'mode_t' : undeclared identifier
evutil.c(100) : error C2146: syntax error : missing ')' before identifier 'mode'

evutil.c(100) : error C2059: syntax error : ')'
strlcpy.c
signal.c
bufferevent_filter.c
evthread.c
bufferevent_ratelim.c
evutil_rand.c
win32select.c
evthread_win32.c
buffer_iocp.c
event_iocp.c
bufferevent_async.c
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.

C:\Documents and Settings\qs\My Documents\Downloads\Compressed\libevent-2.0.18-s
table>
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.