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




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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]