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

SourceForge.net noreply at sourceforge.net
Fri May 4 23:23:47 CEST 2007


Bugs item #1705298, was opened at 2007-04-22 18:26
Message generated for change (Comment added) made by bastian
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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Julien BLACHE (jblache)
Assigned to: Bastian Friedrich (bastian)
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: Bastian Friedrich (bastian)
Date: 2007-05-04 23:23

Message:
Logged In: YES 
user_id=34841
Originator: NO

Hi,

sorry for my slow reaction on this topic.

I have not been able to reproduce your problem; nonetheless, your patch
looks sensible, so I just applied it.

It would be great if you could give a short comment on whether you face
the same problems with the new "perlvdb" module (perhaps via private
mail).

Thx for your support,
  Bastian

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

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