View Issue Details

IDProjectCategoryView StatusLast Update
0003918unrealinstallingpublic2010-07-09 19:47
Reportertherock247uk Assigned Toohnobinki  
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOS7OS Versionrtm
Product Version3.2.9-RC1 
Fixed in Version3.2.9-RC1 
Summary0003918: unable to compile under windows
DescriptionSetting environment for using Microsoft Visual Studio 2008 x86 tools.

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC>cd C:\Users\therock247uk\D
esktop\Unr3.2-20100708\Unreal3.2

C:\Users\therock247uk\Desktop\Unr3.2-20100708\Unreal3.2>nmake -f makefile.win32

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

        cl src/win32/config.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

config.c
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

/out:config.exe
config.obj
        cl /MT /Zi /J /I ./INCLUDE /I ./INCLUDE/WIN32/ARES /Fosrc/ /nologo
 /D FD_SETSIZE=16384 /D NOSPOOF=1 /c /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONST
DC_NO_DEPRECATE /D _USE_32BIT_TIME_T src/win32/unreal.c
unreal.c
        rc /l 0x409 /fosrc/win32/unreal.res /i ./include /i ./src /d NDEBUG src
/win32/unreal.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.

        link advapi32.lib src/unreal.obj src/win32/unreal.res
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

        cl /MD /Zi /J /I ./INCLUDE /I ./INCLUDE/WIN32/ARES /Fosrc/ /nologo
 /D FD_SETSIZE=16384 /D NOSPOOF=1 /c /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONST
DC_NO_DEPRECATE /D _USE_32BIT_TIME_T src/channel.c
channel.c
        cl /MD /Zi /J /I ./INCLUDE /I ./INCLUDE/WIN32/ARES /Fosrc/ /nologo
 /D FD_SETSIZE=16384 /D NOSPOOF=1 /c /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONST
DC_NO_DEPRECATE /D _USE_32BIT_TIME_T src/send.c
send.c
        cl /MD /Zi /J /I ./INCLUDE /I ./INCLUDE/WIN32/ARES /Fosrc/ /nologo
 /D FD_SETSIZE=16384 /D NOSPOOF=1 /c /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONST
DC_NO_DEPRECATE /D _USE_32BIT_TIME_T src/socket.c
socket.c
        cl /MD /Zi /J /I ./INCLUDE /I ./INCLUDE/WIN32/ARES /Fosrc/ /nologo
 /D FD_SETSIZE=16384 /D NOSPOOF=1 /c /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONST
DC_NO_DEPRECATE /D _USE_32BIT_TIME_T src/s_conf.c
s_conf.c
src/s_conf.c(1525) : error C2146: syntax error : missing ')' before identifier '
mode'
src/s_conf.c(1525) : error C2081: 'mode_t' : name in formal parameter list illeg
al
src/s_conf.c(1525) : error C2061: syntax error : identifier 'mode'
src/s_conf.c(1525) : error C2059: syntax error : ';'
src/s_conf.c(1525) : error C2059: syntax error : ','
src/s_conf.c(1525) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\cl.EXE"' : return code '0x2'
Stop.

C:\Users\therock247uk\Desktop\Unr3.2-20100708\Unreal3.2>
TagsNo tags attached.
3rd party modules

Relationships

child of 0003776 resolvedsyzop Unreal3.2.9 TODO 

Activities

ohnobinki

2010-07-09 16:27

reporter   ~0016142

Apparently, mode_t doesn't exist on windows. I'll fix that today hopefully.

ohnobinki

2010-07-09 17:54

reporter   ~0016143

I blindly made a commit which will hopefully fix this compilation problem. Please test.

commit msg:
- Attempt to make up for Windows not having mode_t and not complying to POSIX.

therock247uk

2010-07-09 17:59

reporter   ~0016144

generate me a tar of it and ill see if it will go

ohnobinki

2010-07-09 19:47

reporter   ~0016145

reported as compilable by therock247uk.

- Fix references in src/win32 to aMotd to now be to aMotdFile.
- Fix references to motd and friends in src/win32.

Thanks :-)

Issue History

Date Modified Username Field Change
2010-07-09 16:07 therock247uk New Issue
2010-07-09 16:27 ohnobinki Status new => assigned
2010-07-09 16:27 ohnobinki Assigned To => ohnobinki
2010-07-09 16:27 ohnobinki Note Added: 0016142
2010-07-09 17:54 ohnobinki Note Added: 0016143
2010-07-09 17:54 ohnobinki Status assigned => feedback
2010-07-09 17:59 therock247uk Note Added: 0016144
2010-07-09 19:47 ohnobinki QA => Not touched yet by developer
2010-07-09 19:47 ohnobinki U4: Need for upstream patch => No need for upstream InspIRCd patch
2010-07-09 19:47 ohnobinki Note Added: 0016145
2010-07-09 19:47 ohnobinki Status feedback => resolved
2010-07-09 19:47 ohnobinki Fixed in Version => 3.2.9-RC1
2010-07-09 19:47 ohnobinki Resolution open => fixed
2010-07-10 02:00 ohnobinki Relationship added child of 0003776