Fixed bugs due to ckfutures declarations in c++interface.h
[charm.git] / src / charmc
index 1bcf7c8351c2c79a36d0eb3217a5ca945b23bbf0..00666ff8d692402020670ea2b23fd874152917c1 100755 (executable)
@@ -721,7 +721,7 @@ if (($LANGUAGE == charm) || ($LANGUAGE == charm++)) then
        ($ECHOCMD ; $CMK_CC $OPTS_CC -c -o CHARMC-MOD.TMP.o CHARMC-MOD.TMP.c)
         ($ECHOCMD ; $CMK_LD $OPTS_LD -o CHARMC-PRE.TMP.xxx -L$CHARMLIB \
                       $BAL_OBJ $OBJECTFILES $LIBRARIES \
-                     CHARMC-MOD.TMP.o -lck-core -lck-trace-$TRACEMODE \
+                     CHARMC-MOD.TMP.o -lck-core -lcharm -lck-trace-$TRACEMODE \
                       -lck-cplus-n -lconv-cplus-n -lconv-core -lck-defmain-std\
                      $CMK_LIBS -lm)
     else if ($LANGUAGE == charm++) then
@@ -729,7 +729,7 @@ if (($LANGUAGE == charm) || ($LANGUAGE == charm++)) then
        ($ECHOCMD ; $CMK_CC $OPTS_CC -c -o CHARMC-MOD.TMP.o CHARMC-MOD.TMP.c)
         ($ECHOCMD ; $CMK_LDXX $OPTS_LDXX -o CHARMC-PRE.TMP.xxx -L$CHARMLIB \
                      $BAL_OBJ $OBJECTFILES $LIBRARIES \
-                     CHARMC-MOD.TMP.o -lck-core -lck-trace-$TRACEMODE \
+                     CHARMC-MOD.TMP.o -lck-core -lcharm -lck-trace-$TRACEMODE \
                       -lck-cplus-y -lconv-cplus-y -lconv-core -lck-defmain-cpp\
                      $CMK_LIBS -lm)
     endif
@@ -757,14 +757,14 @@ switch ($LANGUAGE)
     case "charm"
         ($ECHOCMD ; $CMK_LD $OPTS_LD -o $OBJECT -L$CHARMLIB \
                       CHARMC-MOD.TMP.o $BAL_OBJ $OBJECTFILES \
-                      $LIBRARIES -lck-core -lck-trace-$TRACEMODE \
+                      $LIBRARIES -lck-core -lcharm -lck-trace-$TRACEMODE \
                       -lck-cplus-n -lconv-cplus-n -lconv-core -lck-defmain-std\
                      $CMK_LIBS -lm)
         breaksw
     case "charm++"
         ($ECHOCMD ; $CMK_LDXX $OPTS_LDXX -o $OBJECT -L$CHARMLIB \
                      CHARMC-MOD.TMP.o $BAL_OBJ $OBJECTFILES \
-                      $LIBRARIES -lck-core -lck-trace-$TRACEMODE \
+                      $LIBRARIES -lck-core -lcharm -lck-trace-$TRACEMODE \
                       -lck-cplus-y -lconv-cplus-y -lconv-core -lck-defmain-cpp\
                      $CMK_LIBS -lm)
         breaksw