R: [AD] error trying to compile 4.0.0 statically in BeOS |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> I get the following error trying to build statically linked version
> of Allegro 4.0.0 on BeOS PE 5.0.3 with gcc 2.95.3 and ld 2.10.1. Any
> help much appreciated. (dynamically linked version compiles fine,
> btw)
>
> gcc -Wall -Wno-unused -Wno-multichar -Wno-ctor-dtor-privacy -
> mcpu=pentium -O6 -funroll-loops -ffast-math
> -fomit-frame-pointer -I. - I./include -o
> obj/beos/alleg/keyconf.o -c setup/keyconf.c gcc -lbe -lgame
> -ldevice -lmidi -lmedia -o setup/keyconf
> obj/beos/alleg/keyconf.o lib/beos/liballeg.a
> lib/beos/liballeg.a(pckeys.o)(.data+0x14): multiple definition of
> `_key_accent1'
> obj/beos/alleg/keyconf.o(.data+0x260): first defined here
> ...
Just fixed the problem in CVS; the bug was in keyconf.c, not into the
lib. I forgot to update it due to the late BeOS keyboard driver replace;
I tested the whole dynamic library, but not the static one... My fault,
sorry. Unfortunately the fix missed 4.0 :(
Angelo Mottola
a.mottola@xxxxxxxxxx
http://www.ecplusplus.com