[devel] openmortal-0.7-alt2: rebuild failed

Alexey Tourbin =?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Пт Сен 1 02:28:22 MSD 2006


On Wed, Aug 30, 2006 at 02:41:50PM +0400, QA Team Robot wrote:
> Package: openmortal-0.7-alt2
> Packager: Igor Zubkov <icesik на altlinux>

> i586-alt-linux-g++  -pipe -Wall -O2 -march=i586 -mtune=pentium4 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/i386-linux/CORE  -DDATADIR=\"/usr/share/openmortal\" -Wall   -o openmortal  Audio.o FlyingChars.o MortalNetworkImpl.o sge_primitives.o Backend.o Game.o OnlineChat.o sge_surface.o Background.o GameOver.o PlayerSelectController.o sge_tt_text.o Chooser.o gfx.o PlayerSelect.o State.o common.o Joystick.o PlayerSelectView.o TextArea.o Demo.o main.o RlePack.o FighterStats.o menu.o sge_bm_text.o  -lSDL -lpthread -lSDL_image -lSDL_mixer -lSDL_net -lfreetype -lz -rdynamic -Wl,-O1 -Wl,-O1 -L/usr/local/lib /usr/lib/perl5/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/i386-linux/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
> Backend.o: In function `Backend::ReadFromPerl()':
> Backend.cpp:(.text+0xba3): undefined reference to `Perl_sv_2iv(interpreter*, sv*)'
> Backend.cpp:(.text+0xbc8): undefined reference to `Perl_sv_2iv(interpreter*, sv*)'
> Backend.cpp:(.text+0xbed): undefined reference to `Perl_sv_2iv(interpreter*, sv*)'
> Backend.cpp:(.text+0xc12): undefined reference to `Perl_sv_2iv(interpreter*, sv*)'
> Backend.cpp:(.text+0xc2a): undefined reference to `Perl_sv_2iv(interpreter*, sv*)'
> Backend.o:Backend.cpp:(.text+0xd6b): more undefined references to `Perl_sv_2iv(interpreter*, sv*)' follow
> collect2: ld returned 1 exit status

Mea culpa.
Нужно было добавить extern "C".
Ждите.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20060901/44bd3d35/attachment-0001.bin>


Подробная информация о списке рассылки Devel