[AD] FW: Allegro Problem (cygwin compile on 4.0.2)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


peter or anyone equally enthusiastic :), can you have a look at this?

Sincerely,
Henrik Stokseth.

--- Begin Message ---
Dear Hendrik,

thank you for giving installing instructions in the allegro
package.

I encountered the following problem during compiling Allegro
4.02 on my Cygwin distribution cygwin-1.3.12-4
(downloaded 4 days ago):
It compiles some time ferfectly but then gives the following
error, reproduced by another maker invokation:
-----------------
Bash2.05b:/allegro $ make
Compiling Allegro for MinGW32, optimised. Please wait...
gcc -s -Wl,--subsystem,console -o tools/dat.exe obj/mingw32/alleg/dat.o
lib/mingw32/libaldat.a lib/mingw32/liballeg.a -lkernel32 -luser32 -lgdi32
-lcomdlg32 -lole32 -ldinput -lddraw -ldxguid -lwinmm -ldsound -L/lib/mingw
-lmoldname -lmsvcrt

/usr/lib/libcygwin.a(d000578.o)(.idata$5+0x0): multiple definition of `_imp__atexit'

/lib/mingw/libmsvcrt.a(ds00517.o)(.idata$5+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [tools/dat.exe] Error 1
-------------------------
it seems there is a library too many tried to link in, or are
the libs not compatible, (or is there a linker option to
suppress errors on multiply defined functions). Can you help
on this.

Besides this the library and dll is created o.k., but is is
very big (more than 900 KB) is this normal? The size of the
precompiled  binary in all402_bin.zip (available on the net)
is only 224 KB.
Do you know a reason for this?

By the way - for compiling allegro programs with cygwin
after installing allegro do I still need the MinGW runtime?

Thank you very much for your help.

Raul Kompass

---------------------
Dr. R. Kompass
Universität Leipzig
Institut für Allgemeine Psycholgie
Seeburgstr. 14-20
D-04103 Leipzig
--------------------
kompass@xxxxxxxxxx




--- End Message ---


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/