[kde-solaris] Installation Problem in kdelibs-3.0.4

hep_mkj kde-solaris@mail.kde.org
Tue Oct 29 18:14:01 2002


This is a multi-part message in MIME format.
--------------52A6E261DD5221512F7665DC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dear Sir,
         Hello.
I am facing severe problem in installing  kdelibs-3.0.4. The
specification  of my system is 'SunOS dusun3 5.8 Generic_108528-07 sun4u

sparc SUNW,Ultra-5_10'. The gcc version I am using is 3.0.3. The
installation passes quitely with the command './configure'.  After I
used command 'make' for compiling, the error I faced ;-


               "     dcopclient.cpp: In constructor
`DCOPClient::DCOPClient()':
dcopclient.cpp:505: no method `QObject::__xnet_connect'
dcopclient.cpp: In member function `void DCOPClient::bindToApp()':
dcopclient.cpp:554: no method `QObject::__xnet_connect'
*** Error code 1
make: Fatal error: Command failed for target `dcopclient.lo'
Current working directory
/appl/hadron/sun_utilities/kde/kdelibs-3.0.4/dcop
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/appl/hadron/sun_utilities/kde/kdelibs-3.0.4/dcop
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /appl/hadron/sun_utilities/kde/kdelibs-3.0.4
*** Error code 1
make: Fatal error: Command failed for target `all'    "

 I have also edited the config.h file as mentioned in one of the email.
I am forwarding you as an attachment. Please reply . Your help will be
highly appreciated.

With Regards,
Manoj Jha.




--------------52A6E261DD5221512F7665DC
Content-Type: text/plain; charset=us-ascii;
 name="config.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="config.h"

/* config.h.  Generated automatically by configure.  */
/* config.h.in.  Generated automatically from configure.in by autoheader.  */

/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
   systems. This function is required for `alloca.c' support on those systems.
   */
/* #undef CRAY_STACKSEG_END */

/* Define if using `alloca.c'. */
/* #undef C_ALLOCA */

/* Define if getaddrinfo returns AF_UNIX sockets */
/* #undef GETADDRINFO_RETURNS_UNIX */

/* Define if you have `alloca', as a function or macro. */
#define HAVE_ALLOCA 1

/* Define if you have the <alloca.h> header file. */
#define HAVE_ALLOCA_H 1

/* Define if you have the <alsa/asoundlib.h> header file. */
/* #undef HAVE_ALSA_ASOUNDLIB_H */

/* Define if you have the <argz.h> header file. */
/* #undef HAVE_ARGZ_H */

/* Define if you have the <awe_voice.h> header file. */
/* #undef HAVE_AWE_VOICE_H */

/* Define if execinfo.h exists and defines backtrace (GLIBC >= 2.1) */
/* #undef HAVE_BACKTRACE */

/* You _must_ have bool */
#define HAVE_BOOL 1

/* Define if getaddrinfo is broken and should be replaced */
/* #undef HAVE_BROKEN_GETADDRINFO */

/* Defines if bzip2 is compiled */
#define HAVE_BZIP2_SUPPORT 1

/* Defines if your system has the crypt function */
#define HAVE_CRYPT 1

/* Defines if you have CUPS (Common UNIX Printing System) */
#define HAVE_CUPS 1

/* Define if you have the <dirent.h> header file, and it defines `DIR'. */
#define HAVE_DIRENT_H 1

/* Define if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

/* Define if your system has Linux Directory Notification */
/* #undef HAVE_DNOTIFY */

/* Define if your system has libfam */
/* #undef HAVE_FAM */

/* Define if you have the <float.h> header file. */
#define HAVE_FLOAT_H 1

/* Define if you have the <fnmatch.h> header file. */
#define HAVE_FNMATCH_H 1

/* Define if you have the `fork' function. */
#define HAVE_FORK 1

/* Define if you have the `freeaddrinfo' function. */
#define HAVE_FREEADDRINFO 1

/* Define if you have the <fstab.h> header file. */
/* #undef HAVE_FSTAB_H */

/* Define if you have finite */
#define HAVE_FUNC_FINITE 1

