bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I want to parse RFC822 header "Date:" field for an application


From: Andrew Lynch
Subject: I want to parse RFC822 header "Date:" field for an application
Date: Mon, 21 Oct 2002 17:05:03 -0700 (PDT)

 /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


*************************


Well, it was a long weekend, but I finally made the
make log as promised.  I defined
HAVE_PROGRAM_INVOCATION_NAME  in config.h but it did
not make much difference.  I am attaching my config.h
and the make log.  Does anyone know why this is
breaking the Cygwin build?

Thanks in advance for your help!

Andrew Lynch

PS, I gave it another try and was able to finally trim
out just the parse822.c routines and get them to work
so I can sort dates.  I'd rather just call on the
library but that is still an option as a work around.




__________________________________________________
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 HAVE_PROGRAM_INVOCATION_NAME 1

/* 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
make  all-recursive
make[1]: Entering directory `/home/andrew/mailutils'
Making all in include
make[2]: Entering directory `/home/andrew/mailutils/include'
Making all in mailutils
make[3]: Entering directory `/home/andrew/mailutils/include/mailutils'
Making all in gnu
make[4]: Entering directory `/home/andrew/mailutils/include/mailutils/gnu'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/andrew/mailutils/include/mailutils/gnu'
make[4]: Entering directory `/home/andrew/mailutils/include/mailutils'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/andrew/mailutils/include/mailutils'
make[3]: Leaving directory `/home/andrew/mailutils/include/mailutils'
make[3]: Entering directory `/home/andrew/mailutils/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/andrew/mailutils/include'
make[2]: Leaving directory `/home/andrew/mailutils/include'
Making all in m4
make[2]: Entering directory `/home/andrew/mailutils/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/andrew/mailutils/m4'
Making all in lib
make[2]: Entering directory `/home/andrew/mailutils/lib'
Making all in posix
make[3]: Entering directory `/home/andrew/mailutils/lib/posix'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/andrew/mailutils/lib/posix'
make[3]: Entering directory `/home/andrew/mailutils/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/andrew/mailutils/lib'
make[2]: Leaving directory `/home/andrew/mailutils/lib'
Making all in testsuite
make[2]: Entering directory `/home/andrew/mailutils/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/andrew/mailutils/testsuite'
Making all in mailbox
make[2]: Entering directory `/home/andrew/mailutils/mailbox'
Making all in include
make[3]: Entering directory `/home/andrew/mailutils/mailbox/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/andrew/mailutils/mailbox/include'
Making all in testsuite
make[3]: Entering directory `/home/andrew/mailutils/mailbox/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/andrew/mailutils/mailbox/testsuite'
make[3]: Entering directory `/home/andrew/mailutils/mailbox'
/bin/bash ../libtool --mode=link gcc -DSITE_VIRTUAL_PWDDIR=\"\" -g -O2   -o 
libmailbox.la -rpath /usr/local/lib -version-info 0:0:0 address.lo argcv.lo 
attachment.lo attribute.lo auth.lo body.lo debug.lo envelope.lo file_stream.lo 
filter.lo filter_rfc822.lo filter_trans.lo folder.lo folder_imap.lo 
folder_mbox.lo folder_mh.lo folder_pop.lo header.lo iterator.lo list.lo 
locker.lo mailbox.lo mailer.lo mapfile_stream.lo mbx_default.lo mbx_file.lo 
mbx_imap.lo mbx_mbox.lo mbx_mh.lo mbx_pop.lo md5.lo message.lo memory_stream.lo 
mime.lo monitor.lo mu_argp.lo mu_auth.lo mutil.lo muerror.lo muerrno.lo 
observer.lo parse822.lo property.lo registrar.lo sendmail.lo smtp.lo stream.lo 
system.lo tcp.lo ticket.lo url.lo url_file.lo url_imap.lo url_mbox.lo url_mh.lo 
url_path.lo url_pop.lo url_sendmail.lo url_smtp.lo wicket.lo getline.lo 
strndup.lo strnlen.lo strchrnul.lo argp-ba.lo argp-eexst.lo argp-fmtstream.lo 
argp-fs-xinl.lo argp-help.lo argp-parse.lo argp-pv.lo argp-pvh.lo argp-xinl.lo 
-lcrypt  -lpthread
rm -fr  .libs/libmailbox.dll.a
gcc -shared  .libs/address.o .libs/argcv.o .libs/attachment.o .libs/attribute.o 
.libs/auth.o .libs/body.o .libs/debug.o .libs/envelope.o .libs/file_stream.o 
.libs/filter.o .libs/filter_rfc822.o .libs/filter_trans.o .libs/folder.o 
.libs/folder_imap.o .libs/folder_mbox.o .libs/folder_mh.o .libs/folder_pop.o 
.libs/header.o .libs/iterator.o .libs/list.o .libs/locker.o .libs/mailbox.o 
.libs/mailer.o .libs/mapfile_stream.o .libs/mbx_default.o .libs/mbx_file.o 
.libs/mbx_imap.o .libs/mbx_mbox.o .libs/mbx_mh.o .libs/mbx_pop.o .libs/md5.o 
.libs/message.o .libs/memory_stream.o .libs/mime.o .libs/monitor.o 
.libs/mu_argp.o .libs/mu_auth.o .libs/mutil.o .libs/muerror.o .libs/muerrno.o 
.libs/observer.o .libs/parse822.o .libs/property.o .libs/registrar.o 
.libs/sendmail.o .libs/smtp.o .libs/stream.o .libs/system.o .libs/tcp.o 
.libs/ticket.o .libs/url.o .libs/url_file.o .libs/url_imap.o .libs/url_mbox.o 
.libs/url_mh.o .libs/url_path.o .libs/url_pop.o .libs/url_sendmail.o 
.libs/url_smtp.o .libs/wicket.o .libs/getline.o .libs/strndup.o .libs/strnlen.o 
.libs/strchrnul.o .libs/argp-ba.o .libs/argp-eexst.o .libs/argp-fmtstream.o 
.libs/argp-fs-xinl.o .libs/argp-help.o .libs/argp-parse.o .libs/argp-pv.o 
.libs/argp-pvh.o .libs/argp-xinl.o  -lcrypt -lpthread  -o 
.libs/cygmailbox-0.dll -Wl,--image-base=0x10000000 
-Wl,--out-implib,.libs/libmailbox.dll.a
Creating library file: .libs/libmailbox.dll.a
.libs/argp-help.o: In function `argp_state_help':
/home/andrew/mailutils/mailbox/argp-help.c:1697: undefined reference to 
`program_invocation_short_name'
.libs/argp-help.o: In function `argp_error':
/home/andrew/mailutils/mailbox/argp-help.c:1727: undefined reference to 
`program_invocation_short_name'
.libs/argp-help.o: In function `argp_failure':
/home/andrew/mailutils/mailbox/argp-help.c:1765: undefined reference to 
`program_invocation_short_name'
.libs/argp-parse.o: In function `argp_default_parser':
/home/andrew/mailutils/mailbox/argp-parse.c:123: undefined reference to 
`program_invocation_name'
/home/andrew/mailutils/mailbox/argp-parse.c:132: undefined reference to 
`program_invocation_name'
/home/andrew/mailutils/mailbox/argp-parse.c:132: undefined reference to 
`program_invocation_short_name'
/home/andrew/mailutils/mailbox/argp-parse.c:135: undefined reference to 
`program_invocation_short_name'
/home/andrew/mailutils/mailbox/argp-parse.c:140: undefined reference to 
`program_invocation_name'
.libs/argp-parse.o: In function `parser_init':
/home/andrew/mailutils/mailbox/argp-parse.c:608: undefined reference to 
`program_invocation_short_name'
.libs/argp-parse.o: In function `parser_parse_next':
/home/andrew/mailutils/mailbox/argp-parse.c:841: undefined reference to 
`getopt_long_only'
collect2: ld returned 1 exit status
make[3]: *** [libmailbox.la] Error 1
make[3]: Leaving directory `/home/andrew/mailutils/mailbox'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andrew/mailutils/mailbox'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andrew/mailutils'
make: *** [all] Error 2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]