From: Slava Dubrovskiy <slava@elan.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Ошибка ли указ ывать библиотеку -lGL 2 раза?
Date: Tue, 12 Apr 2005 12:58:09 +0300
Message-ID: <425B9BB1.5020608@elan.com.ua> (raw)
In-Reply-To: <20050412094442.GH12125@immo.ru>
Alexey I. Froloff пишет:
>>>>/usr/bin/ld: cannot find -lGL
>>>>collect2: ld returned 1 exit status
>>>>
>>>>
>>>-L/usr/X11R6/lib
>>>
>>>
>>А зачем тогда в /etc/ld.so.conf стоит /usr/X11R6/lib?
>>Да и ldconfig -p показывает наличие GL (см. выше).
>>
>>
>Вообще-то ld.so.conf и ldconfig относятся к /lib/ld-linux.so.2, а
>не к /usr/bin/ld...
>
>
Не знал. -L помогло. :-) Спасибо.
Только теперь следующая ошибка вылезла. :-( :
configure:1686: checking for working libGC
configure:1706: gcc -o conftest -g -O2 conftest.c -lGC -lSDL
-lpthread -lGL -L/usr/X11R6/lib 1>&
/usr/local/lib/libGC.so: undefined reference to `operator delete(void*)'
/usr/local/lib/libGC.so: undefined reference to `__gxx_personality_v0'
/usr/local/lib/libGC.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libGC.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info'
/usr/local/lib/libGC.so: undefined reference to `operator new(unsigned int)'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1688 "configure"
#include "confdefs.h"
#include <unistd.h>
#include <stdlib.h>
#include <libGC/diom.h>
#include <libGC/dl.h>
#include <libGC/configfile.h>
#include <libGC/net.h>
int main() {
diom_init("", "");
cf_openFile("");
return 0;
; return 0; }
Это я пытаюсь a340gc (http://a340gc.iradis.org) собрать.
Но чувствую, что с моим знанием С я не потяну. :-(
--
С уважением,
Дубровский Вячеслав.
next prev parent reply other threads:[~2005-04-12 9:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-11 12:26 [Comm] Ошибка ли указывать " Slava Dubrovskiy
2005-04-11 14:22 ` Yury Aliaev
2005-04-12 7:02 ` Slava Dubrovskiy
2005-04-12 8:43 ` [Comm] Ошибка ли указ ывать " Eugene Ostapets
2005-04-12 9:05 ` Slava Dubrovskiy
2005-04-12 9:10 ` Alexey I. Froloff
2005-04-12 9:36 ` Slava Dubrovskiy
2005-04-12 9:44 ` Alexey I. Froloff
2005-04-12 9:58 ` Slava Dubrovskiy [this message]
2005-04-12 10:10 ` Alexey Rusakov
2005-04-12 11:57 ` [Comm] Ошибки a340gc (was:Ошибка ли указ ывать библиотеку -lGL 2 раза?) Slava Dubrovskiy
2005-04-12 9:19 ` [Comm] Ошибка ли указ ывать библиотеку -lGL 2 раза? Nick S. Grechukh
2005-04-12 9:26 ` Slava Dubrovskiy
2005-04-12 10:42 ` [Comm] Ошибка ли указывать " Yury Aliaev
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=425B9BB1.5020608@elan.com.ua \
--to=slava@elan.com.ua \
--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