Re: [Evolution] Trouble Building Evolution 2.22.1 on Darwin/Pkgsrc



I'm trying (without success) to build Evolution 2.22.1 on MacOS 10.5.2
with NetBSD pkgsrc.

Don't assume people here have any idea what "pkgsrc" is.

 building Evo, itself, fails on link, with a
 duplicate symbol error, on _vfolder_store.

Both em-folder-browser.c and mail-vfolder.c define the non-static
global variable vfolder_store. This is perfectly legal in C as long as
both don't define an initial value for it (neither does). Although I
guess one could argue, that as what is being linked from the object
files here is a shared library and not a "normal" executable, we are
in implementation-defined territory. Anyway, clearly it would be
better and cleaner if one of the definitions was changed into an
extern declaration instead.

--tml



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