List Info

Thread: Patched mailutils/examples/Makefile.am




Patched mailutils/examples/Makefile.am
country flaguser name
Japan
2008-02-24 22:37:27
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:djhdownload.sv.gnu.org/cvsroot/mailutils ci
-m "2008-02-25  Darel Henman <dhenmangmail.com> nnt* 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
  $
 
-
 argcv_LDADD =
  ../lib/libmuaux.la
  $
 
+base64_LDADD =
+ ../lib/libmuaux.la
+ $
+
+decode2047_LDADD =
+ ../lib/libmuaux.la
+ $
+
+echosrv_LDADD =
+ ../lib/libmuaux.la
+ $
+
+encode2047_LDADD =
+ ../lib/libmuaux.la
+ $
+
+header_LDADD =
+ ../lib/libmuaux.la
+ $
+
+listop_LDADD =
+ ../lib/libmuaux.la
+ $
+
+
 numaddr_la_SOURCES = numaddr.c
 numaddr_la_LIBADD = $
 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


_______________________________________________
Bug-mailutils mailing list
Bug-mailutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-mailutils

Re: Patched mailutils/examples/Makefile.am
country flaguser name
Ukraine
2008-02-25 03:34:49
d.henman <dhenmangmail.com> ha escrit:

> cvs  -d:ext:djhdownload.sv.gnu.org/cvsroot/mailutils ci
-m "2008-02-25  Darel Henman <dhenmangmail.com> nnt* 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

Given the size of this patch, it seems much simpler to
remove all
individual _LDADD assignments and install a single LDADD for
them all,
instead.

> ../libargp/libmuargp.a(muinit.o): In function
`mu_app_init':
> /usr/cvs/mailutils/libargp/muinit.c:123: undefined
reference to `_mu_cfg_tree_reduce'

Please, run make -k and see if this error occurs anyplace
else.

Regards,
Sergey


_______________________________________________
Bug-mailutils mailing list
Bug-mailutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-mailutils

Re: Patched mailutils/examples/Makefile.am
country flaguser name
Japan
2008-02-27 18:19:16
Sergey,
   below is, what I belive the relavant errors resulting
from running make -k.  
I also will append the full result text file. 
> Please, run make -k and see if this error occurs
anyplace else.
> Regards,
> Sergey

I appears that the below error is the only one preventing a
clean build.

Regards,
  Darel

---- extract from appended text file showing errors:
/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
--------------------------------  end (see appeneded file
for full output)

_______________________________________________
Bug-mailutils mailing list
Bug-mailutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-mailutils

  
Re: Patched mailutils/examples/Makefile.am
country flaguser name
Ukraine
2008-02-28 04:33:00
d.henman <dhenmangmail.com> ha escrit:

>    below is, what I belive the relavant errors
resulting from running make -k.  

Thank you. I guess I have fixed it. Please update your tree
and rebuild.

Notice also, that you have forgotten to update ChangeLog to
reflect your
changes to examples/Makefile.am. Please, always provide an
appropriate
ChangeLog entry when you modify something in the CVS.

Regards,
Sergey


_______________________________________________
Bug-mailutils mailing list
Bug-mailutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-mailutils

Re: Patched mailutils/examples/Makefile.am
country flaguser name
Japan
2008-02-28 18:01:56
Sorry, I thought that the -m <message> option to cvs
was for the Changelog.
Is the following procedure then needed:

   Step 1:  Use cvs to Change the cvs file, 
mailutils/ChangeLog
   Step 2:  Then in a separate cvs invocation to commit the
file changed

If I leave -m msg off emacs will be invoked, but doing a C-x
C-s and C-x C-c to quite didn't seem to do anyghing.  I am
not familiar with cvs mode yet, and will have to study it.

Sergey Poznyakoff <graygnu.org.ua> wrote:
>>  .....
> Thank you. I guess I have fixed it. Please update your
tree and rebuild.
> 
> Notice also, that you have forgotten to update
ChangeLog to reflect your
> changes to examples/Makefile.am. Please, always provide
an appropriate
> ChangeLog entry when you modify something in the CVS.

I will correct that now.

I remember you mentioned that:
  >  "You will probably find Emacs ChangeLog mode
(C-x 4 a) helpful."
and will learn about using it.

Regards,
  darel henman 


_______________________________________________
Bug-mailutils mailing list
Bug-mailutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-mailutils

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )