ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yury Aliaev <mutab0r@rambler.ru>
To: community@altlinux.ru
Subject: [Comm] Странная ошибка при компиляции (сборке пакета)
Date: Mon, 25 Oct 2004 15:30:45 +0400
Message-ID: <417CE3E5.8030508@rambler.ru> (raw)

Приветствую!

Вылезло вот такое:

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б тот же самый пакет собирается нормально...

Заранее спасибо за помощь,
Юрий.


                 reply	other threads:[~2004-10-25 11:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=417CE3E5.8030508@rambler.ru \
    --to=mutab0r@rambler.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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