* Re: [devel] gcompris-7.3.2-alt0: rebuild failed
@ 2006-03-14 13:41 ` Slava Dubrovskiy
2006-03-14 14:12 ` Sergey Vlasov
0 siblings, 1 reply; 2+ messages in thread
From: Slava Dubrovskiy @ 2006-03-14 13:41 UTC (permalink / raw)
To: devel
Здравствуйте.
Я уже устал угадывать что за чем должно идти :-( . Если кто-то знает,
как заставить собираться, буду очень благодарен.
После известных изменений
http://lists.altlinux.ru/pipermail/devel/2006-March/029701.html
сломалась сборка gcompris
>i586-alt-linux-gcc -pipe -Wall -O2 -march=i586 -mcpu=i686 -Wall -o .libs/gcompris -u Py_Initialize main.o -Wl,--export-dynamic -L/usr/src/RPM/BUILD/gcompris-7.3.2/src/gcompris -lXrandr -lSDL -lpthread -lsqlite3 -L/usr/lib -lpython2.4 ../../src/gcompris/.libs/libgcompris-1.so -lpopt -lSDL_mixer
>../../src/gcompris/.libs/libgcompris-1.so:make[4]: Leaving directory `/usr/src/RPM/BUILD/gcompris-7.3.2/src/gcompris'
> undefined reference to `sqlite3_close'
>../../src/gcompris/.libs/libgcompris-1.so: undefined reference to `sqlite3_open'
>../../src/gcompris/.libs/libgcompris-1.so: undefined reference to `sqlite3_errmsg'
>../../src/gcompris/.libs/libgcompris-1.so: undefined reference to `sqlite3_get_table'
>../../src/gcompris/.libs/libgcompris-1.so: undefined reference to `sqlite3_free_table'
>../../src/gcompris/.libs/libgcompris-1.so: undefined reference to `sqlite3_mprintf'
>../../src/gcompris/.libs/libgcompris-1.so: undefined reference to `sqlite3_free'
>../../src/gcompris/.libs/libgcompris-1.so: undefined reference to `sqlite3_exec'
>collect2: ld returned 1 exit status
>make[4]: *** [gcompris] Error 1
>make[3]: Leaving directory `/usr/src/RPM/BUILD/gcompris-7.3.2/src/gcompris'
>make[2]: Leaving directory `/usr/src/RPM/BUILD/gcompris-7.3.2/src'
>make[1]: Leaving directory `/usr/src/RPM/BUILD/gcompris-7.3.2'
>make: Leaving directory `/usr/src/RPM/BUILD/gcompris-7.3.2'
>
Поменял порядок вызова библиотек на такой (sqlite после libgcompris):
gcc -pipe -Wall -O2 -march=athlon -Wall -o .libs/gcompris -u
Py_Initialize main.o -Wl,--export-dynamic
-L/home/slava/RPM/BUILD/gcompris-7.3.2/src/gcompris -lXrandr -lSDL
-lpthread -L/usr/lib -lpython2.4
../../src/gcompris/.libs/libgcompris-1.so -lsqlite3 -lpopt -lSDL_mixer
Стадию build проходит, но в конце вылазит
Adjusting library links in /home/slava/tmp/gcompris-buildroot
./usr/lib:
libgcompris-1.so.0 -> libgcompris-1.so.0.0.0
Verifying ELF objects in /home/slava/tmp/gcompris-buildroot
(arch=normal,fhs=relaxed,rpath=normal,textrel=normal,unresolved=normal)
verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
sqlite3_close
verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
sqlite3_open
verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
sqlite3_errmsg
verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
sqlite3_get_table
verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
sqlite3_free_table
verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
sqlite3_mprintf
verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
sqlite3_free
verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
sqlite3_exec
ошибка: Неверный код возврата из /home/slava/tmp/rpm-tmp.15731 (%install)
Ошибки сборки пакетов:
Неверный код возврата из /home/slava/tmp/rpm-tmp.15731 (%install)
Куда его надо вставить, чтоб собралось?
--
WBR,
Dubrovskiy Vyacheslav
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] gcompris-7.3.2-alt0: rebuild failed
2006-03-14 13:41 ` [devel] gcompris-7.3.2-alt0: rebuild failed Slava Dubrovskiy
@ 2006-03-14 14:12 ` Sergey Vlasov
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Vlasov @ 2006-03-14 14:12 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 1303 bytes --]
On Tue, Mar 14, 2006 at 03:41:54PM +0200, Slava Dubrovskiy wrote:
> Adjusting library links in /home/slava/tmp/gcompris-buildroot
> ./usr/lib:
> libgcompris-1.so.0 -> libgcompris-1.so.0.0.0
> Verifying ELF objects in /home/slava/tmp/gcompris-buildroot
> (arch=normal,fhs=relaxed,rpath=normal,textrel=normal,unresolved=normal)
> verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
> sqlite3_close
> verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
> sqlite3_open
> verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
> sqlite3_errmsg
> verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
> sqlite3_get_table
> verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
> sqlite3_free_table
> verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
> sqlite3_mprintf
> verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
> sqlite3_free
> verify-elf: ERROR: ./usr/lib/libgcompris-1.so.0.0.0: undefined symbol:
> sqlite3_exec
> ошибка: Неверный код возврата из /home/slava/tmp/rpm-tmp.15731 (%install)
> Ошибки сборки пакетов:
> Неверный код возврата из /home/slava/tmp/rpm-tmp.15731 (%install)
При сборке libgcompris надо указать -lsqlite3.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-14 14:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-14 13:41 ` [devel] gcompris-7.3.2-alt0: rebuild failed Slava Dubrovskiy
2006-03-14 14:12 ` Sergey Vlasov
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git