Hello, Kir,
This I already tried to no avail. Today, I found that when linking
the main program (index or searchd) the parameter ``-Wl,-export-dynamic''
is needed. This is because (for reasons unknown to me) there is no
stdc++.so in the gcc distribution for Sun 2.6.
Now I have new problem. The program crashes at the last line of the
following excerpt:
WORD* buf;
if (sz >= 10000)
{
buf = new WORD[sz];
}
else
{
buf = (WORD*)alloca(sz << 1);
}
WORD* pbuf = buf;
for (iterator it = begin(); it != end(); it++)
{
CWordBuddyVector& vec = it->second;
*(ULONG*)pbuf =
m_cache->GetWordID(it->first.Word());
The cast of course is illegal, although it will work on many systems
because everything is allocated on 8 byte boundary. What are the reasons
for this cast? I can fix this particular place, but how to find all the
places where this trick is used. Can you help, Kir?
Gregory Kozlovsky
Project Manager for Information Systems Tel: +41 (0)1 632 63
70
International Relations and Security Network (ISN) Fax: +41 (0)1 632 14
13
Center for Security Studies Email:
[EMAIL PROTECTED]
ETH Z�rich (Swiss Federal Institute of Technology Zurich)
http://www.isn.ch/
Leonhardshalde 21, ETH-Zentrum / LEH
CH-8092 Z�rich, Switzerland
-----Original Message-----
From: Kir Kolyshkin [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 31. Januar 2003 20:25
To: [EMAIL PROTECTED]
Subject: Re: [aseek-users] SUN
Play with adding/commenting out the following line in src/Makefile.am:
libaspseek_la_LIBADD = -lstdc++
BTW searching Google for "symbol cerr: referenced symbol not found"
gives some of interesing stuff to read :)
http://www.google.com/search?q=symbol+cerr%3A+referenced+symbol+not+found&so
urceid=mozilla-search