/* Define if you have isinf */
/* #undef HAVE_FUNC_ISINF */

/* Define if you have isnan */
#define HAVE_FUNC_ISNAN 1

/* Define if you have _finite */
#define HAVE_FUNC__FINITE 1

/* Define if you have the `gai_strerror' function. */
#define HAVE_GAI_STRERROR 1

/* Define if getaddrinfo is present */
#define HAVE_GETADDRINFO 1

/* Define if you have the `getcwd' function. */
#define HAVE_GETCWD 1

/* Define if you have getdomainname */
#define HAVE_GETDOMAINNAME 1

/* Define if you have getdomainname prototype */
/* #undef HAVE_GETDOMAINNAME_PROTO */

/* Define if you have the `getgroups' function. */
#define HAVE_GETGROUPS 1

/* Define if you have the `gethostbyname2' function. */
/* #undef HAVE_GETHOSTBYNAME2 */

/* Define if you have the `gethostbyname2_r' function. */
/* #undef HAVE_GETHOSTBYNAME2_R */

/* Define if you have the `gethostbyname_r' function. */
/* #undef HAVE_GETHOSTBYNAME_R */

/* Define if you have gethostname */
#define HAVE_GETHOSTNAME 1

/* Define if you have gethostname prototype */
#define HAVE_GETHOSTNAME_PROTO 1

/* Define if you have the `getmntinfo' function. */
/* #undef HAVE_GETMNTINFO */

/* Define if you have the `getnameinfo' function. */
#define HAVE_GETNAMEINFO 1

/* Define if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1

/* Define if you have the `getpeereid' function. */
/* #undef HAVE_GETPEEREID */

/* Define if you have the `getpeername' function. */
/* #undef HAVE_GETPEERNAME */

/* Define if you have the `getpt' function. */
/* #undef HAVE_GETPT */

/* Define if you have the `getsockname' function. */
/* #undef HAVE_GETSOCKNAME */

/* Define if you have the `getsockopt' function. */
/* #undef HAVE_GETSOCKOPT */

/* Define if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1

/* Define if you have the `grantpt' function. */
#define HAVE_GRANTPT 1

/* Define if you have a STL implementation by HP */
/* #undef HAVE_HP_STL */

/* Define if you have the <ieeefp.h> header file. */
#define HAVE_IEEEFP_H 1

/* Define if you have the `inet_ntop' function. */
/* #undef HAVE_INET_NTOP */

/* Define if you have the `inet_pton' function. */
/* #undef HAVE_INET_PTON */

/* Define if you have the `initgroups' function. */
#define HAVE_INITGROUPS 1

/* initgroups may exist but not its prototype (e.g. AIX<4.3.3:8) */
#define HAVE_INITGROUPS_PROTO 1

/* Define if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define if your locale.h file contains LC_MESSAGES */
#define HAVE_LC_MESSAGES 1

/* Define if you have libasound.so.1 (required for ALSA 0.5.x support) */
/* #undef HAVE_LIBASOUND */

/* Define if you have libasound.so.2 (required for ALSA 0.9.x support) */
/* #undef HAVE_LIBASOUND2 */

/* Define if you have libjpeg */
#define HAVE_LIBJPEG 1

/* Define if you have libpng */
#define HAVE_LIBPNG 1

/* Define if you have a working libpthread (will enable threaded code) */
#define HAVE_LIBPTHREAD 1

/* Define if you have libtiff */
#define HAVE_LIBTIFF 1

/* Define if you have the <libutil.h> header file. */
/* #undef HAVE_LIBUTIL_H */

/* Define if you have libz */
#define HAVE_LIBZ 1

/* Define if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1

/* Define if you have the <linux/awe_voice.h> header file. */
/* #undef HAVE_LINUX_AWE_VOICE_H */

/* Define if you have the <linux/socket.h> header file. */
/* #undef HAVE_LINUX_SOCKET_H */

/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1

/* Define if you have the <machine/soundcard.h> header file. */
/* #undef HAVE_MACHINE_SOUNDCARD_H */

/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1

