Build error with pidgin cross compilation

Stiju Easo <[email protected]>
Newsgroups gmane.comp.gnome.gaim.devel
Message-ID <CAD3rvcrLRqczY+O3O+zq-SKafPFseyKW3yErxBbvEDOrxTJ5Dw@mail.gmail.com>
Hi,


i have followed the cross compilation steps as mentioned below
https://developer.pidgin.im/wiki/BuildingWinPidgin#BuildPidgin

during compilation i get

*/usr/bin/i586-mingw32msvc-cc -O2 -Wall -Waggregate-return -Wcast-align
-Wdeclaration-after-statement -Werror-implicit-function-declaration -Wextra
-Wno-sign-compare -Wno-unused-parameter -Winit-self -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef
-Wstack-protector -fwrapv -fno-strict-overflow
-Wno-missing-field-initializers -Wformat-security -fstack-protector-all
--param ssp-buffer-size=1 -pipe -mms-bitfields -g -DGG_IGNORE_DEPRECATED
-DHAVE_CYRUS_SASL -DHAVE_CONFIG_H -DWIN32_LEAN_AND_MEAN
-I../../../../win32-dev/w32api/include -I../../.. -I../../../libpurple -I.
-I./lib -I../../../../win32-dev/gtk_2_0-2.14/include
-I../../../../win32-dev/gtk_2_0-2.14/include/glib-2.0
-I../../../../win32-dev/gtk_2_0-2.14/lib/glib-2.0/include
-I../../../libpurple/win32 -o gg-utils.o -c gg-utils.c*
*/usr/bin/i586-mingw32msvc-cc -shared lib/common.o lib/dcc7.o lib/dcc.o
lib/debug.o lib/deflate.o lib/encoding.o lib/endian.o lib/events.o
lib/handlers.o lib/http.o lib/libgadu.o lib/message.o lib/network.o
lib/obsolete.o lib/packets.pb-c.o lib/protobuf.o lib/protobuf-c.o
lib/pubdir50.o lib/pubdir.o lib/resolver.o lib/sha1.o lib/tvbuff.o
lib/tvbuilder.o buddylist.o confer.o gg.o search.o gg-utils.o
-L../../../../win32-dev/w32api/lib -L../../../../win32-dev/gtk_2_0-2.14/lib
-L../../../libpurple  -lglib-2.0 -lintl -lpurple -lws2_32 -lz
-Wl,--enable-auto-image-base -Wl,--enable-auto-import -Wl,--dynamicbase
-Wl,--nxcompat -lssp -o libgg.dll*
*/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/libssp.a(ssp.o):(.text+0x100):
multiple definition of `___stack_chk_fail'*
*../../../libpurple/libpurple.dll.a(d000002.o):(.text+0x0): first defined
here*


error looks because of because libssp.a should not be
from/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/libssp.a but
from../win32-dev/mingw/lib/gcc/mingw32/4.4.0/libssp.a

i think i can override the lib in local.mak
i am not sure how to do it.

-- 


          Stiju Easo


 The unexamined life is not worth living for man.
      Socrates, in Plato, Dialogues, Apology
      Greek philosopher in Athens (469 BC - 399 BC)

_______________________________________________
Devel mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.