bug-mailutils
[Top][All Lists]
Advanced

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

[bug-mailutils] Patched mailutils/examples/Makefile.am


From: d.henman
Subject: [bug-mailutils] Patched mailutils/examples/Makefile.am
Date: Mon, 25 Feb 2008 13:37:27 +0900

There were still some dependency problems in the  mailutils/examples. I 
followed Sergey's solution for aclck.c to correct the problem.  I applied the 
patch shown at the bottom of this message using the below line. 

cvs  -d:ext:address@hidden/cvsroot/mailutils ci -m "2008-02-25  Darel Henman 
<address@hidden> \n\n\t* examples/Makefile.am:  Added a missing getopt, optarg, 
optind dependency for the following files: base64.c, decode2047.c, echosrv.c, 
encode2
047.c, header.c, and listop.c.  This change adds the <filename>_LDADD for 
them."  mailutils/examples/Makefile.am


--- mailutils/examples/Makefile.am      2008-02-22 01:38:10.000000000 +0900
+++ mailutils/examples/Makefile.am.newest       2008-02-25 12:37:39.843750000 
+0900
@@ -61,11 +61,35 @@
  ../lib/libmuaux.la\
  ${MU_LIB_MAILUTILS}
 
-
 argcv_LDADD =\
  ../lib/libmuaux.la\
  ${MU_LIB_MAILUTILS}
 
+base64_LDADD =\
+ ../lib/libmuaux.la\
+ ${MU_LIB_MAILUTILS}
+
+decode2047_LDADD =\
+ ../lib/libmuaux.la\
+ ${MU_LIB_MAILUTILS}
+
+echosrv_LDADD =\
+ ../lib/libmuaux.la\
+ ${MU_LIB_MAILUTILS}
+
+encode2047_LDADD =\
+ ../lib/libmuaux.la\
+ ${MU_LIB_MAILUTILS}
+
+header_LDADD =\
+ ../lib/libmuaux.la\
+ ${MU_LIB_MAILUTILS}
+
+listop_LDADD =\
+ ../lib/libmuaux.la\
+ ${MU_LIB_MAILUTILS}
+
+
 numaddr_la_SOURCES = numaddr.c
 numaddr_la_LIBADD = ${MU_LIB_SIEVE}
 numaddr_la_LDFLAGS = -module -avoid-version -no-undefined
--- end of patch


Note that there is still a build problem in this directory, even after this 
patch, which I haven't solved.  Please the build error message below:

make[3]: Entering directory `/usr/cvs/mailutils/examples'
/bin/sh ../libtool --tag=CC   --mode=link /usr/local/bin/gcc  -g -O2 
../mailbox/libmailutils.la -lintl -liconv  -o muemail.exe muemail.o 
../libargp/libmuargp.a ../libcfg/libmucfg.la ../lib/libmuaux.la -lcrypt 
-lresolv  -lpthread -lgdbm
/usr/local/bin/gcc -g -O2 -o muemail.exe muemail.o  
../mailbox/.libs/libmailutils.a -L/usr/lib /usr/lib/libintl.dll.a 
/usr/lib/libiconv.dll.a ../libargp/libmuargp.a ../libcfg/.libs/libmucfg.a 
../lib/.libs/libmuaux.a -lcrypt -lresolv -lpthread /usr/lib/li
bgdbm.dll.a
../libargp/libmuargp.a(muinit.o): In function `mu_app_init':
/usr/cvs/mailutils/libargp/muinit.c:123: undefined reference to 
`_mu_cfg_tree_reduce'
/usr/cvs/mailutils/libargp/muinit.c:100: undefined reference to 
`_mu_cfg_format_docstring'
/usr/cvs/mailutils/libargp/muinit.c:107: undefined reference to 
`_mu_cfg_format_docstring'
/usr/cvs/mailutils/libargp/muinit.c:111: undefined reference to 
`_mu_cfg_format_docstring'
/usr/cvs/mailutils/libargp/muinit.c:114: undefined reference to 
`_mu_format_config_tree'
../libargp/libmuargp.a(common.o): In function `mu_license_argp_parser':
/usr/cvs/mailutils/libargp/common.c:201: undefined reference to 
`_mu_license_text'
../libargp/libmuargp.a(common.o): In function `mu_common_argp_parser':
/usr/cvs/mailutils/libargp/common.c:80: undefined reference to 
`_mu_print_options'
../libcfg/.libs/libmucfg.a(init.o): In function `mu_parse_config_files':
/usr/cvs/mailutils/libcfg/init.c:109: undefined reference to `_mu_parse_config'
/usr/cvs/mailutils/libcfg/init.c:116: undefined reference to `_mu_parse_config'
/usr/cvs/mailutils/libcfg/init.c:97: undefined reference to `_mu_parse_config'
../libcfg/.libs/libmucfg.a(init.o): In function `mu_libcfg_init':
/usr/cvs/mailutils/libcfg/init.c:80: undefined reference to 
`_mu_config_register_section'
collect2: ld returned 1 exit status
make[3]: *** [muemail.exe] Error 1


---
Regards,
   darel henman




reply via email to

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