/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define if you want MIT-SHM support */
#define HAVE_MITSHM 1

/* Define if you have the `mkstemp' function. */
#define HAVE_MKSTEMP 1

/* Define if you have the `mkstemps' function. */
/* #undef HAVE_MKSTEMPS */

/* Define if you have a working `mmap' system call. */
#define HAVE_MMAP 1

/* Define if you have the <mntent.h> header file. */
/* #undef HAVE_MNTENT_H */

/* Define if you have the <monetary.h> header file. */
#define HAVE_MONETARY_H 1

/* Define if you have the `munmap' function. */
#define HAVE_MUNMAP 1

/* Define if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */

/* Define if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1

/* Define if you have the <nl_types.h> header file. */
#define HAVE_NL_TYPES_H 1

/* Define if you have OpenSSL < 0.9.6 */
/* #undef HAVE_OLD_SSL_API */

/* Define if you have the `openpty' function. */
/* #undef HAVE_OPENPTY */

/* Define if you have the <paths.h> header file. */
/* #undef HAVE_PATHS_H */

/* Define if you have pcreposix libraries and header files. */
#define HAVE_PCREPOSIX 1

/* Define if you have the <pthread/linuxthreads/pthread.h> header file. */
/* #undef HAVE_PTHREAD_LINUXTHREADS_PTHREAD_H */

/* Define if you have the `ptsname' function. */
#define HAVE_PTSNAME 1

/* Define if you have the <pty.h> header file. */
/* #undef HAVE_PTY_H */

/* Define if you have the `putenv' function. */
#define HAVE_PUTENV 1

/* Define if you have random */
#define HAVE_RANDOM 1

/* Define if you have the res_init function */
/* #undef HAVE_RES_INIT */

/* Define if you have the `setegid' function. */
#define HAVE_SETEGID 1

/* Define if you have the `setenv' function. */
/* #undef HAVE_SETENV */

/* Define if you have the `seteuid' function. */
#define HAVE_SETEUID 1

/* Define if you have the `setfsent' function. */
/* #undef HAVE_SETFSENT */

/* Define if you have the `setgroups' function. */
#define HAVE_SETGROUPS 1

/* Define if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1

/* Define if you have the `setmntent' function. */
/* #undef HAVE_SETMNTENT */

/* Define if you have the `setpriority' function. */
#define HAVE_SETPRIORITY 1

/* Define if you have a STL implementation by SGI */
#define HAVE_SGI_STL 1

/* if setgroups() takes short *as second arg */
/* #undef HAVE_SHORTSETGROUPS */

/* Define if you have the <sigaction.h> header file. */
/* #undef HAVE_SIGACTION_H */

/* Define if libasound has snd_pcm_resume() */
/* #undef HAVE_SND_PCM_RESUME */

/* Define if we have struct sockaddr_in6 in netinet/in.h */
#define HAVE_SOCKADDR_IN6 1

/* Define if this system already has sin6_scope_id in sockaddr_in6 */
#define HAVE_SOCKADDR_IN6_SCOPE_ID 1

/* Define if struct sockaddr has member sa_len */
/* #undef HAVE_SOCKADDR_SA_LEN */

/* Define if you have the `socket' function. */
/* #undef HAVE_SOCKET */

/* Define if you have the <socketbits.h> header file. */
/* #undef HAVE_SOCKETBITS_H */

/* If we are going to use OpenSSL */
#define HAVE_SSL 1

/* Define if you have the <stdint.h> header file. */
/* #undef HAVE_STDINT_H */

/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define if you have the `stpcpy' function. */
/* #undef HAVE_STPCPY */

/* Define if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1

/* Define if you have the `strchr' function. */
#define HAVE_STRCHR 1

/* Define if you have the `strfmon' function. */
#define HAVE_STRFMON 1

/* Define if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define if netdb.h defines struct addrinfo */
#define HAVE_STRUCT_ADDRINFO 1

/* Define if struct ucred is present from sys/socket.h */
/* #undef HAVE_STRUCT_UCRED */

/* Define if you have the <sysent.h> header file. */
/* #undef HAVE_SYSENT_H */

