bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] Compile: Windows and python


From: Holger
Subject: [Bug-gnubg] Compile: Windows and python
Date: Thu, 14 Aug 2003 19:03:55 +0200

Hi all,

Strange linking problems:

gcc -o gnubg analysis.o bearoff.o bearoffgammon.o boardpos.o copying.o credits.o database.o dice.o drawboard.o erf.o eval.o export.o external.o format.o getopt. o getopt1.o gnubg.o gnubgmodule.o gtk-multiview.o gtkbearoff.o gtkboard.o gtkche quer.o gtkcolour.o gtkcube.o gtkexport.o gtkgame.o gtkmet.o gtkmovefilter.o gtko ptions.o gtkpath.o gtkprefs.o gtkrace.o gtkrolls.o gtksplash.o gtktempmap.o gtkt exi.o gtktheory.o gtktoolbar.o guile.o html.o htmlimages.o i18n.o import.o klein man.o latex.o luxi.o matchequity.o matchid.o onechequer.o openurl.o osr.o path.o play.o positionid.o postscript.o progress.o pub_eval.o record.o render.o render prefs.o rollout.o set.o sgf.o sgfl.o sgfp.o show.o simplelibgen.o sound.o speed. o text.o gnubg_res.o -mwindows -L./lib -L/Python22 -levent -lglib-2.0 -lgdk -lgt k -lxml2 -lintl -lgdbm -liconv -lwinmm -lm -lpng -lz -lfreetype -lart_lgpl -lpyt
hon22 -lwsock32
d000014.o(.text+0x0): multiple definition of `_onexit'
M:/MinGW2/bin/../lib/gcc-lib/mingw32/3.2/../../../crt2.o(.text+0x60):crt1.c: first defined here
d000021.o(.text+0x0): multiple definition of `atexit'
M:/MinGW2/bin/../lib/gcc-lib/mingw32/3.2/../../../crt2.o(.text+0x40):crt1.c: first defined here
make.exe[1]: *** [gnubg] Error 1

I've generated libpython2[23].a as described under http://www.mingw.org/mingwfaq.shtml#faq-msvcdll :
pexports python23.dll | sed "s/^_//" > python23.def
dlltool -U -d python23.def -l libpython23.a

I've also tried another time with a lib*.a generated with reimp.

I've even tried it with Nardy's libpython22.a. The above I got with his file (which is different btw).

In between I also reinstalled MinGW.

I don't know what's left to try ...

Regards,

        Holger





reply via email to

[Prev in Thread] Current Thread [Next in Thread]