Steven, <div><br></div><div>I didn't know that this bug went all the way back to Maui. It turns out that Moab (and Maui I suppose) both called functions not in the pbs_ifl.h file, and had incorrect declarations for these functions. Since you're doing this in Maui, you may need to update the source code to use the same declaration as is in the pbs_ifl.h file. I apologize for this inconvenience, we should've put this in the release notes but we just didn't know that this bug went all the way back to Maui.</div>
<div><br></div><div>David<br><br><div class="gmail_quote">On Fri, Mar 16, 2012 at 12:22 PM, DuChene, StevenX A <span dir="ltr"><<a href="mailto:stevenx.a.duchene@intel.com">stevenx.a.duchene@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am attempting to compile Maui-3.3.1 on a system where I recently installed Torque-4.0 rpms I built from the spec file included with the Torque 4.0 sources. I am getting the following error out when the system attempts to build MPBSI.c<br>
<br>
gcc -I../../include/ -I/usr/local/maui/include -I/usr/include/torque -D__LINUX -D__MPBS -g -O2 -D__M64 -c MPBSI.c<br>
MPBSI.c:177: error: conflicting types for âget_svrportâ<br>
/usr/include/torque/pbs_ifl.h:681: note: previous declaration of âget_svrportâ was here<br>
MPBSI.c:178: error: conflicting types for âopenrmâ<br>
/usr/include/torque/pbs_ifl.h:682: note: previous declaration of âopenrmâ was here<br>
make[1]: *** [MPBSI.o] Error 1<br>
make[1]: Leaving directory `/usr/local/src/maui-3.3.1/src/moab'<br>
make: *** [all] Error 2<br>
<br>
--<br>
Steven DuChene<br>
<br>
_______________________________________________<br>
torqueusers mailing list<br>
<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
<a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>David Beer | Software Engineer</div><div>Adaptive Computing</div><br>
</div>