ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@elan.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Ошибки a340gc (was:Ошибка ли указ ывать библиотеку -lGL 2 раза?)
Date: Tue, 12 Apr 2005 14:57:25 +0300
Message-ID: <425BB7A5.8080504@elan.com.ua> (raw)
In-Reply-To: <425B9EB0.7080002@altlinux.ru>

Alexey Rusakov пишет:

>> 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
>
> Теперь добавьте -lstdc++

Помогло :-)

>> Это я пытаюсь a340gc (http://a340gc.iradis.org) собрать.
>> Но чувствую, что с моим знанием С я не потяну. :-( 
>
> Судя по ошибкам линкера, это уже не C, а C++.

Хрен редьки не слаще.
Все собралось, установилось, но не работает.
$ ./a340gc
Failed to initialize Data Input Output Module:
 Failed to load DIOM-DL
 /usr/local/share/libGC/▒.so: cannot open shared object file: No such
file or directory

Причем имя файла так и написано: - "▒.so" Прикол. Откуда оно взялось?

Вот часть strace
munmap(0x40c85000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=81101, ...}) = 0
mmap2(NULL, 81101, PROT_READ, MAP_PRIVATE, 8, 0) = 0x40ca7000
close(8)                                = 0
open("/lib/i686/rddp", O_RDONLY)        = -1 ENOENT (No such file or
directory)
open("/lib/rddp", O_RDONLY)             = -1 ENOENT (No such file or
directory)
open("/usr/lib/rddp", O_RDONLY)         = -1 ENOENT (No such file or
directory)
munmap(0x40ca7000, 81101)               = 0
open("/etc/ld.so.cache", O_RDONLY)      = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=81101, ...}) = 0
mmap2(NULL, 81101, PROT_READ, MAP_PRIVATE, 8, 0) = 0x40ca7000
close(8)                                = 0
open("/lib/i686/rddp.so", O_RDONLY)     = -1 ENOENT (No such file or
directory)
open("/lib/rddp.so", O_RDONLY)          = -1 ENOENT (No such file or
directory)
open("/usr/lib/rddp.so", O_RDONLY)      = -1 ENOENT (No such file or
directory)
munmap(0x40ca7000, 81101)               = 0
open("/usr/lib/rddp", O_RDONLY)         = -1 ENOENT (No such file or
directory)
open("/usr/lib/rddp.so", O_RDONLY)      = -1 ENOENT (No such file or
directory)
open("/lib/rddp", O_RDONLY)             = -1 ENOENT (No such file or
directory)
open("/lib/rddp.so", O_RDONLY)          = -1 ENOENT (No such file or
directory)
open("/usr/local/share/a340gc/rddp", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/local/share/a340gc/rddp.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/local/lib/▒", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/local/lib/▒.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/share/libGC/▒", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/share/libGC/▒.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 7), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40ca7000
write(1, "Failed to initialize Data Input "..., 47Failed to initialize
Data Input Output Module:
) = 47
write(1, " Failed to load DIOM-DL\n", 24 Failed to load DIOM-DL
) = 24
write(1, " /usr/local/share/libGC/\30r\7\10.so:"..., 91
/usr/local/share/libGC/▒.so: cannot open shared object file: No such
file or directory
) = 91
write(4, "_\1\2\0\v\0 \3+\0\1\0", 12)   = 12
read(4, 0xbffff650, 32)                 = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\1\1:\0\0\0\0\0\204\0\240\2\0\0\0\0\0\0\0\0\5\0\0\0\10"..., 32)
= 32
write(6, "+\0\1\0", 4)                  = 4
read(6, 0xbffff680, 32)                 = -1 EAGAIN (Resource
temporarily unavailable)
select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
read(6, "\1\1\7\0\0\0\0\0\204\0\240\2\0\0\0\0\1\0\0\0\6\0\0\0H\226"...,
32) = 32
write(4, "\n\1\2\0\3\0 \3O\0\2\0\1\0 \3_\1\2\0\7\0 \3+\0\1\0", 28) = 28
read(4, 0xbffff660, 32)                 = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\1\1>\0\0\0\0\0\204\0\240\2\0\0\0\0\0\0\0\0\5\0\0\0\10"..., 32)
= 32
write(6, "<\0\2\0\0\0@\3+\0\1\0", 12)   = 12
read(6, 0xbffff660, 32)                 = -1 EAGAIN (Resource
temporarily unavailable)
select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
read(6, "\1\1\t\0\0\0\0\0\204\0\240\2\0\0\0\0\0\0\0\0\6\0\0\0H\226"...,
32) = 32
shutdown(6, 2 /* send and receive */)   = 0
close(6)                                = 0
write(4, "<\1\2\0\0\0 \3+\0\1\0", 12)   = 12
read(4, 0xbffff660, 32)                 = -1 EAGAIN (Resource
temporarily unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\1\1@\0\0\0\0\0\204\0\240\2\0\0\0\0\0\0\0\0\5\0\0\0\10"..., 32)
= 32
shutdown(4, 2 /* send and receive */)   = 0
close(4)                                = 0
rt_sigaction(SIGSEGV, NULL, {0x400bae50, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGBUS, NULL, {0x400bae50, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {0x400bae50, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {0x400bae50, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
getpid()                                = 21947
getpid()                                = 21947
getpid()                                = 21947
getpid()                                = 21947
munmap(0x40bea000, 622592)              = 0
munmap(0x40014000, 8192)                = 0
munmap(0x40ca7000, 4096)                = 0
exit_group(1)                           = ?

-- 
С уважением,
Дубровский Вячеслав.



  reply	other threads:[~2005-04-12 11:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11 12:26 [Comm] Ошибка ли указывать библиотеку -lGL 2 раза? 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
2005-04-12 10:10                 ` Alexey Rusakov
2005-04-12 11:57                   ` Slava Dubrovskiy [this message]
2005-04-12  9:19         ` 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=425BB7A5.8080504@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