/* Define if you have the <sys/asoundlib.h> header file. */
/* #undef HAVE_SYS_ASOUNDLIB_H */

/* Define if you have the <sys/cdefs.h> header file. */
/* #undef HAVE_SYS_CDEFS_H */

/* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */
/* #undef HAVE_SYS_DIR_H */

/* Define if you have the <sys/mman.h> header file. */
#define HAVE_SYS_MMAN_H 1

/* Define if you have the <sys/mnttab.h> header file. */
#define HAVE_SYS_MNTTAB_H 1

/* Define if you have the <sys/mount.h> header file. */
#define HAVE_SYS_MOUNT_H 1

/* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_SYS_NDIR_H */

/* Define if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1

/* Define if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1

/* Define if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1

/* Define if you have the <sys/soundcard.h> header file. */
/* #undef HAVE_SYS_SOUNDCARD_H */

/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1

/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define if you have the <sys/ucred.h> header file. */
/* #undef HAVE_SYS_UCRED_H */

/* Define if sys/stat.h declares S_ISSOCK. */
#define HAVE_S_ISSOCK 1

/* C++ compiler supports template repository */
#define HAVE_TEMPLATE_REPOSITORY 1

/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define if you have the `unlockpt' function. */
#define HAVE_UNLOCKPT 1

/* Define if you have the `unsetenv' function. */
/* #undef HAVE_UNSETENV */

/* Define if you have the usleep function */
#define HAVE_USLEEP 1

/* Define if you have the <util.h> header file. */
/* #undef HAVE_UTIL_H */

/* Define if you have the <values.h> header file. */
#define HAVE_VALUES_H 1

/* Define if you have the `vfork' function. */
#define HAVE_VFORK 1

/* Define if you have the <vfork.h> header file. */
/* #undef HAVE_VFORK_H */

/* Define, to enable volume management (Solaris 2.x), if you have -lvolmgt */
#define HAVE_VOLMGT 1

/* Define if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1

/* Define if `fork' works. */
#define HAVE_WORKING_FORK 1

/* Define if `vfork' works. */
#define HAVE_WORKING_VFORK 1

/* Define if you have the <X11/extensions/shape.h> header file. */
#define HAVE_X11_EXTENSIONS_SHAPE_H 1

/* Define if you have the <X11/extensions/XShm.h> header file. */
#define HAVE_X11_EXTENSIONS_XSHM_H 1

/* Define if you have the <X11/ICE/ICElib.h> header file. */
#define HAVE_X11_ICE_ICELIB_H 1

/* Define if you want Xinerama support */
/* #undef HAVE_XINERAMA */

/* Defined if your system has XRender support */
/* #undef HAVE_XRENDER */

/* Define if you have the `_getpty' function. */
/* #undef HAVE__GETPTY */

/* Define if you have the `_IceTransNoListen' function. */
/* #undef HAVE__ICETRANSNOLISTEN */

/* Define if you have the </usr/src/sys/gnu/i386/isa/sound/awe_voice.h> header
   file. */
/* #undef HAVE__USR_SRC_SYS_GNU_I386_ISA_SOUND_AWE_VOICE_H */

/* Define if you have the </usr/src/sys/i386/isa/sound/awe_voice.h> header
   file. */
/* #undef HAVE__USR_SRC_SYS_I386_ISA_SOUND_AWE_VOICE_H */

/* Define if you have the `__argz_count' function. */
/* #undef HAVE___ARGZ_COUNT */

/* Define if you have the `__argz_next' function. */
/* #undef HAVE___ARGZ_NEXT */

/* Define if you have the `__argz_stringify' function. */
/* #undef HAVE___ARGZ_STRINGIFY */

/* The prefix to use as fallback */
#define KDEDIR "/usr/local/kde"

/* what C++ compiler was used for compilation */
#define KDE_COMPILER_VERSION "gcc version 3.0.3"

/* what OS used for compilation */
#define KDE_COMPILING_OS "SunOS 5.8 sun4u"

/* Distribution Text to append to OS */
#define KDE_DISTRIBUTION_TEXT "compiled sources"

