[SAC-HELP] sac on 64-bit SMP box
Derek
schutt at uwyo.edu
Wed Oct 18 10:15:25 PDT 2006
For what it's worth, I just got the binary and it seems to work fine.
-Derek
On Wed, 2006-10-18 at 11:21 -0400, Derek Schutt wrote:
> Hi Brian,
>
> Thanks for your quick response. I actually read that posting (by you I
> think?) in the archives, and it's clear that my post was lacking in
> information. In the directory containing the SAC makefile, I linked cc
> to gcc32 ("ln -s gcc32 cc"), which presumably would compile it at a
> 32-bit binary. However, I run into the problem below with the X11
> library. My guess is that I'd need to compile this library with gcc32
> too?
>
> I don't have the precompiled binary, but have just requested it and will
> post back when I get it and see if it works.
>
> Thanks,
>
> Derek
>
> On Wed, 2006-10-18 at 10:29 -0400, Brian Savage wrote:
> > Derek,
> >
> > There was a posting for me about sac on 64 bit machines, in
> > particular linux. If follows here.
> >
> > <snip>
> > SAC is not supported on 64 bit environments, and it will produce
> > unexpected results.
> >
> > I would not say it was a bug, but I would say there are things in the
> > SAC code which are not portable between 32 and 64 bit systems. These
> > things need to be attended to.
> >
> > You should be able to run a 32 bit binary on a 64 bit system.
> > <snip>
> >
> > Two things in specific, the declaration of the sac header on 32 and
> > 64 bit machines results in different file sizes, and many function
> > calls are using non-portable, 32 to 64 bit, declaration of pointers.
> >
> > Cheers,
> > Brian
> >
> >
> > On Oct 17, 2006, at 5:46 PM, Derek wrote:
> >
> > > Hi,
> > >
> > > I'm hoping to install sac on a linux box running 64bit SMP linux
> > >
> > >> uname -a
> > >
> > > Linux localhost.localdomain 2.6.15-1.1833_FC4smp #1 SMP Wed
> > > Mar
> > > 1 23:55:52 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
> > >
> > > but, in reading the archives of this mail list, it seems SAC won't
> > > work
> > > in 64-bit mode, and indeed, when I compile the source version I have
> > > (05Mar01.sac.tgz), it fails. Although, it seems to fail because it
> > > can't find or can't make a proper X11 library:
> > >
> > > [snip from "make" output]
> > > cc -w -DLINUX -o ../bin/sac \
> > > main/sac.o ../lib/sac.a ../lib/libevresp.a ../lib/
> > > libSMnonOracleFuncs.a ../lib/libSacOracleStubFuncs.a -L/usr/X11R6/
> > > lib -lX11 -lm -lnsl -ldl
> > > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so
> > > when
> > > searching for -lX11
> > > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a
> > > when
> > > searching for -lX11
> > > /usr/bin/ld: cannot find -lX11
> > > collect2: ld returned 1 exit status
> > > make[1]: *** [SAC] Error 1
> > > make[1]: Leaving directory `/usr/local/sac/src'
> > > gmake: *** [all] Error 2
> > >
> > > Can any one tell me if I should request a 32-bit binary, or if
> > > there is
> > > a way to compile it to make it work?
> > >
> > > Thanks,
> > >
> > > Derek
> > > Univ. Wyoming
> > > _______________________________________________
> > > sac-help mailing list
> > > sac-help at iris.washington.edu
> > > http://www.iris.washington.edu/mailman/listinfo/sac-help
> >
More information about the sac-help
mailing list