g++ fortran shared object error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear List:

I am using gcc 3.1 on Sun Solaris 2.8 and I am trying to build
a Fortran shared library using g++.   I got the following messages
when I tried to build a simple Fortran test program

g++ -shared -o test.so test.o

Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x8         test.o
<unknown>                           0xc         test.o
<unknown>                           0x18        test.o
<unknown>                           0x1c        test.o
<unknown>                           0x20        test.o
<unknown>                           0x24        test.o
s_wsle                              0x10        test.o
do_lio                              0x30        test.o
e_wsle                              0x38        test.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
 
Anyone knows how to solve this problem?  

Thanks

Philip


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux