[Evolution] 1.4.5 fails on HPUX 11.00 with: seteuid (first referenced in camel-lock-helper.o)

Not Zed notzed@ximian.com
Tue, 13 Apr 2004 11:01:33 +0800


--=-Amd5DMEFKfxD1YQkv56i
Content-Type: multipart/alternative; boundary="=-yRFbLrvhbjKUJ+FnD+H4"


--=-yRFbLrvhbjKUJ+FnD+H4
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


I found out that ximian has some patches for hpux that never got sent to
us .. .ugh, although the patches are not really acceptable for inclusion
since they're just to make it build on hpux, not to make hte code
portable).

Neither is this unfortunately, it should be based on an auto* feature
test, and not on a platform test (i.e. 'do we have setuid' not 'are we
hpux').

I couldn't find a posix equivalent scanning man pages ... one is BSD and
the other is HPUX :-/  (so given this, maybe we can just use this code
*shrug*).

On Fri, 2004-04-09 at 12:15 +0200, Gansser, Martin wrote:

> I solved this problem by adding the folling to evolution-1.4.5/camel/camel-lock-helper.c
> 
> 
> #if defined(hpux) || defined(_hpux) || defined(__hpux)
> # define HPUX 1
> # define seteuid(e) setresuid(-1,e,-1)
> # define setreuid(r,e) setresuid(r,e,-1)
> #endif
> 
> Martin
> 
> > -----Original Message-----
> > From: Gansser, Martin 
> > Sent: Thursday, April 08, 2004 11:20 PM
> > To: evolution@lists.ximian.com
> > Subject: [Evolution] 1.4.5 fails on HPUX 11.00 with: seteuid (first
> > referenced in camel-lock-helper.o)
> > 
> > 
> > Hi,
> > 
> > I tried to compile evolution-1.4.5 on HPUX 11.00 with 
> > gnome-2.4, but this fails
> > with the following error message: 
> > 
> > /usr/ccs/bin/ld: Unsatisfied symbols:
> >    seteuid (first referenced in camel-lock-helper.o) (code)
> > collect2: ld returned 1 exit status
> > 
> > any hints ?
> > 
> > thanks Martin
> _______________________________________________
> evolution maillist  -  evolution@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/evolution


Michael Zucchi
<notzed@ximian.com>

Ximian Evolution
Software Developer


Novell, Inc.

--=-yRFbLrvhbjKUJ+FnD+H4
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.1.11">
</HEAD>
<BODY>
<BR>
I found out that ximian has some patches for hpux that never got sent to us .. .ugh, although the patches are not really acceptable for inclusion since they're just to make it build on hpux, not to make hte code portable).<BR>
<BR>
Neither is this unfortunately, it should be based on an auto* feature test, and not on a platform test (i.e. 'do we have setuid' not 'are we hpux').<BR>
<BR>
I couldn't find a posix equivalent scanning man pages ... one is BSD and the other is HPUX :-/&nbsp; (so given this, maybe we can just use this code *shrug*).<BR>
<BR>
On Fri, 2004-04-09 at 12:15 +0200, Gansser, Martin wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I solved this problem by adding the folling to evolution-1.4.5/camel/camel-lock-helper.c</FONT>


<FONT COLOR="#000000">#if defined(hpux) || defined(_hpux) || defined(__hpux)</FONT>
<FONT COLOR="#000000"># define HPUX 1</FONT>
<FONT COLOR="#000000"># define seteuid(e) setresuid(-1,e,-1)</FONT>
<FONT COLOR="#000000"># define setreuid(r,e) setresuid(r,e,-1)</FONT>
<FONT COLOR="#000000">#endif</FONT>

<FONT COLOR="#000000">Martin</FONT>

<FONT COLOR="#000000">&gt; -----Original Message-----</FONT>
<FONT COLOR="#000000">&gt; From: Gansser, Martin </FONT>
<FONT COLOR="#000000">&gt; Sent: Thursday, April 08, 2004 11:20 PM</FONT>
<FONT COLOR="#000000">&gt; To: evolution@lists.ximian.com</FONT>
<FONT COLOR="#000000">&gt; Subject: [Evolution] 1.4.5 fails on HPUX 11.00 with: seteuid (first</FONT>
<FONT COLOR="#000000">&gt; referenced in camel-lock-helper.o)</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; Hi,</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; I tried to compile evolution-1.4.5 on HPUX 11.00 with </FONT>
<FONT COLOR="#000000">&gt; gnome-2.4, but this fails</FONT>
<FONT COLOR="#000000">&gt; with the following error message: </FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; /usr/ccs/bin/ld: Unsatisfied symbols:</FONT>
<FONT COLOR="#000000">&gt;    seteuid (first referenced in camel-lock-helper.o) (code)</FONT>
<FONT COLOR="#000000">&gt; collect2: ld returned 1 exit status</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; any hints ?</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; thanks Martin</FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">evolution maillist  -  evolution@lists.ximian.com</FONT>
<A HREF="http://lists.ximian.com/mailman/listinfo/evolution"><FONT COLOR="#000000">http://lists.ximian.com/mailman/listinfo/evolution</FONT></A>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE BGCOLOR="#eb0000" CELLSPACING="6" CELLPADDING="6" WIDTH="100%">
<TR>
<TD BGCOLOR="#ffffff">
<IMG SRC="cid:1081825078.1842.52.camel@localhost.localdomain" WIDTH="48" HEIGHT="48" ALIGN="top" ALT="" BORDER="0">
</TD>
<TD BGCOLOR="#ffffff" WIDTH="100%">
<B>Michael Zucchi</B> &lt;notzed@ximian.com&gt;<BR>
<BR>
<A HREF="http://codeblogs.ximian.com/blogs/evolution/"><I>Ximian Evolution</A> Software Developer</I>
</TD>
<TD BGCOLOR="#ffffff" NOWRAP>
<BR>
<BR>
<A HREF="http://www.novell.com/"><B>Novell, Inc.</B></A>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-yRFbLrvhbjKUJ+FnD+H4--

--=-Amd5DMEFKfxD1YQkv56i
Content-ID: <1081825078.1842.52.camel@localhost.localdomain>
Content-Disposition: attachment; filename=zed-48.small.jpg
Content-Type: application/octet-stream; name=zed-48.small.jpg
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4p
LSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01T09PT09P
T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0//wAARCAAwADADASIA
AhEBAxEB/8QAGQAAAwEBAQAAAAAAAAAAAAAAAwQFAgYB/8QALhAAAgEDAgUEAQIHAAAAAAAAAQID
BBEhABIFEzFBURQigZEGYXE0UmJyobHx/8QAFwEBAQEBAAAAAAAAAAAAAAAABAMCAf/EAB0RAAID
AQEAAwAAAAAAAAAAAAABAgMREjEiMkH/2gAMAwEAAhEDEQA/AK8sEEq35nLaP3e1cW/m8kfdtAfh
824L7I1YFrnaRt8+L40U1ECxiGjLzSCocRYuQhubW7jIxrcFZRzU7q3sh3e8deWvX67/AKX0Xegi
TixevoZdxjhnkk2xBj2Z7DIA74Gs+kgpoaamPLllqE5yPuO4i1+nix7+NS3qatikPNZa+idmjLGx
YE+7r16DHgnTEtRWTVIraiknUrE42mJvYTY/IyfjT66YZjNzkzSSRTrEYTuz0tbpg6oV1V62op5G
3QhV9yn+7t8DXPDiZlaepq0AYIBGEFtuRc2/WwH7aroXho98jNG5RVa4wDYNbzqNsefqdcnmM0J0
pp1kKyRywsdpU46EX/19aT4ioWgmanATG0Mpvcd89750arjMg2L1DfQtnSixTMW5hO0ZBZsEg5t5
xodU+8fhit7jZz4ChQWS99U1lC0H8RNZx74xK2DkAG48ePOtU0UUsQLC6kki/wC+jqtMpeLapjYg
XJyNLcxyr1EUHaWaEspHXPbXVcNkUcCUOjvNv2kAdAehOkVo4LrDEFG9hcnPe+rlUsNNSenUIWkk
ZHfbflqFC475IvqdnyWaRsgl6MNwysp13y8uLG3cTk6LBwCmliFR6lw7XBKdMdj50t+X8RkWOnhV
rbnLfX/dUPx1ivAoTJnmFm+CdIVEIx6XpFQSZxVVH6KrkRRaAudn9I8HXhniSPcyC/ntqzxOjMNS
6uNyMbqT0I1Ogoad6pF5S23C4t1zqOa8Y7xbEDSxmesguHDId4DKQDjGqMqHmNLGygFnujAZF8DF
820/xYpQ8RWcRLtkBINuh6Ef5B0tNRH0L7UEjGzCVTZirDBGfJ+NasrcMf4CnLp6f//Z


--=-Amd5DMEFKfxD1YQkv56i--