<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thank you very much for your prompt and excellent
reply. It all seems to be working now!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks again,</FONT></DIV>
<DIV><FONT face=Arial size=2>Becky</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Becky Alcorn<BR>Unisolve Pty Ltd - Melbourne,
Australia<BR>+61 3 9568 2005</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This line intentionally left blank.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jesus@omniti.com href="mailto:jesus@omniti.com">Theo Schlossnagle</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=becky@unisolve.com.au
href="mailto:becky@unisolve.com.au">Becky Alcorn</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=jesus@omniti.com
href="mailto:jesus@omniti.com">Theo Schlossnagle</A> ; <A
title=spread-users@lists.spread.org
href="mailto:spread-users@lists.spread.org">spread-users@lists.spread.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, October 21, 2003 2:38
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Spread-users] Spread 3.17.1
on AIX</DIV>
<DIV><FONT face=Arial size=2></FONT><BR></DIV><BR>On Monday, Oct 20, 2003, at
23:57 US/Eastern, Becky Alcorn wrote:<BR><BR>
<BLOCKQUOTE>Hi,<BR><BR>I'm trying to install Spread 3.17.1 on an AIX 4.3
machine. The ./configure<BR>step works fine, however when I try make it dies
with the messages below.<BR>Can anybody help me?<BR></BLOCKQUOTE><BR>Well, the
easiest thing to do is to skip building the shared libraries. (don't build
libspread.so and libtspread.so)<BR><BR>Just drop libspread.so and
libtspread.so from the TARGETS= line of the Makefile and install-libspread.so
and install-libtspread.so from the install: line.<BR><BR><BR>
<BLOCKQUOTE>cc -shared -o libspread.so alarm.lo events.lo memory.lo sp.lo
-lnsl<BR>cc: 1501-218 file alarm.lo contains an incorrect file suffix<BR>cc:
1501-218 file events.lo contains an incorrect file suffix<BR>cc: 1501-218
file memory.lo contains an incorrect file suffix<BR>cc: 1501-218 file sp.lo
contains an incorrect file suffix<BR>ld: 0706-012 The -h flag is not
recognized.<BR>ld: 0706-012 The -a flag is not recognized.<BR>make: The
error code from the last command is 255.<BR></BLOCKQUOTE><BR>building shared
libraries on AIX is more complicated than on other modern unix system. You
_may_ have better luck with a recent version of GNU ld.<BR><BR>AIX requires
symbol export tables to construct shared libraries (someone somewhere was too
lazy to automate the most standard case of this) so you have to do a bit of
work. If you are familiar with the compile, symbolize and link process, you
may be able to manually link yourself up some shared libraries... Otherwise, I
think the task may be too daunting.<BR><BR>Maybe something like
this:<BR><BR>mkdir scratch<BR>cp alarm.lo events.lo memory.lo sp.lo
scratch/<BR>cd scratch<BR>for i in *.lo<BR>do<BR>mv $i `echo $i | sed -e
's/\.lo/\.o/;'`<BR>done<BR><?fontfamily><?param Courier>/bin/nm -B -BCpg *.o |
awk '{ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) &&
(substr($3,1,1) != ".")) { print $3 } }' | sort -u > libspread.exp<?/fontfamily><BR><?fontfamily><?param Courier>xlC -o
libspread.so -bnoentry -bexport:libspread.exp -G *.o
-lnsl<?/fontfamily><BR><BR>I don't have an AIX box to test that on, but
something like that should work... I am sure you can accomplish the same thing
with libtool, but that is a black art that I do not know.<BR><BR>// Theo
Schlossnagle<BR>// Principal Engineer -- http://www.omniti.com/~jesus/<BR>//
Postal Engine -- http://www.postalengine.com/<BR>// Ecelerity: fastest MTA on
earth<BR></BLOCKQUOTE></BODY></HTML>