/* Lookup mode for IPv6 addresses: 0 for always, 1 for check and 2 for
   disabled */
#define KDE_IPV6_LOOKUP_MODE 1

/* Use own malloc implementation */
/* #undef KDE_MALLOC */

/* Enable debugging in fast malloc */
/* #undef KDE_MALLOC_DEBUG */

/* Make alloc as fast as possible */
/* #undef KDE_MALLOC_FULL */

/* The libc used is glibc */
/* #undef KDE_MALLOC_GLIBC */

/* The platform is x86 */
/* #undef KDE_MALLOC_X86 */

/* Define the file for mount entries */
#define MTAB_FILE "/etc/mnttab"

/* Define if the libbz2 functions need the BZ2_ prefix */
#define NEED_BZ2_PREFIX 1

/* Name of package */
#define PACKAGE "kdelibs"

/* Define if you have POSIX.1b scheduling */
/* #undef POSIX1B_SCHEDULING */

/* The size of a `char', as computed by sizeof. */
#define SIZEOF_CHAR 1

/* The size of a `char *', as computed by sizeof. */
#define SIZEOF_CHAR_P 4

/* The size of a `int', as computed by sizeof. */
#define SIZEOF_INT 4

/* The size of a `long', as computed by sizeof. */
#define SIZEOF_LONG 4

/* If using the C implementation of alloca, define if you know the
   direction of stack growth for your system; otherwise it will be
   automatically deduced at run-time.
        STACK_DIRECTION > 0 => grows toward higher addresses
        STACK_DIRECTION < 0 => grows toward lower addresses
        STACK_DIRECTION = 0 => direction of growth unknown */
/* #undef STACK_DIRECTION */

/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Define if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1

/* Version number of package */
#define VERSION "3.0.3"

/* Define if using the dmalloc debugging malloc package */
/* #undef WITH_DMALLOC */

/* Define if your processor stores words with the most significant byte first
   (like Motorola and SPARC, unlike Intel and VAX). */
#define WORDS_BIGENDIAN 1

/* where rgb.txt is in */
#define X11_RGBFILE "/usr/lib/X11/rgb.txt"

/* Defines the executable of xmllint */
#define XMLLINT "/usr/local/bin/xmllint"

/* Define if you need to use the GNU extensions */
/* #undef _GNU_SOURCE */

/* KDE bindir */
#define __KDE_BINDIR "/usr/local/kde/bin"

/* execprefix or NONE if not set, for libloading */
#define __KDE_EXECPREFIX "NONE"

/* path to su */
#define __PATH_SU "/usr/bin/su"

/* Compatibility define */
#define ksize_t socklen_t

/* Define to `long' if <sys/types.h> does not define. */
/* #undef off_t */

/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */

/* Define to `unsigned' if <sys/types.h> does not define. */
/* #undef size_t */

/* Define the real type of socklen_t */
/* #undef socklen_t */

/* Define as `fork' if `vfork' does not work. */
/* #undef vfork */
/* this is included everywhere anyway (mostly indirecty)
   and we need it for socklen_t being always available */
#include <sys/types.h>

/* provide a definition for a 32 bit entity, usable as a typedef, possibly
   extended by "unsigned" */
/* #undef INT32_BASETYPE */
#ifdef SIZEOF_INT
#if SIZEOF_INT == 4
#define INT32_BASETYPE int
#endif
#endif
#if !defined(INT32_BASETYPE) && defined(SIZEOF_LONG)
#if SIZEOF_LONG == 4
#define INT32_BASETYPE long
#endif
#endif
#ifndef INT32_BASETYPE
#define INT32_BASETYPE int
#endif

/* this is needed for Solaris and others */
#ifndef HAVE_GETDOMAINNAME_PROTO
#define HAVE_GETDOMAINNAME_PROTO
#ifdef __cplusplus
extern "C"
#endif
int getdomainname (char *Name, int Namelen);
#endif

#ifndef HAVE_GETHOSTNAME_PROTO
#define HAVE_GETHOSTNAME_PROTO
#ifdef __cplusplus
extern "C"
#endif
int gethostname (char *Name, int Namelen);
#endif

