[Devel] [ openser-Bugs-1705298 ] perl module does not build with USE_SYSV_SEM

SourceForge.net noreply at sourceforge.net
Sun Apr 22 21:41:33 CEST 2007


Bugs item #1705298, was opened at 2007-04-22 18:26
Message generated for change (Comment added) made by jblache
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1705298&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Julien BLACHE (jblache)
Assigned to: Nobody/Anonymous (nobody)
Summary: perl module does not build with USE_SYSV_SEM

Initial Comment:
The perl module does not build with USE_SYSV_SEM:
 - perl.h defines union semun, and so does lock_ops.h later on

 - the user member of the uri_members enum in openserxs.xs conflicts with the user variable declared in globals.h (pulled in by lock_ops.h when USE_SYSV_SEM is defined)

Looks like this one will be tricky to fix.

----------------------------------------------------------------------

>Comment By: Julien BLACHE (jblache)
Date: 2007-04-22 21:41

Message:
Logged In: YES 
user_id=27488
Originator: YES

Proposed patch attached.

 - rename the enum constants
 - attempt to make perl and lock_ops.h play nice together

It builds, but I have no idea whether it runs or not. Perl does a lot of
nasty things in its header files.

Waiting for your feedback on this one.
File Added: openser-perl.patch

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1705298&group_id=139143



More information about the Devel mailing list