[Kde-pim] kdepim branch_3.5 kpilot build error

Jason 'vanRijn' Kasper vr at movingparts.net
Sat Apr 21 20:41:43 BST 2007


On Saturday 21 April 2007, David Jarvie wrote:
> On Friday 20 April 2007 05:08:51 Zé wrote:
> > kdepim branch_3.5 svn release 656051 build error:
> >
> > g++ -DHAVE_CONFIG_H -I./kpilot/lib
> > -I/home/mmodem/rpm/BUILD/kdepim/kpilot/lib -I.
> > -I/home/mmodem/rpm/BUILD/kdepim -I/home/mmodem/rpm/BUILD/kdepim/libkdepim
> > -I/usr/lib/qt3//include -I/usr/include -DQT_THREAD_SUPPORT -D_REENTRANT
> > -D_LARGE_FILES=1 -DHAVE_BOOST -Wno-long-long -Wundef -ansi
> > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
> > -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe
> > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wformat-security
> > -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> > -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> > -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIC -DPIC -c
> > ./kpilot/lib/libkpilot_la_all_cc.cc -o
> > ./kpilot/lib/.libs/libkpilot_la_all_cc.o
> > -Wp,-MD,./kpilot/lib/.deps/libkpilot_la_all_cc.TUlo
> > ./kpilot/lib/plugin.cc: In member function ‘void
> > ConduitAction::finished()’:
> > ./kpilot/lib/plugin.cc:472: warning: unused variable ‘pcVolatility’
> > ./kpilot/lib/pilotDateEntry.cc: At global scope:
> > ./kpilot/lib/pilotDateEntry.cc:42: error: redefinition of ‘const char*
> > default_category_names []’
> > ./kpilot/lib/pilotAddress.cc:43: error: ‘const char*
> > default_category_names [5]’ previously defined here
> > Error creating ./kpilot/lib/libkpilot_la_all_cc.lo. Exit status 1.
> > erro: Código de saída inválido do /home/mmodem/rpm/tmp/rpm-tmp.2868
> > (%build)
>
> You should report this to the kde-pim list. Until it's fixed, it should
> build successfully if you don't use --enable-final as a ./configure option.
>
> I notice that the two definitions of default_category_names are very
> similar - in the one case there is one extra category defined. Should they
> be the same? If so, it should be defined once in the program; otherwise the
> solution is to name them differently.

Got it.  Thanks for the heads' up, David!  =:)

Committed revision 656592.

-- 
 -[ Jason 'vanRijn' Kasper    //  http://movingparts.net ]-
 -[ KDE PIM Developer         //  http://www.kde.org  ]-
 -[ bash fun -> :(){ :|:&};:  //  Numbers 6:22-26 ]-
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/


More information about the kde-pim mailing list