This site uses cookies. In order to read how we handle cookies please click here. Click on this message to accept and hide.
Go to top
44.220.184.63.US.SSL

HeXHub HeXHub Compile error

When i try to build lastest hexhub source error appears:

Code
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: LIB\comments.asm

***********
ASCII build
***********

Error creating hexweb.lib
Press any key to continue . . .
Microsoft (R) Library Manager Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

Masm compiler is taken from http://www.masm32.com/ and source from http://www.te-home.net/?do=work&id=hexhub
Posted by Djjeshk on 2014-06-15 22:48

Replies

Post is locked: Resolved
Re: Compile error
Did it write any logs?
Replied by RoLex on 2014-06-16 11:05 #13
Re: Compile error
It only creates \comments.obj and \LIB\hexweb.lib and nothing more.

But error was: Error creating hexweb.lib

Contents from \build.bat :

Code
.......
14> %masmpath%\lib.exe *.obj  /out:LIB\hexweb.lib
15> if not exist LIB\hexweb.lib goto liberror
.......
64> :liberror
65> echo Error creating hexweb.lib
66> pause
.......

It creates hexweb.lib but \build.bat cannot detect it, might be current path is changed during execution.
Replied by Djjeshk on 2014-06-16 14:59 #14
Re: Compile error
More detailed version when commenting first line

Code

C:\HeXHub-5.12src>rem @echo off

C:\HeXHub-5.12src>rem Replace masmpath with path to masm32's bin directory

C:\HeXHub-5.12src>set masmpath=\masm32\bin

C:\HeXHub-5.12src>if not exist \masm32\bin\ml.exe goto noasm

C:\HeXHub-5.12src>rem if exist lib\hexweb.lib del lib\hexweb.lib

C:\HeXHub-5.12src>if exist hexweb.obj del *.obj

C:\HeXHub-5.12src>rem start /w \masm32\bin\ml /c /coff LIB\*.asm

C:\HeXHub-5.12src>rem start /w \masm32\bin\lib *.obj /out:LIB\hexweb.lib

C:\HeXHub-5.12src>\masm32\bin\ml /c /coff LIB\*.asm
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: LIB\comments.asm

***********
ASCII build
***********


C:\HeXHub-5.12src>if not exist comments.obj goto errasm

C:\HeXHub-5.12src>\masm32\bin\lib.exe *.obj  /out:LIB\hexweb.lib

C:\HeXHub-5.12src>if not exist LIB\hexweb.lib goto liberror

C:\HeXHub-5.12src>echoMicrosoft (R) Library Manager Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

Error creating hexweb.lib
Error creating hexweb.lib

C:\HeXHub-5.12src>pause
Press any key to continue . . .
Replied by Djjeshk on 2014-06-16 15:32 #15
Re: Compile error
Quote
It only creates \comments.obj and \LIB\hexweb.lib and nothing more.

You said that it creates LIB\hexweb.lib, right? So if the file exists then something must be wrong with paths. Try changing to full path on that condition. Modify the batch file.
Replied by RoLex on 2014-06-16 15:56 #16
Re: Compile error
stopping script for a while with pings gives symbol redefinition error

Code
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: LIB\comments.asm

***********
ASCII build
***********

Microsoft (R) Library Manager Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: HeXHub.asm

***********
ASCII build
***********

