[AD] help building 4.3 on windows/scons

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


hey,
im having some trouble building 4.3 on windows with scons. I'm probably missing something simple but I can't figure out what. The problem is linking any of the examples with the dll or .a file.

gcc -o examples\ex12bit.exe --enable-auto-import build\release\examples\ex12bit.o lib\win32\alleg-4.3.0.dll lib\win32\liballeg-4.3.0.a lib\win32\alleg-4.3.0.def
Info: resolving _font by linking to __imp__font (auto-import)
Info: resolving _screen by linking to __imp__screen (auto-import)
Info: resolving ___linear_vtable16 by linking to __imp____linear_vtable16 (auto-import)
Info: resolving __cos_tbl by linking to __imp___cos_tbl (auto-import)
...etc..
Info: resolving _wd_dirty_lines by linking to __imp__wd_dirty_lines (auto-imd000000.o(.idata$2+0x0): multiple definition of `_head_alleg_4_3_0_dll'
lib\win32\liballeg-4.3.0.a(d000000.o)(.idata$2+0x0): first defined here
d000357.o(.idata$5+0x0): multiple definition of `_imp____linear_vtable16'
lib\win32\liballeg-4.3.0.a(d000357.o)(.idata$5+0x0): first defined here
...etc..
C:/Documents and Settings/kazzmir/src2/4.3/examples/ex12bit.c:352: variable '__linear_vtable16' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
build\release\examples\ex12bit.o(.text+0x143f):C:/Documents and Settings/kazzmir/src2/4.3/examples/ex12bit.c:353: variable '__linear_vtable16' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
Cannot export __linear_vtable15: symbol not found
Cannot export __linear_vtable16: symbol not found
..etc..

any ideas?

p.s, i cant build 4.2 to see what its supposed to be because I get the following error

process_begin: CreateProcess((null), gcc -dumpversion, ...) failed.
make: *** windows32_openpipe (): unable to launch process (e=2)
.  Stop.






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