Bug #5521 Compile failure: Declaration of 'seteuid()' and 'setegid()' missing

Submitted: 10 Sep 2004 21:12 Modified: 13 Sep 2004 21:34
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:4.1.5 OS:several Unix
Assigned to: Joerg Bruehe CPU Architecture:Any

[10 Sep 2004 21:12] Joerg Bruehe
Description:
In module 'mysqld.cc', the functions 'setuid()' and 'setegid()' are called.

On (at least) the build machines "aix43" (IBM AIX, IBM xlC_r compiler), "uw713" (Unixware 7.1.3, system's CC compiler), and 'osr507' (SCO System V, GNU g++ compiler), the respective header files in which these functions are declared, are missing.

This causes the build to fail.

How to repeat:
Try a build on these platforms.
[13 Sep 2004 21:34] Joerg Bruehe
Functions 'sete_id(__)' replaced by 'setre_id(-1,__)' as these prototypes are provided in 'unistd.h'.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.