From: Dale Marinenko (dmarinenko_at_reasonco.com)
Date: Thu Aug 23 2007 - 17:01:53 CDT
IJust can't seem to compile charm++, I can't figure out what I'm missing
I Downloaded the newest CVS version of charm
I have Followed the NAMD Wiki to a "T"
I have tried the stock charm scripts and have gone and modified them,
which amounts too 3 lines that weren't there or had to be changed
When I type CL and Link in Cygwin it comes up with the Microsoft Name
and versions, I am using visual studio 2005
My cygwin.bat is as follows
@echo off
c:
chdir c:\cygwin\bin
call "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat"
amd64
call "C:\Program Files\Microsoft Platform SDK for Windows Server 2003
R2\SetEnv.Cmd" /X64 /RETAIL
bash --login -i
I have tried it without the amd64 switch loads up the (x86) version and
then when I compile, it will error out with the "linker working = No"
error, I have also tried it withought the platform SDK in there and with
Just the platform SDK and that didn't do anything different.
I am running a Windows Server 2003 R2 computer with Microsoft CCS
installed, with an Intel 6700 dual core 64 bit Xeon processor and 2gb of
ram.
I go to the directory and type In the ./build charm++ net-win64
And off it goes for awhile, if I don't add/change the 3 or so lines from
the wiki it will error out with a can't find "system_ln" file, I have
been told this is normal and was told to put the file in the
net-win64/tmp/ directory. After doing that it will run for awhile and
then error out. If I do change the lines it gives the error repeatedly
and then moves on for awhile and then errors out. The error looks the
same either way. I have looked everywhere and tried everything I can
think of to no avail. It may be something easy I am not a programmer by
trade so please excuse me if it is something that is obvious. Below I
have pasted the "End" of the compile, as pasting the whole thing would
probably exceed the character limit. Thanks for advance for any help
anyone may give me.
c:\charm\charm\net-win64\tmp\ckhashtable.h(284) : warning C4244:
'initializing' : conversion from '_
_int64' to 'int', possible loss of data
./bin/charmc -c -I. traceCore.C
traceCore.C
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(141) : warning C4616: #pragma w
arning : warning number '6059' out of range, must be between '4001' and
'4999'
./bin/charmc -c -I. traceCoreCommon.C
traceCoreCommon.C
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(141) : warning C4616: #pragma w
arning : warning number '6059' out of range, must be between '4001' and
'4999'
./bin/charmc -c -I. converseProjections.C
converseProjections.C
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(141) : warning C4616: #pragma w
arning : warning number '6059' out of range, must be between '4001' and
'4999'
./bin/charmc -c -I. machineProjections.C
machineProjections.C
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(141) : warning C4616: #pragma w
arning : warning number '6059' out of range, must be between '4001' and
'4999'
./bin/charmc -c -I. quiescence.c
quiescence.c
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(141) : warning C4616: #pragma w
arning : warning number '6059' out of range, must be between '4001' and
'4999'
./bin/charmc -c -I. isomalloc.c
isomalloc.c
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(141) : warning C4616: #pragma w
arning : warning number '6059' out of range, must be between '4001' and
'4999'
isomalloc.c(68) : warning C4267: 'return' : conversion from 'size_t' to
'int', possible loss of data
isomalloc.c(618) : warning C4101: 'old' : unreferenced local variable
isomalloc.c(668) : warning C4267: '=' : conversion from 'size_t' to
'memRange_t', possible loss of d
ata
isomalloc.c(684) : warning C4267: '=' : conversion from 'size_t' to
'int', possible loss of data
c:\charm\charm\net-win64\tmp\isomalloc.c(276) : warning C4716:
'call_mmap_fixed' : must return a val
ue
c:\charm\charm\net-win64\tmp\isomalloc.c(279) : warning C4716:
'call_mmap_anywhere' : must return a
value
./bin/charmc -c -I. conv-counter.c
conv-counter.c
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(141) : warning C4616: #pragma w
arning : warning number '6059' out of range, must be between '4001' and
'4999'
./bin/charmc -c -I. global-nop.c
global-nop.c
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(141) : warning C4616: #pragma w
arning : warning number '6059' out of range, must be between '4001' and
'4999'
./bin/charmc -c -I. cmipool.c
cmipool.c
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(141) : warning C4616: #pragma w
arning : warning number '6059' out of range, must be between '4001' and
'4999'
cmipool.c(143) : warning C4244: 'initializing' : conversion from
'CmiInt8' to 'int', possible loss o
f data
./bin/charmc -o ../lib/libconv-core.a convcore.o conv-conds.o
queueing.o msgmgr.o cpm.o cpthreads
.o futures.o cldb.o topology.o random.o debug-conv.o generate.o
edgelist.o conv-ccs.o ccs-builtins.o
traceCore.o traceCoreCommon.o converseProjections.o
machineProjections.o quiescence.o isomalloc.o c
onv-counter.o global-nop.o cmipool.o
/usr/bin/unix2nt_ar: line 10: $'\r': command not found
/usr/bin/unix2nt_ar: line 14: $'\r': command not found
/usr/bin/unix2nt_ar: line 19: $'\r': command not found
/usr/bin/unix2nt_ar: line 79: syntax error: unexpected end of file
Fatal Error by charmc in directory /cygdrive/c/charm/charm/net-win64/tmp
Command unix2nt_ar ../lib/libconv-core.a convcore.o conv-conds.o
queueing.o msgmgr.o cpm.o cpthre
ads.o futures.o cldb.o topology.o random.o debug-conv.o generate.o
edgelist.o conv-ccs.o ccs-builtin
s.o traceCore.o traceCoreCommon.o converseProjections.o
machineProjections.o quiescence.o isomalloc.
o conv-counter.o global-nop.o cmipool.o returned error code 2
charmc exiting...
make[2]: *** [../lib/libconv-core.a] Error 1
make[2]: Leaving directory `/cygdrive/c/charm/charm/net-win64/tmp'
make[1]: *** [converse] Error 2
make[1]: Leaving directory `/cygdrive/c/charm/charm/net-win64/tmp'
make: *** [charm++] Error 2
-------------------------------------------------
Charm++ NOT BUILT. Either cd into net-win64/tmp and try
This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:45:08 CST