Ticket #17 (defect)

Opened 2 years ago

Last modified 2 years ago

tinymail doesn't compile for maemo 2.x (770)

Status: closed (fixed)

Reported by: anonymous Assigned to: dirk-jan.binnema@nokia.com
Priority: major Milestone: A first release
Component: libtinymail-maemo Version: 1.0
Keywords: Cc: dirk-jan.binnema@nokia.com

Tested with newest svn at the time of writing. After running the configure inside the scratchbox with SDK2.2 (gregale) with --prefix=/opt/tinymail-maemo --with-platform=maemo, the make stops with the error:

e-iconv.c: In function `e_iconv_charset_name':
e-iconv.c:384: error: `ICONV_10646' undeclared (first use in this function)
e-iconv.c:384: error: (Each undeclared identifier is reported only once
e-iconv.c:384: error: for each function it appears in.)
make[5]: *** [e-iconv.o] Error 1
make[5]: Leaving directory `~/trunk/libtinymail-camel/camel-lite/libedataserver'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `~/trunk/libtinymail-camel/camel-lite'
make[3]: *** [all] Error 2
make[3]: Leaving directory `~/trunk/libtinymail-camel/camel-lite'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `~/trunk/libtinymail-camel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `~/trunk'
make: *** [all] Error 2

Looking at the history, the bug seems to occur right in the first version of camel-lite, when it was added to the svn repository.

Attachments

Change History

02/09/07 10:06:51: Modified by anonymous

  • component changed from libtinymail-camel to libtinymail-maemo.
  • summary changed from libtinymail-camel doesn't compile for maemo to tinymail doesn't compile for maemo 2.x (770).

Looking in surrounding code, seems like ICONV_10646 is not supposed to be a const variable, but simply a string. Adding "" around it solves the problem.

That doesn't help much though. After fixing some other typos, the roadblock for pre-3.0 maemos is libconic. So, is there no more support for 770?

02/09/07 12:18:41: Modified by pvanhoof

  • cc set to dirk-jan.binnema@nokia.com.
  • owner changed from pvanhoof to dirk-jan.binnema@nokia.com.
  • version set to 1.0.
  • milestone set to A first release.

I'll add Dirk-Jan in CC and make him owner of this bug, as he's more or less overseeing the Maemo specific library.

I indeed think we shouldn't add N800-only libraries unless the feature can be fully disabled.

04/18/07 22:50:04: Modified by pvanhoof

  • cc changed from dirk-jan.binnema@nokia.com to dirk-jan.binnema@nokia.com, murrayc@murrayc.com.

I noticed progress on this bug. Please close it if your opinion is that its fixed Dirk-Jan. I'm adding Murray in CC as it seems (from the ChangeLog? entries that you've submitted in last commit) that he has been working on this problem.

Thanks, by the way.

04/18/07 22:52:13: Modified by pvanhoof

Hmm, it looks from the original poster's log that this has not much to do with the Conic vs. Ic work that got submitted. Nevertheless, let's use this bug item to track getting libtinymail-maemo working on both the N800 and the 770 default releases (and preferably also on their hacker and upgrade- releases).

04/19/07 10:54:53: Modified by murrayc

  • cc changed from dirk-jan.binnema@nokia.com, murrayc@murrayc.com to dirk-jan.binnema@nokia.com.

Nothing to do with me, I'm afriad.

04/19/07 11:01:51: Modified by anonymous

I think I added below to e-iconv.h a long time ago; so this part of the compilation probs for 770 (and n800) should be gone now. And hopefully the libconic ones as well now...

#ifndef ICONV_10646 #define ICONV_10646 "iso-10646" #endif /*ICONV_10646*/

04/19/07 11:09:21: Modified by pvanhoof

  • status changed from new to closed.
  • resolution set to fixed.

Ok, closing in that case.

Thanks.


Add/Change #17 (tinymail doesn't compile for maemo 2.x (770))




Change Properties
Action