|
Loading...
|
mauiusers@supercluster.org
[Prev] Thread [Next] | [Prev] Date [Next]
[Mauiusers] had to alter extern lines in src/maui/MPBSI.c DuChene, StevenX A Fri Mar 16 16:00:41 2012
In order to get maui to compile with the include files from a fresh install of Torque-4.0 I had to make the following modifications to src/moab/MPBSI.c --- maui-3.3.1/src/moab/MPBSI.c 2011-03-04 08:28:25.000000000 -0800 +++ maui-3.3.1_altered/src/moab/MPBSI.c 2012-03-16 14:20:02.732259530 -0700 @@ -174,8 +174,8 @@ extern int pbs_errno; -extern int get_svrport(const char *,char *,int); -extern int openrm(char *,int); +extern unsigned int get_svrport(char *,char *,unsigned int); +extern int openrm(char *,unsigned int); extern int addreq(int,char *); extern int closerm(int); extern int pbs_stagein(int,char *,char *,char *); Prior to making this modification the compile would error out with: --- maui-3.3.1/src/moab/MPBSI.c 2011-03-04 08:28:25.000000000 -0800 +++ maui-3.3.1_altered/src/moab/MPBSI.c 2012-03-16 14:20:02.732259530 -0700 @@ -174,8 +174,8 @@ extern int pbs_errno; -extern int get_svrport(const char *,char *,int); -extern int openrm(char *,int); +extern unsigned int get_svrport(char *,char *,unsigned int); +extern int openrm(char *,unsigned int); extern int addreq(int,char *); extern int closerm(int); extern int pbs_stagein(int,char *,char *,char *); After making the above modifications the build was successful and I was able to run maui-3.3.1 -- Steven DuChene
_______________________________________________ mauiusers mailing list [EMAIL PROTECTED] http://www.supercluster.org/mailman/listinfo/mauiusers
- [Mauiusers] had to alter extern lines in src/maui/MPBSI.c DuChene, StevenX A 2012/03/16 <=