[torqueusers] Torque-4.0 bug? conflicting types for get_svrport

DuChene, StevenX A stevenx.a.duchene at intel.com
Fri Mar 16 16:47:17 MDT 2012


Yes, I made modifications to the extern lines for get_svrport and openrm in src/moab/MPBSI.c so the defines corresponded with the entries in pbs_ifl.h

After that maui built and seems to run fine.

So will there be a note or notes added to the release notes for Torque-4.X ?
--
Steven DuChene

From: torqueusers-bounces at supercluster.org [mailto:torqueusers-bounces at supercluster.org] On Behalf Of David Beer
Sent: Friday, March 16, 2012 1:02 PM
To: Torque Users Mailing List
Subject: Re: [torqueusers] Torque-4.0 bug? conflicting types for get_svrport

Steven, 

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.

David
On Fri, Mar 16, 2012 at 12:22 PM, DuChene, StevenX A <stevenx.a.duchene at intel.com> wrote:
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

gcc -I../../include/ -I/usr/local/maui/include     -I/usr/include/torque -D__LINUX   -D__MPBS        -g -O2 -D__M64  -c MPBSI.c
MPBSI.c:177: error: conflicting types for âget_svrportâ
/usr/include/torque/pbs_ifl.h:681: note: previous declaration of âget_svrportâ was here
MPBSI.c:178: error: conflicting types for âopenrmâ
/usr/include/torque/pbs_ifl.h:682: note: previous declaration of âopenrmâ was here
make[1]: *** [MPBSI.o] Error 1
make[1]: Leaving directory `/usr/local/src/maui-3.3.1/src/moab'
make: *** [all] Error 2

--
Steven DuChene

_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers




-- 
David Beer | Software Engineer
Adaptive Computing



More information about the torqueusers mailing list