plugins.h(1003) : error A2005: symbol redefinition : @C0001
plugins.h(1007) : error A2005: symbol redefinition : @C0003
plugins.h(1016) : error A2005: symbol redefinition : @C0005
plugins.h(1035) : error A2005: symbol redefinition : @C000B
plugins.h(1036) : error A2005: symbol redefinition : @C000D
plugins.h(1037) : error A2005: symbol redefinition : @C0008
plugins.h(1037) : error A2005: symbol redefinition : @C0007
plugins.h(1066) : error A2005: symbol redefinition : @C0011
plugins.h(1069) : error A2005: symbol redefinition : @C0010
plugins.h(1089) : error A2005: symbol redefinition : @C0017
plugins.h(1092) : error A2005: symbol redefinition : @C0018
plugins.h(1098) : error A2005: symbol redefinition : @C001A
plugins.h(1104) : error A2005: symbol redefinition : @C001C
plugins.h(1108) : error A2005: symbol redefinition : @C001D
plugins.h(1120) : error A2005: symbol redefinition : @C0024
plugins.h(1123) : error A2005: symbol redefinition : @C0023
plugins.h(1123) : error A2005: symbol redefinition : @C0026
plugins.h(1126) : error A2005: symbol redefinition : @C0028
plugins.h(1129) : error A2005: symbol redefinition : @C002A
plugins.h(1135) : error A2005: symbol redefinition : @C002B
plugins.h(1141) : error A2005: symbol redefinition : @C0032
plugins.h(1144) : error A2005: symbol redefinition : @C0031
plugins.h(1144) : error A2005: symbol redefinition : @C0034
plugins.h(1147) : error A2005: symbol redefinition : @C0036
plugins.h(1150) : error A2005: symbol redefinition : @C0038
plugins.h(1153) : error A2005: symbol redefinition : @C003A
plugins.h(1159) : error A2005: symbol redefinition : @C003B
plugins.h(1165) : error A2005: symbol redefinition : @C0042
plugins.h(1168) : error A2005: symbol redefinition : @C0041
plugins.h(1168) : error A2005: symbol redefinition : @C0044
plugins.h(1174) : error A2005: symbol redefinition : @C0045
plugins.h(1177) : error A2005: symbol redefinition : @C004B
plugins.h(1181) : error A2005: symbol redefinition : @C004C
plugins.h(1181) : error A2005: symbol redefinition : @C0050
plugins.h(1213) : error A2005: symbol redefinition : @C0052
plugins.h(1217) : error A2005: symbol redefinition : @C0054
plugins.h(1448) : error A2005: symbol redefinition : @C00C8
plugins.h(1455) : error A2005: symbol redefinition : @C00C9
plugins.h(1461) : error A2005: symbol redefinition : @C00C7
plugins.h(1461) : error A2005: symbol redefinition : @C00CE
plugins.h(1463) : error A2005: symbol redefinition : @C00D0
plugins.h(1470) : error A2005: symbol redefinition : @C00D4
plugins.h(1472) : error A2005: symbol redefinition : @C00D6
plugins.h(1483) : error A2005: symbol redefinition : @C00DA
plugins.h(1488) : error A2005: symbol redefinition : @C00DB
plugins.h(1492) : error A2005: symbol redefinition : @C00D9
plugins.h(1492) : error A2005: symbol redefinition : @C00E0
plugins.h(1494) : error A2005: symbol redefinition : @C00E2
plugins.h(1497) : error A2005: symbol redefinition : @C00E1
plugins.h(1501) : error A2005: symbol redefinition : @C00E3
plugins.h(1502) : error A2005: symbol redefinition : @C00D2
plugins.h(1502) : error A2005: symbol redefinition : @C004E
plugins.h(1502) : error A2005: symbol redefinition : @C00CB
plugins.h(1502) : error A2005: symbol redefinition : @C00D7
plugins.h(1502) : error A2005: symbol redefinition : @C00DD
plugins.h(1519) : error A2005: symbol redefinition : @C00E4
plugins.h(1519) : error A2005: symbol redefinition : @C00E9
plugins.h(1519) : error A2005: symbol redefinition : @C00E6
plugins.h(1519) : error A2005: symbol redefinition : @C00E8
plugins.h(1523) : error A2005: symbol redefinition : @C00EA
.......
plugins.h(1769) : error A2005: symbol redefinition : @C012D
plugins.h(1773) : error A2005: symbol redefinition : @C012C
plugins.h(1774) : error A2005: symbol redefinition : @C012F
plugins.h(1784) : fatal error A1012: error count exceeds 100; stopping assembly
Assembly Error
Press any key to continue . . .
Replied by Djjeshk on 2014-06-16 16:01 #17
Re: Compile error
You should wait for HeXHub dev to answer, I don't know how to help you, sorry.
Replied by RoLex on 2014-06-16 16:03 #18
Re: Compile error
Found some information at http://www.masmforum.com/board/index.php?PHPSESSID=786dd40408172108b65a5a36b09c88c0&action=printpage;topic=8331.0. Looks like plugins.h is too large for that version and it runs out of label names. HexHub dev might give right binaries where source code compiles fine.
Replied by Djjeshk on 2014-06-18 08:46 #19
Re: Compile error
How fast we people forget things that we once been through ourselves. smile Download this patch and apply on your Masm32.
Replied by RoLex on 2014-06-18 14:22 #20
Re: Compile error
Big thanks!
Replied by Djjeshk on 2014-06-18 18:21 #21
Post is locked: Resolved