[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] Kontact and e-mail appointments
From:       Berend De Schouwer <bds () jhb ! ucs ! co ! za>
Date:       2003-08-19 10:59:39
[Download RAW message or body]

Hi,

I've had a (suspected) linking error in kontact.  Whenever opening an e-mail 
with an appointment, kontact crashed.  I can fix that by hacking a libtool 
statement.  So my question are: is this a configure problem? or another 
problem?  And is the "fixed" behaviour the expected behaviour?

The message:

  kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as 
text!
  kontact: relocation error: /usr/lib/kde3/libkmailpart.so.1: undefined 
symbol: _ZN4KCal13CalendarLocalC1Ev

This appears to be a linking error.  So I trashed my cvs/kdepim directory, and 
did a fresh CVS checkout.  It still happened.  I looked at make's output.  
The following statement gets run to create libkmailpart.so.1.0.0:

/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION   -L/usr/X11R6/lib -L/usr/lib  -o libkmailpart.la -rpath 
/usr/lib/kde3 -L/usr/X11R6/lib -L/usr/lib   -version-info 1:0 kmail_part.lo 
kmailpartIface_skel.lo -lkhtml -lkspell -lkabc 
../libkdenetwork/libkdenetwork.la ../libkdepim/libkdepim.la 
../mimelib/libmimelib.la ../ktnef/lib/libktnef.la ../libksieve/libksieve.la 
libkmailcommon.la

Notice that this is missing -lkcal.  I ran it (manually) with -lkcal, and now 
I can view appointments (like plain-text messages -- not active 
attachements).

When I view an appointment I now get:

kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text!
kontact: WARNING: Invalid date: low byte=0x3BA63C00, high byte=0x1FFFFFEF
QDateTime::fromString: Parameter out of range
QDateTime::fromString: Parameter out of range

And the appointment looks like:

BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 8.5MIMEDIR/EN\nVERSION:2.0\n
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20030819T102418Z
ORGANIZER:MAILTO:SMTP:GKL@UCS.CO.ZA
ATTENDEE;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT:mailto:
CREATED:20030819T102418Z
UID:0
SEQUENCE:0
LAST-MODIFIED:20030819T102418Z
SUMMARY:Test appointment
CLASS:PUBLIC
PRIORITY:0
DTSTART;VALUE=DATE:29350930228
DTEND;VALUE=DATE:29350930301
TRANSP:OPAQUE
END:VEVENT

END:VCALENDAR

BEGIN:VCARD
VERSION:3.0
UID:2wvZ1jVUvO
N:;;;;
CLASS:
END:VCARD

-- 
Berend De Schouwer
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic