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

Sughosh Divanji sdivanji at hawk.iit.edu
Fri Feb 20 23:02:50 CST 2015


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
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/codes-ross-users/attachments/20150220/b2ddca7b/attachment.html>


More information about the codes-ross-users mailing list