bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function n


From: Kostas Zorbadelos
Subject: Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented
Date: Tue, 28 Jun 2005 18:55:19 +0300
User-agent: Mutt/1.5.9i

On Fri, Jun 24, 2005 at 04:02:48PM +0300, Sergey Poznyakoff wrote:
> Kostas Zorbadelos <address@hidden> wrote:
>
Hello Sergey
 
> > I recompiled and linked (dynamically) my program with the new
> > libraries (attached is the Makefile) and...magic! The fileinto action
> > worked OK. 
> 
> Wow:)
>   
> > The behaviour is now OK. However this keeps us from discovering the
> > problem in the standard Debian packages. I will send you gdb traces
> > with the standard Debian libraries if that will help.
> 
> Yes, please do. 
>  

I re-compiled my program with the standard Debian Sarge mailutils
libraries (attached Makefile). Here is the relevant gdb output, I hope it
helps. I would like to have a statically linked version of my program
but I seem to have trouble producing it with the command

gcc -static -g -ggdb -L/usr/lib -o testsieve testsieve.c -lmailbox -lmu_mbox 
-lmu_maildir -lmu_mh -lsieve

I get various undefined symbols messages. Do you have any suggestion
as to how to construct the statically linked version?

=========== GDB output with the dynamically linked version ===============

address@hidden(1)[06:37 PM]~/WorkingArea/trunk/mda>gdb testsieve
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

(gdb) break message_save_to_mailbox
Function "message_save_to_mailbox" not defined.
Make breakpoint pending on future shared library load? (y or [n])
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break message_save_to_mailbox
Function "message_save_to_mailbox" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (message_save_to_mailbox) pending.
(gdb) info breakpoints
Num Type           Disp Enb Address    What
1   breakpoint     keep y   <PENDING>  message_save_to_mailbox
(gdb) run file://home/kzorba/Maildir/ filters.sieve
Starting program: /home/kzorba/WorkingArea/trunk/mda/testsieve 
file://home/kzorba/Maildir/ filters.sieve
[Thread debugging using libthread_db enabled]
[New Thread 1075970176 (LWP 29440)]
Breakpoint 2 at 0x4003a1c3
Pending breakpoint "message_save_to_mailbox" resolved
Giannakis Eleftherios <address@hidden>        google search tips
Christos KK Loverdos <address@hidden>       MIT OpenCourseWare
Dimitris Paouris <address@hidden>      yphresia relay.otenet.gr
"Papanikolaou Pandelis" <address@hidden>    Weekly Meeting
"HR Bulletin" <address@hidden> =?iso-8859-7?B?yeH08fzyIMXx4+Hz3+Hy?=
Kostas Zorbadelos <address@hidden>    Interesting link
Costas Tavernarakis <address@hidden>   Re: Sendmail configs centralized...
Vassilis Boulogiorgos <address@hidden>   Calendar + Access Manager Servers 
issues
Sergey Poznyakoff <address@hidden>     Re: [bug-mailutils] [Error] fileinto: 
cannot save to mailbox: Function not implemented
[Switching to Thread 1075970176 (LWP 29440)]

Breakpoint 2, 0x4003a1c3 in message_save_to_mailbox () from 
/usr/lib/libmailbox.so.0
(gdb) show args
Argument list to give program being debugged when it is started is 
"file://home/kzorba/Maildir/ filters.sieve".
(gdb) s
Single stepping until exit from function message_save_to_mailbox,
which has no line number information.
0x400760ff in sieve_action_fileinto () from /usr/lib/libsieve.so.0
(gdb) s
Single stepping until exit from function sieve_action_fileinto,
which has no line number information.
fileinto: cannot save to mailbox: Function not implemented
0x400799a7 in instr_line () from /usr/lib/libsieve.so.0
(gdb) bt
#0  0x400799a7 in instr_line () from /usr/lib/libsieve.so.0
#1  0x40079a78 in instr_action () from /usr/lib/libsieve.so.0
#2  0x4007a097 in sieve_run () from /usr/lib/libsieve.so.0
#3  0x4007a2d6 in sieve_message () from /usr/lib/libsieve.so.0
#4  0x08048ef5 in main (argc=3, argv=0xbffff9d4) at testsieve.c:100
(gdb)                                                                           
                                                   

-- 
  Kostas Zorbadelos
  Systems Designer/Developer, Otenet SA 
  address@hidden contact: kzorba (at) otenet.gr
  
  Out there in the darkness, out there in the night
  out there in the starlight, one soul burns brighter
  than a thousand suns.

Attachment: Makefile
Description: Text document

Attachment: filters.sieve
Description: Text document


reply via email to

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