From: Vasya Makarov <drmoriarty@rambler.ru> To: community@altlinux.ru Subject: Re: [Comm] Как отключить линковку с ALLEGRO ? Date: Mon, 01 Aug 2005 10:13:31 +0400 Message-ID: <42EDBD8B.9070006@rambler.ru> (raw) In-Reply-To: <E1DzKup-000ABg-00.dlagovna-mail-ru@f39.mail.ru> Sergey Stepanov пишет: > > Господа, есть вопрос. > > Дистрибутив 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 файлов) Видимо у проги кривой configure (если есть) или кривой Makefile (если configure нет), или spec. > > Вопрос: почему линкоыщик пытается собрать проект с allegro? > Как это дело отключить, не удаляя allegro-библиотеки и не деинсталлируя allegro-вские rpm? Сделать ./configure --help и посмотреть настраиваемо это ли? Если нет, патчить spec/Makefile. > > ЗЫЖ В 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 > > _______________________________________________ > Community mailing list > Community@altlinux.ru > https://lists.altlinux.ru/mailman/listinfo/community > -- Regards, Vasya
prev parent reply other threads:[~2005-08-01 6:13 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-07-31 21:00 Sergey Stepanov 2005-08-01 6:13 ` Vasya Makarov [this message]
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=42EDBD8B.9070006@rambler.ru \ --to=drmoriarty@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