[codes-ross-users] make for codes-base is failing at src/util/codes_mapping.c:483:51

Jenkins, Jonathan P. jenkins at mcs.anl.gov
Mon Feb 23 08:16:36 CST 2015


Hi Sugosh,

Sounds like you are using a more recent revision of ROSS, which removed the variable in question. You can either checkout the version of ROSS shown in the codes-base INSTALL document, or you can use recent revisions of the codes-* repositories.

John

From: Sughosh Divanji <sdivanji at hawk.iit.edu<mailto:sdivanji at hawk.iit.edu>>
Date: Friday, February 20, 2015 at 11:02 PM
To: "codes-ross-users at lists.mcs.anl.gov<mailto:codes-ross-users at lists.mcs.anl.gov>" <codes-ross-users at lists.mcs.anl.gov<mailto:codes-ross-users at lists.mcs.anl.gov>>
Cc: Raghav Kapoor <rkapoor7 at hawk.iit.edu<mailto:rkapoor7 at hawk.iit.edu>>, Ke Wang <kwang22 at hawk.iit.edu<mailto:kwang22 at hawk.iit.edu>>
Subject: [codes-ross-users] make for codes-base is failing at src/util/codes_mapping.c:483:51

Hi,

I am trying to install codes-base-0.3.0. Make is failing with the following error,

sughosh at sughosh-Lenovo-G50-45:~/Desktop/IITC/CS597/codes-base-0.3.0/build$ make
make  all-am
make[1]: Entering directory `/home/sughosh/Desktop/IITC/CS597/codes-base-0.3.0/build'
  CC       src/util/codes_mapping.o
../src/util/codes_mapping.c: In function ‘codes_mapping_init’:
../src/util/codes_mapping.c:422:3: warning: passing argument 2 of ‘tw_lp_settype’ discards ‘const’ qualifier from pointer target type [enabled by default]
   tw_lp_settype(ross_lid, lp_type_lookup(lp_type_name));
   ^
In file included from /home/sughosh/Desktop/IITC/CS597/ROSS/install/include/ross.h:195:0,
                 from ../codes/codes.h:11,
                 from ../codes/codes_mapping.h:11,
                 from ../src/util/codes_mapping.c:10:
/home/sughosh/Desktop/IITC/CS597/ROSS/install/include/ross-extern.h:97:15: note: expected ‘struct tw_lptype *’ but argument is of type ‘const struct tw_lptype *’
 extern void   tw_lp_settype(tw_lpid lp, tw_lptype * type);
               ^
../src/util/codes_mapping.c: In function ‘codes_mapping_setup_with_seed_offset’:
../src/util/codes_mapping.c:483:51: error: ‘g_tw_rng_max’ undeclared (first use in this function)
                           global_nlps * offset) * g_tw_rng_max + i);
                                                   ^
../src/util/codes_mapping.c:483:51: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [src/util/codes_mapping.o] Error 1
make[1]: Leaving directory `/home/sughosh/Desktop/IITC/CS597/codes-base-0.3.0/build'
make: *** [all] Error 2


Please let me know how to fix this.

Thanks,
Sughosh
[https://mailfoogae.appspot.com/t?sender=ac2RpdmFuamlAaGF3ay5paXQuZWR1&type=zerocontent&guid=c2776052-359d-4dbe-ac9f-f5d1f280642b]ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/codes-ross-users/attachments/20150223/a85cebca/attachment.html>


More information about the codes-ross-users mailing list