[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: I want to parse RFC822 header "Date:" field for an application
From: |
Andrew Lynch |
Subject: |
RE: I want to parse RFC822 header "Date:" field for an application |
Date: |
Sat, 19 Oct 2002 18:17:47 -0700 (PDT) |
Alain and others:
>
> --0-1078182170-1034904521=:43381
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
>
> --- Andrew Lynch wrote:
> As promised, here is the make log where the link
stage
> breaks down on a mailutils "make" on Cygwin.
>
> Thanks in advance for any help.
>
/home/andrew/mailutils/mailbox/argp-help.c:1697:
undefined reference to `program_invocation_short_name'
The variables:
char *program_invocation_short_name
char *program_invocation_name
are define in mailutils/lib/pin.c
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifndef HAVE_PROGRAM_INVOCATION_NAME
char *program_invocation_short_name = 0;
char *program_invocation_name = 0;
#endif
Do you have define in config.h
HAVE_PROGRAM_INVOCATION_NAME ?
Search for PROGRAM in config.h and see if they are
declared.
*******************
First, Thank you for your help.
I did search config.h and found that the above was not
defined. I have attached my config.h for review. Why
do you think the flag was not defined? Is there a bug
in the configure script? Is my Cygwin improperly
configured?
I will try defining the flag and see if it completes
the "make". Then I will post another make log with
the results.
Thanks again for your reply.
Andrew Lynch
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.ac 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 to 1 if using `alloca.c'. */
/* #undef C_ALLOCA */
/* Guile version number: MAX*10 + MIN */
/* #undef GUILE_VERSION */
/* Define to 1 if you have `alloca', as a function or macro. */
#define HAVE_ALLOCA 1
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
#define HAVE_ALLOCA_H 1
/* Define to 1 if you have the <argp.h> header file. */
/* #undef HAVE_ARGP_H */
/* Define to 1 if you have the `argp_parse' function. */
/* #undef HAVE_ARGP_PARSE */
/* Define to 1 if you have the <crypt.h> header file. */
#define HAVE_CRYPT_H 1
/* Define to 1 if you have the <dbm.h> header file. */
/* #undef HAVE_DBM_H */
/* Define to 1 if you have the <db.h> header file. */
/* #undef HAVE_DB_H */
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
don't. */
#define HAVE_DECL_ASPRINTF 1
/* Define to 1 if you have the declaration of `crypt', and to 0 if you don't.
*/
#define HAVE_DECL_CRYPT 1
/* Define to 1 if you have the declaration of `environ', and to 0 if you
don't. */
#define HAVE_DECL_ENVIRON 1
/* Define to 1 if you have the declaration of `strchrnul', and to 0 if you
don't. */
#define HAVE_DECL_STRCHRNUL 0
/* Define to 1 if you have the declaration of `strndup', and to 0 if you
don't. */
#define HAVE_DECL_STRNDUP 1
/* Define to 1 if you have the declaration of `strtok_r', and to 0 if you
don't. */
#define HAVE_DECL_STRTOK_R 1
/* Define to 1 if you have the declaration of `vasprintf ', and to 0 if you
don't. */
#define HAVE_DECL_VASPRINTF_ 1
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define if the malloc check has been performed. */
#define HAVE_DONE_WORKING_MALLOC_CHECK 1
/* Define if the realloc check has been performed. */
#define HAVE_DONE_WORKING_REALLOC_CHECK 1
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `fgetpwent' function. */
/* #undef HAVE_FGETPWENT */
/* Define to 1 if your system has a working `fnmatch' function. */
#define HAVE_FNMATCH 1
/* Define to 1 if you have the <gdbm.h> header file. */
/* #undef HAVE_GDBM_H */
/* Define to 1 if you have the `getdelim' function. */
/* #undef HAVE_GETDELIM */
/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1
/* Define to 1 if you have the `getpass' function. */
#define HAVE_GETPASS 1
/* Define if your system has the three ???utent functions */
#define HAVE_GETUTENT_CALLS
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Define to 1 if you have the `crypt' library (-lcrypt). */
#define HAVE_LIBCRYPT 1
/* Define to 1 if you have the <libgen.h> header file. */
/* #undef HAVE_LIBGEN_H */
/* Define to 1 if you have the `resolv' library (-lresolv). */
/* #undef HAVE_LIBRESOLV */
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mkstemp' function. */
#define HAVE_MKSTEMP 1
/* Define to 1 if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */
/* Define this if you have mysql libraries */
/* #undef HAVE_MYSQL */
/* Define to 1 if you have the <ndbm.h> header file. */
/* #undef HAVE_NDBM_H */
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define if GNU obstack is present */
/* #undef HAVE_OBSTACK */
/* Define to 1 if you have the <obstack.h> header file. */
/* #undef HAVE_OBSTACK_H */
/* Define to 1 if you have the <paths.h> header file. */
#define HAVE_PATHS_H 1
/* Define if the variable program_invocation_name exists */
/* #undef HAVE_PROGRAM_INVOCATION_NAME */
/* Define to 1 if you have the <pthread.h> header file. */
#define HAVE_PTHREAD_H 1
/* Define to 1 if you have the `pthread_rwlock_init' function. */
/* #undef HAVE_PTHREAD_RWLOCK_INIT */
/* Define to 1 if you have the <readline/readline.h> header file. */
#define HAVE_READLINE_READLINE_H 1
/* Define to 1 if you have the `rl_completion_matches' function. */
#define HAVE_RL_COMPLETION_MATCHES 1
/* Define if you have scm_cell function */
/* #undef HAVE_SCM_CELL */
/* Define to 1 if you have the `scm_c_define' function. */
/* #undef HAVE_SCM_C_DEFINE */
/* Define to 1 if you have the `scm_c_lookup' function. */
/* #undef HAVE_SCM_C_LOOKUP */
/* Define to 1 if you have the `scm_list_1' function. */
/* #undef HAVE_SCM_LIST_1 */
/* Define to 1 if you have the `scm_list_n' function. */
/* #undef HAVE_SCM_LIST_N */
/* Define to 1 if you have the `scm_long2num' function. */
/* #undef HAVE_SCM_LONG2NUM */
/* Define to 1 if you have the <security/pam_appl.h> header file. */
/* #undef HAVE_SECURITY_PAM_APPL_H */
/* Define to 1 if you have the `setenv' function. */
#define HAVE_SETENV 1
/* Define to 1 if you have the `seteuid' function. */
#define HAVE_SETEUID 1
/* Define to 1 if you have the `setresuid' function. */
/* #undef HAVE_SETRESUID */
/* Define to 1 if you have the `setreuid' function. */
/* #undef HAVE_SETREUID */
/* Define to 1 if you have the <sgtty.h> header file. */
/* #undef HAVE_SGTTY_H */
/* Define to 1 if you have the <shadow.h> header file. */
/* #undef HAVE_SHADOW_H */
/* Define to 1 if you have the `sigaction' function. */
#define HAVE_SIGACTION 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the <socket.h> header file. */
/* #undef HAVE_SOCKET_H */
/* Define to 1 if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H 1
/* Define to 1 if you have the <stdint.h> header file. */
/* #undef HAVE_STDINT_H */
/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strncasecmp' function. */
#define HAVE_STRNCASECMP 1
/* Define to 1 if you have the `strsignal' function. */
#define HAVE_STRSIGNAL 1
/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
/* #undef HAVE_STRUCT_TM_TM_GMTOFF */
/* Define to 1 if `tm_isdst' is member of `struct tm'. */
#define HAVE_STRUCT_TM_TM_ISDST 1
/* Define to 1 if `tm_zone' is member of `struct tm'. */
/* #undef HAVE_STRUCT_TM_TM_ZONE */
/* Define to 1 if you have the `sysconf' function. */
#define HAVE_SYSCONF 1
/* Define to 1 if you have the <sysexits.h> header file. */
#define HAVE_SYSEXITS_H 1
/* Define to 1 if you have the <syslog.h> header file. */
#define HAVE_SYSLOG_H 1
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <termcap.h> header file. */
#define HAVE_TERMCAP_H 1
/* Define to 1 if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
/* Define to 1 if you have the <termio.h> header file. */
#define HAVE_TERMIO_H 1
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
`HAVE_STRUCT_TM_TM_ZONE' instead. */
/* #undef HAVE_TM_ZONE */
/* Define to 1 if you don't have `tm_zone' but do have the external array
`tzname'. */
#define HAVE_TZNAME 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the <utmpx.h> header file. */
/* #undef HAVE_UTMPX_H */
/* Define to 1 if you have the <utmp.h> header file. */
#define HAVE_UTMP_H 1
/* Define to 1 if you have the `vasprintf' function. */
/* #undef HAVE_VASPRINTF */
/* Define to 1 if you have the `vfork' function. */
#define HAVE_VFORK 1
/* Define to 1 if you have the `vsyslog' function. */
/* #undef HAVE_VSYSLOG */
/* Define to 1 if you have the `_exit' function. */
#define HAVE__EXIT 1
/* Define to 1 if you have the `_obstack_begin' function. */
/* #undef HAVE__OBSTACK_BEGIN */
/* Default syslog facility to use */
#define LOG_FACILITY LOG_MAIL
/* Pathname of the configuration directory */
/* #undef MU_CONF_MAILDIR */
/* Name of package */
#define PACKAGE "mailutils"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "address@hidden"
/* Define to the full name of this package. */
#define PACKAGE_NAME "GNU Mailutils"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "GNU Mailutils 0.1.1"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "mailutils"
/* Define to the version of this package. */
#define PACKAGE_VERSION "0.1.1"
/* Define if program_invocation_name is declared in argp.h */
/* #undef PROGRAM_INVOCATION_NAME_DECLARED */
/* Define if compiler has function prototypes */
#define PROTOTYPES 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* 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 to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if `sys_siglist' is declared by <signal.h> or <unistd.h>. */
/* #undef SYS_SIGLIST_DECLARED */
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */
/* Enable use of PAM */
/* #undef USE_LIBPAM */
/* Enable use of virtual domains */
/* #undef USE_VIRTUAL_DOMAINS */
/* Version number of package */
#define VERSION "0.1.1"
/* Enable use of Berkeley DB */
/* #undef WITH_BDB2 */
/* Enable use of GNU DBM library */
/* #undef WITH_GDBM */
/* Define if mailutils is using GSSAPI */
/* #undef WITH_GSSAPI */
/* Enable Guile support */
/* #undef WITH_GUILE */
/* Enable use of NDBM */
/* #undef WITH_NDBM */
/* Enable use of old DBM library */
/* #undef WITH_OLD_DBM */
/* Define this to enable POSIX threads safety */
#define WITH_PTHREAD 1
/* Enable use of readline */
#define WITH_READLINE 1
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */
#define YYTEXT_POINTER 1
/* Reentrant calls */
#define _REENTRANT 1
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to unsigned long if <sys/types.h> does not define */
/* #undef dev_t */
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef gid_t */
/* Define to unsigned long if <sys/types.h> does not define */
/* #undef ino_t */
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef mode_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 rpl_realloc if the replacement function should be used. */
/* #undef realloc */
/* Define to `unsigned' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to int if <sys/types.h> does not define */
/* #undef socklen_t */
/* Define to int if <sys/types.h> does not define */
/* #undef ssize_t */
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef uid_t */
#ifdef HAVE_PATHS_H
# include <paths.h>
#endif
#ifndef _PATH_MAILDIR
# if (defined(sun) && defined(__svr4__)) || defined(__SVR4)
# define _PATH_MAILDIR "/var/mail"
# else
# define _PATH_MAILDIR "/usr/spool/mail"
# endif
#endif
#ifdef MU_CONF_MAILDIR
# define MU_PATH_MAILDIR MU_CONF_MAILDIR
#else
# define MU_PATH_MAILDIR _PATH_MAILDIR "/"
#endif
#if !HAVE_DECL_STRTOK_R
extern char *strtok_r (char *s, const char *delim, char **save_ptr);
#endif
#ifndef PROGRAM_INVOCATION_NAME_DECLARED
extern char *program_invocation_short_name;
extern char *program_invocation_name;
#endif
#if !HAVE_DECL_CRYPT
char *crypt(const char *key, const char *salt);
#endif
/* Newer versions of readline have rl_completion_matches */
#ifndef HAVE_RL_COMPLETION_MATCHES
# define rl_completion_matches completion_matches
#endif
- I want to parse RFC822 header "Date:" field for an application, Andrew Lynch, 2002/10/15
- Re: I want to parse RFC822 header "Date:" field for an application, Andrew Lynch, 2002/10/18
- Re: I want to parse RFC822 header "Date:" field for an application, Andrew Lynch, 2002/10/18
- RE: I want to parse RFC822 header "Date:" field for an application,
Andrew Lynch <=
- I want to parse RFC822 header "Date:" field for an application, Andrew Lynch, 2002/10/21
- Re: I want to parse RFC822 header "Date:" field for an application, Andrew Lynch, 2002/10/21
- I want to parse RFC822 header "Date:" field for an application, Andrew Lynch, 2002/10/21
- Re: I want to parse RFC822 header "Date:" field for an application, Andrew Lynch, 2002/10/21
- I want to parse RFC822 header "Date:" field for an application, Andrew Lynch, 2002/10/22
- Re: I want to parse RFC822 header "Date:" field for an application, Andrew Lynch, 2002/10/24