Got a little farther this time,

I re-configured using xlC instead of xlc (big DUH on my end for that one)
but now I bomb out a little farther down:

vswsqd22:web(22)@[/home/web/setup/htdig-3.1.5] make


        xlC -c  -DDEFAULT_CONFIG_FILE=\"/home/web/htdig/conf/htdig.conf\" -I../htlib -I../htcommon
-I../db/dist -I../include -g Retriever.cc
"../htcommon/DocumentRef.h", line 44.25: 1540-293: (I) "DocumentRef::Deserialize(String&)" hides the
 virtual function "Object::Deserialize(String&,int&)".
"Retriever.cc", line 840.22: 1540-523: (S) "String" is a type name being used where a variable name
is expected.
"Retriever.cc", line 840.30: 1540-013: (S) Identifier "defaultdoc" is undefined.
"Retriever.cc", line 967.18: 1540-523: (S) "String" is a type name being used where a variable name
is expected.
"Retriever.cc", line 967.26: 1540-013: (S) Identifier "defaultdoc" is undefined.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.




Geoff Hutchison <[EMAIL PROTECTED]>

07/16/2001 11:43 PM

       
        To:        [EMAIL PROTECTED]
        cc:        [EMAIL PROTECTED]
        Subject:        Re: [htdig] build problem on AIX: ld: 0711-317 ERROR: Undefined symbol



At 7:20 PM -0400 7/16/01, [EMAIL PROTECTED] wrote:
>on is an AIX. I only need the htsearch executable to build (I can
>index and move the DB's over from alinux box).

Really? What type of Linux and AIX boxes are these? You might be OK
if they're both PowerPC-based machines or both Intel-based machines
(It looks like the AIX box is PPC, but you didn't mention the Linux
box). But if you're crossing chip types, it's probably not going to
be too pleasant--there are issues with big-endian/little-endian as
well as various byte-alignments.

Just a heads-up.

>checking whether the C++ compiler (xlc  ) works... yes
>checking whether the C++ compiler (xlc  ) is a cross-compiler... no

Ugh. We've had lots of complaints and trouble with IBM's C++
compiler, but I'll say more about that in a second. It's certainly
worked before, but I don't remember if anyone's done it with the
3.1.5 release.

>ld: 0711-317 ERROR: Undefined symbol: .__ls__7ostreamFPCc

Yuck. This seems like the compiler is having a really tough time
linking in the standard C++ library (here it's the I/O portions).
I've never used IBM's compiler, so I'm at a bit of a loss here. With
gcc/g++, these messages can come up if the compiler is trying to use
a version of the C++ library that's older or newer than the compiler
itself. For this reason, with current GCC releases, the C++ library
is installed with the compiler.

I'm sorry I can't be of more help--are there still other AIX users on the list?
--
--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/


Reply via email to