ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как отключить линковку с  ALLEGRO ?
@ 2005-07-31 21:00 Sergey Stepanov
  2005-08-01  6:13 ` Vasya Makarov
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Stepanov @ 2005-07-31 21:00 UTC (permalink / raw)
  To: community

 
Господа, есть вопрос. 
 
Дистрибутив ALT Master 2.4 
 
Имеем программу в исходниках.  
Программа НЕ использует библиотеку Allegro. В исходниках нигде нет подключения h-файлов allegro,  
и для работы программы allegro не требуется вообще. 
 
При линковке выдается сообщение 
 
gcc -L/usr/X11R6/lib -o /home/xi/work/funmon/fm ***.o  -lglut -lGL -lGLU -lX11 -lXext -lXmu -lXi -lm -lSDL 
-lpthread -lIL -lILU -lILUT  
/usr/bin/../lib/liballeg.so.4.1: undefined reference to `_mangled_main_address' 
collect2: ld returned 1 exit status 
 
(***.o - это я просто сейчас заменил чтоб небыло длинного списка моих *.o файлов) 
 
Вопрос: почему линкоыщик пытается собрать проект с allegro? 
Как это дело отключить, не удаляя allegro-библиотеки и не деинсталлируя allegro-вские rpm? 
 
ЗЫЖ В RedHat9 компиляция этого же проекта проходит без ошибок, allegro и allegro-devel установлены, 
но собирается без них. 
 
На всякий случай, содержимое моего ld.so.conf 
 
include /etc/ld.so.conf.d/*.conf 
/usr/X11R6/lib 
/usr/local/lib 
 
Файл /etc/ld.so.conf.d/X11R6.conf 
 
/usr/X11R6/lib 
 
 
Со всяческими пожеланиями, Сергей. 
http://xi.net.ru 
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-01  6:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-31 21:00 [Comm] Как отключить линковку с ALLEGRO ? Sergey Stepanov
2005-08-01  6:13 ` Vasya Makarov

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