[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#1694: marked as done (2 compile errors & fixes on SGI IRIX 6.2)
From:       owner () bugs ! kde ! org (Stephan Kulow)
Date:       1999-11-30 14:48:00
[Download RAW message or body]

Your message dated Tue, 30 Nov 1999 16:39:03 +0100
with message-id <3843EF97.9AADD6BC@kde.org>
and subject line thanks
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; 6 Aug 1999 23:29:16 +0000
From mpuetz@unm.edu Sat Aug  7 01:29:16 1999
Received: from mlx4.unm.edu ([129.24.10.1]:13360 "HELO mlx4.unm.edu" ident: \
"NO-IDENT-SERVICE[2]") by max.tat.physik.uni-tuebingen.de with SMTP id \
                <755825-24548>; Sat, 7 Aug 1999 01:28:58 +0200
Received: (qmail 9206 invoked from network); 6 Aug 1999 23:28:32 -0000
Received: from alpha214.unm.edu (129.24.67.126)
  by mlx4.unm.edu with SMTP; 6 Aug 1999 23:28:32 -0000
From:	Mathias Puetz <mpuetz@unm.edu>
Reply-To: mpuetz@unm.edu
Organization: Advanced Materials Lab / University of New Mexico
To:	submit@bugs.kde.org
Subject: 2 compile errors & fixes on SGI IRIX 6.2
Date:	Fri, 6 Aug 1999 17:09:57 -0600
X-Mailer: KMail [version 1.0.17]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <9908061722500H.17846@alpha214.unm.edu>
Content-Transfer-Encoding: 8bit
X-KMail-Mark: 
Return-Path: <mpuetz@unm.edu>
X-Orcpt: rfc822;submit@bugs.kde.org
X-UIDL: 933982156.751251.25897

Package: kdenetwork
Version: 1.1.2 cvs

1.) In the package kdenetwork the application kmail fails to compile
since the the flock() function is not available, although configure
defines HAVE_FLOCK in config.h.

The problem is that the name of the function flock collides
with a structure of name flock. Here is some excerpt of the
sys/file.h header file where flock() is defined which describes
the problem and also the necessary workaround (#define _BSD_COMPAT)
on IRIX:

#if !defined(__cplusplus) || defined(_BSD_COMPAT)
/*
 * In C++, struct flock from <sys/fcntl.h> collides with flock(3B)'s name.
 * Require C++ users to define _BSD_COMPAT to get the flock prototype.
 */
extern int flock(int, int);
#endif /* !__cplusplus || _BSD_COMPAT */

suggested fix is

#ifdef __sgi__
#define _BSD_COMPAT
#endif

before the inclusion of sys/file.h in kmfolder.cpp

2.) ktalkd makes use of the function snprintf() which is not available
on IRIX 6.x platforms. Please include the source of the function
snprintf() (e.g. taken from the glibc-sources) and link it
on those platforms or eliminate the use of snprintf() completely.

Best regards,
Mathias

--
 ______________
/              \
> Mathias Puetz \__________________________________
> \
> Advanced Materials Lab (University of New Mexico) \
> 1001 University SE, Albuquerque, NM 87106         |
> \|/                       |
> phone: (505)272-7132    -O-    fax: (505)272-7336 |
> /|\                       | 
> \|/    email: mpuetz@alpha214.unm.edu    \|/    |
\___/o\________or puetz@mpip-mainz.mpg.de____/o\____/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic