* [Comm] Странная ошибка при компиляции (сборке пакета)
@ 2004-10-25 11:30 Yury Aliaev
0 siblings, 0 replies; only message in thread
From: Yury Aliaev @ 2004-10-25 11:30 UTC (permalink / raw)
To: community
Приветствую!
Вылезло вот такое:
gcc -m32 -o xxkb -O2 -Wall -L/usr/X11R6/lib xxkb.o resource.o
wlist.o -lX11 -lXpm -lXt
/usr/bin/ld: warning: libSM.so.6, needed by /usr/X11R6/lib/libXt.so, not
found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libICE.so.6, needed by /usr/X11R6/lib/libXt.so,
not found (try using -rpath or -rpath-link)
/usr/X11R6/lib/libXt.so: undefined reference to `SmcSaveYourselfDone'
/usr/X11R6/lib/libXt.so: undefined reference to `IceConnectionNumber'
/usr/X11R6/lib/libXt.so: undefined reference to `SmcDeleteProperties'
/usr/X11R6/lib/libXt.so: undefined reference to `IceProcessMessages'
/usr/X11R6/lib/libXt.so: undefined reference to
`SmcRequestSaveYourselfPhase2'
/usr/X11R6/lib/libXt.so: undefined reference to `SmcInteractDone'
/usr/X11R6/lib/libXt.so: undefined reference to `SmcCloseConnection'
/usr/X11R6/lib/libXt.so: undefined reference to `SmcSetProperties'
/usr/X11R6/lib/libXt.so: undefined reference to `SmcOpenConnection'
/usr/X11R6/lib/libXt.so: undefined reference to `SmcInteractRequest'
/usr/X11R6/lib/libXt.so: undefined reference to `SmcModifyCallbacks'
/usr/X11R6/lib/libXt.so: undefined reference to `SmcClientID'
/usr/X11R6/lib/libXt.so: undefined reference to `SmcGetIceConnection'
collect2: ld returned 1 exit status
make: *** [xxkb] Error 1
[root@Digitalina etc]# ldconfig -v | grep /usr
/usr/X11R6/lib:
/usr/lib/krb5:
/usr/local/lib:
/usr/lib:
[mutabor@Digitalina lib]$ ls -l /usr/X11R6/lib/ | grep libICE
lrwxrwxrwx 1 root root 13 Сен 12 12:56 libICE.so -> libICE.so.6.3
lrwxrwxrwx 1 root root 13 Сен 12 12:22 libICE.so.6 -> libICE.so.6.3
-rw-r--r-- 1 root root 80352 Июн 29 15:05 libICE.so.6.3
Интересно, почему компилятор не находит бибилиотек (причём если руками
указать -lICE и т.п., то всё работает)? Также загадка природы: сие
наблюдалось на ALJ2.2, обновлённом до ALM2.4 бета, а на установленном с
нуля ALM2.4б тот же самый пакет собирается нормально...
Заранее спасибо за помощь,
Юрий.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-25 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-25 11:30 [Comm] Странная ошибка при компиляции (сборке пакета) Yury Aliaev
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git