Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Help]compiling problems  (Read 5353 times)

0 Members and 1 Guest are viewing this topic.

razr

  • Guest
[Help]compiling problems
« on: October 17, 2006, 08:41:55 AM »

im having a problems tring to compile modules

C:\Program Files>cd anope

C:\Program Files\Anope>cd data

C:\Program Files\Anope\data>cd modules

C:\Program Files\Anope\data\modules>cscript /nologo install.js
Input Error: Can not find script file "C:\Program Files\Anope\data\modules\insta
ll.js".

can anyone help me please

[Edited on 17-10-2006 by razr]

[Edited on 17-10-2006 by razr]
Logged

heinz

  • Guest
(No subject)
« Reply #1 on: October 17, 2006, 09:32:06 AM »

You can't use the binary installer to do that, you'll need the source file (.tar.gz)
Logged

razr

  • Guest
(No subject)
« Reply #2 on: October 18, 2006, 11:55:38 AM »

cl /LD /MD /D MODULE_COMPILE /nologo  /QIfist /O2 /MD /I "C:\Program Fil
es\Microsoft Visual Studio\VC98\Include" /I"../include" /I"../../include"  cs_op
eronly_register.c ..\mod_version.c /link ../anope.lib wsock32.lib wsock32.lib ad
vapi32.lib /NODEFAULTLIB:libcmtd.lib /LIBPATH:"C:\Program Files\Microsoft Visual
 Studio\VC98\Lib"  /export:AnopeInit /export:AnopeFini
cl : Command line warning D9035 : option 'QIfist' has been deprecated and will b
e removed in a future release
cs_operonly_register.c
c:\anope\include\services.h(19) : fatal error C1083: Cannot open include file: '
sysconf.h': No such file or directory
mod_version.c
..\mod_version.c(21) : warning C4273: 'getAnopeBuildVersion' : inconsistent dll
linkage
        ..\mod_version.c(16) : see previous definition of 'getAnopeBuildVersion'

..\mod_version.c(22) : error C2065: 'VERSION_BUILD' : undeclared identifier
..\mod_version.c(25) : warning C4273: 'getAnopeMajorVersion' : inconsistent dll
linkage
        ..\mod_version.c(17) : see previous definition of 'getAnopeMajorVersion'

..\mod_version.c(26) : error C2065: 'VERSION_MAJOR' : undeclared identifier
..\mod_version.c(29) : warning C4273: 'getAnopeMinorVersion' : inconsistent dll
linkage
        ..\mod_version.c(18) : see previous definition of 'getAnopeMinorVersion'

..\mod_version.c(30) : error C2065: 'VERSION_MINOR' : undeclared identifier
..\mod_version.c(33) : warning C4273: 'getAnopePatchVersion' : inconsistent dll
linkage
        ..\mod_version.c(19) : see previous definition of 'getAnopePatchVersion'

..\mod_version.c(34) : error C2065: 'VERSION_PATCH' : undeclared identifier
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.

C:\anope\src\modules>nmake -f Makefile.win32 install

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

A subdirectory or file ..\..\data\modules already exists.
A subdirectory or file ..\..\data\modules\runtime already exists.
*.dll
The system cannot find the file specified.
        0 file(s) copied.
 
i did everything what the wiki said to do
Logged

heinz

  • Guest
(No subject)
« Reply #3 on: October 18, 2006, 01:45:56 PM »

I don't think so.. you probably haven't run install.js like it says.

Use the compiling information in WIN32.txt, it's more thorough
Logged

razr

  • Guest
(No subject)
« Reply #4 on: October 19, 2006, 08:31:29 AM »

Anope has been configured to your system. To compile, simply type:
nmake -f Makefile.win32

If you update Anope, you should run this script again to ensure
all available options are set.

C:\anope>nmake -f Makefile.win32

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

        cl /QIfist /O2 /MD /I "C:\Program Files\Microsoft Visual Studio\VC98\Inc
lude" include\version.sh.c /link /LIBPATH:"C:\Program Files\Microsoft Visual Stu
dio\VC98\Lib"
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9035 : option 'QIfist' has been deprecated and will b
e removed in a future release
version.sh.c
Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:version.sh.exe
"/LIBPATH:C:\Program Files\Microsoft Visual Studio\VC98\Lib"
version.sh.obj
version.sh.obj : error LNK2019: unresolved external symbol ___security_cookie re
ferenced in function _parse_version
version.sh.obj : error LNK2019: unresolved external symbol @__security_check_coo
kie@4 referenced in function _parse_version
version.sh.exe : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.

C:\anope>

i dont get it im new to this

and thanks for the help
Logged
Pages: [1]   Go Up