Axp-List Archive
shared library seg-faults

Subject: shared library seg-faults
From: Robert Williams (bob@bob.usuhs.mil)
Date: Sun Jul 2 14:27:28 2000


I see that the first Compaq Linux Alpha Fortran
FAQ item regards this topic,
"When I try to make a shared library with cfal-1.0,
why do I get a seg. fault? "
http://www.iol.unh.edu/linux/fortran/faq/cfal-1.0.html#1
but there is no answer. I have the same problem
compiling the following program:

[bob@rw src]$ fort -shared junk.f -o junk
[bob@rw src]$ ./junk
Segmentation fault (core dumped)

[bob@rw src]$ less junk.f
        PROGRAM junk

C

        CHARACTER card*80,atom*3
        data card/'12345678901234567890'/

          print *,card
          read(card,400)atom
400 format(a3)
          print *,atom

        stop
      END

Apart from making only non_shared code
(which does work)
has there been a solution to this problem?

Bob Williams

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



This archive was generated by hypermail version 2a22 on Tue Aug 1 04:53:11 2000 PDT
Send any problems or questions about this archive to webmaster@alphalinux.org.