Your message dated Wed, 28 Jul 1999 11:33:05 +0200 with message-id <379ECE51.92C6DF83@tu-harburg.de> and subject line Bug#1621: Compilation error in 1.1.2pre for target hppa1.1-hp-hpux10.20 has caused the attached bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I'm talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Stephan Kulow (administrator, KDE bugs database) Received: (at submit) by bugs.kde.org; 28 Jul 1999 07:18:58 +0000 From Stefan.Becker@nmp.nokia.com Wed Jul 28 09:18:58 1999 Received: from mgw-x2.nokia.com ([131.228.20.22]:3546 "EHLO mgw-x2.nokia.com" ident: "NO-IDENT-SERVICE[2]") by max.tat.physik.uni-tuebingen.de with ESMTP id <748085-214>; Wed, 28 Jul 1999 09:18:41 +0200 Received: from mgw-i2.ntc.nokia.com (mgw-i2.ntc.nokia.com [131.228.118.61]) by mgw-x2.nokia.com (8.9.3/8.9.3) with ESMTP id KAA07956 for ; Wed, 28 Jul 1999 10:18:38 +0300 (EETDST) From: Stefan.Becker@nmp.nokia.com Received: from samail01.nmp.nokia.com (samail01.nmp.nokia.com [131.228.240.6]) by mgw-i2.ntc.nokia.com (8.9.3/8.9.3) with ESMTP id KAA15579 for ; Wed, 28 Jul 1999 10:18:37 +0300 (EETDST) Received: from localhost (root@localhost) by samail01.nmp.nokia.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id KAA12770 for submit@bugs.kde.org; Wed, 28 Jul 1999 10:29:57 +0300 (EETDST) X-OpenMail-Hops: 2 Date: Wed, 28 Jul 1999 09:17:01 +0200 Message-Id: Subject: Compilation error in 1.1.2pre for target hppa1.1-hp-hpux10.20 TO: submit@bugs.kde.org Encoding: 71 text Return-Path: X-Orcpt: rfc822;submit@bugs.kde.org X-UIDL: 933146338.50606.8801 Package: kvt Version: 1.1.2pre 1) HP-UX doesn't have seteuid(). Configure checks for this and undefines HAVE_SETEUID in config.h, but the redefinitions are missing in kvt's code :-) 2) One source files defines _TERMIOS_INCLUDED when compiled under HP-UX and thus termios.h will not be included at all anymore, leading to a compilation error. Here are the needed patches to fix the problem: --------------------------- CUT HERE --------------------------------- --- kdebase/kvt/command.c~ Tue Jun 8 11:09:22 1999 +++ kdebase/kvt/command.c Fri Jul 23 16:59:53 1999 @@ -41,7 +41,7 @@ #include "debug.h" #if defined (_HPUX_SOURCE) -#define _TERMIOS_INCLUDED +/* #define _TERMIOS_INCLUDED */ #include #endif /* sgis have /dev/ptmx [bmg] */ @@ -95,6 +95,10 @@ #include "command.h" #include "screen.h" #include "xsetup.h" + +#if !defined(HAVE_SETEUID) +#define seteuid(_eu) setresuid(-1, _eu, -1) +#endif #if defined(VDISCRD) && !defined(VDISCARD) #define VDISCARD VDISCRD --- kdebase/kvt/utmp.c~ Tue Jun 8 11:09:22 1999 +++ kdebase/kvt/utmp.c Fri Jul 23 17:00:12 1999 @@ -93,6 +93,10 @@ #include #include +#if !defined(HAVE_SETEUID) +#define seteuid(_eu) setresuid(-1, _eu, -1) +#endif + #ifndef TTYTAB #define TTYTAB "/etc/ttys" #endif --- kdebase/kvt/main.C~ Mon Jul 12 14:22:27 1999 +++ kdebase/kvt/main.C Fri Jul 23 17:00:48 1999 @@ -46,6 +46,10 @@ #include "main.h" +#if !defined(HAVE_SETEUID) +#define seteuid(_eu) setresuid(-1, _eu, -1) +#endif + extern "C" { extern void *safemalloc(int, const char *identifier); extern void get_token(); --------------------------- CUT HERE --------------------------------- Regards, Stefan --- Stefan Becker E-Mail: Stefan.Becker@nmp.nokia.com