[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
lib/beos/liballeg.a(pckeys.o)(.data+0x18): multiple definition of 
`_key_accent2'
obj/beos/alleg/keyconf.o(.data+0x264): first defined here
lib/beos/liballeg.a(pckeys.o)(.data+0x1c): multiple definition of 
`_key_accent3'
obj/beos/alleg/keyconf.o(.data+0x268): first defined here
lib/beos/liballeg.a(pckeys.o)(.data+0x20): multiple definition of 
`_key_accent4'
obj/beos/alleg/keyconf.o(.data+0x26c): first defined here
lib/beos/liballeg.a(pckeys.o)(.data+0x24): multiple definition of 
`_key_accent1_flag'
obj/beos/alleg/keyconf.o(.data+0x270): first defined here
lib/beos/liballeg.a(pckeys.o)(.data+0x28): multiple definition of 
`_key_accent2_flag'
obj/beos/alleg/keyconf.o(.data+0x274): first defined here
lib/beos/liballeg.a(pckeys.o)(.data+0x2c): multiple definition of 
`_key_accent3_flag'
obj/beos/alleg/keyconf.o(.data+0x278): first defined here
lib/beos/liballeg.a(pckeys.o)(.data+0x30): multiple definition of 
`_key_accent4_flag'
obj/beos/alleg/keyconf.o(.data+0x27c): first defined here
collect2: ld returned 1 exit status
make: *** [setup/keyconf] Error 1 


-- 
Sincerely,
Daniel Schlyder

http://www.dascdev.net/



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