/*
 * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
 * headers and I'm too lazy to write a configure test as long as only
 * unixware is related
 */
#ifdef _UNIXWARE
#define HAVE_BOOLEAN
#endif

/* random() returns a value between 0 and RANDOM_MAX.
 * RANDOM_MAX is needed to generate good random numbers. (Nicolas)
 */
#ifndef HAVE_RANDOM
#define HAVE_RANDOM
#define RANDOM_MAX 2^31
#ifdef __cplusplus
extern "C"
#endif
long int random(void); /* defined in fakes.c */
#ifdef __cplusplus
extern "C"
#endif
void srandom(unsigned int seed);
#else
/* normal random() */
#define RANDOM_MAX RAND_MAX
#endif

#ifndef HAVE_SETEUID
#define HAVE_SETEUID
#define HAVE_SETEUID_FAKE
#ifdef __cplusplus
extern "C"
#endif
int seteuid(INT32_BASETYPE euid); /* defined in fakes.c */
#endif

#ifndef HAVE_S_ISSOCK
#define HAVE_S_ISSOCK
#define S_ISSOCK(mode) (1==0)
#endif

/* this is for Tru64 Unix (alias OSF, alias Digital Unix) */

#ifdef __osf__
#if !defined(__STDC__) || !__STDC__
#define __STDC__  1
#endif
#define SOL_TCP 6
typedef unsigned int   u_int32_t;
typedef unsigned char  uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int   uint32_t;
#include <stdarg.h>          /* va_start and the like */
#define RTLD_GLOBAL 0        /* dlopen flag not known under Tru64  */
#ifndef HAVE_USLEEP          /* usleep not defined in Tru64        */
#ifdef __cplusplus
extern "C" void usleep(unsigned int);
#else
void usleep(unsigned int);
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/mount.h>
int getmntinfo(struct statfs **mntbufp, int flags);
#include <sys/fs_types.h>    /* for mnt_names[] */
#ifdef __cplusplus
}
#endif
#endif

/*
 * On HP-UX, the declaration of vsnprintf() is needed every time !
 */

#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__
#include <stdarg.h>
#include <stdlib.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C"
#endif
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
#ifdef __cplusplus
extern "C"
#endif
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif

/* Bloody HP-UX (10.20) headers don't define all the res_xxx functions,
   although they are there.  */
#if defined(hpux) && defined(HAVE_RES_INIT)
#ifdef __cplusplus
extern "C"
#endif
void res_init (void);
#endif

#if !defined(HAVE_SETENV)
#ifdef __cplusplus
extern "C"
#endif
int setenv(const char *name, const char *value, int overwrite);
#endif

#if !defined(HAVE_UNSETENV)
#ifdef __cplusplus
extern "C"
#endif
int unsetenv(const char *name);
#endif

#if !defined(HAVE_MKSTEMPS)
#ifdef __cplusplus
extern "C"
#endif
int mkstemps (char* _template, int suffix_len); /* defined in fakes.c */
#endif


#if !defined(HAVE_MKSTEMP)
#define HAVE_MKSTEMP
#ifdef __cplusplus
extern "C"
#endif
int mkstemp (char* _template); /* defined in fakes.c */
#endif

/*
 * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
 * that defines bzero.
 */

#if defined(_AIX)
#include <strings.h>
#endif

/*
 * AIX prior to 4.3.3ml8 fails to provide a declaration for initgroups()
 */
#if defined(HAVE_INITGROUPS) && !HAVE_INITGROUPS_PROTO
#include <grp.h>
#ifdef __cplusplus
extern "C"
#endif
int initgroups(char *, gid_t);  /* missing declaration in AIX < 5.1 */
#endif

/*
 * Steven Schultz <sms@to.gd-es.com> tells us :
 * BSD/OS 4.2 doesn't have a prototype for openpty in its system header files
 */
#ifdef __bsdi__
__BEGIN_DECLS
int openpty(int *, int *, char *, struct termios *, struct winsize *);
__END_DECLS
#endif


--------------52A6E261DD5221512F7665DC--