__ctype_b and __ctype_tolower error

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

 



Hi,gurus,

I'm using lahey fortran compiler on redhat 9.0. If I compile my fortran
code by using --staticlink. I got the following error:

$ make flow2
lf95 --staticlink flow2.o -o flow2
/opt/lf9560/bin/../lib/libfj9i6.a(jwe_iedi.o)(.text+0xfb6): In function `jwe_iiie':
: undefined reference to `__ctype_b'
/opt/lf9560/bin/../lib/libfj9i6.a(jwe_iedi.o)(.text+0xfc2): In function `jwe_iiie':
: undefined reference to `__ctype_tolower'
/opt/lf9560/bin/../lib/libfj9i6.a(jwe_iedi.o)(.text+0x1036): In function `jwe_iiie':
: undefined reference to `__ctype_b'
/opt/lf9560/bin/../lib/libfj9i6.a(jwe_iedi.o)(.text+0x1042): In function `jwe_iiie':
: undefined reference to `__ctype_tolower'
/opt/lf9560/bin/../lib/libfj9i6.a(jwe_icdb.o)(.text+0xa1): In function `jwe_icdb':
: undefined reference to `__ctype_b'
/opt/lf9560/bin/../lib/libfj9i6.a(jwe_icdb.o)(.text+0xaa): In function `jwe_icdb':
: undefined reference to `__ctype_tolower'
make: *** [flow2] Error 1


I have no idea of what's going wrong? Anybody has an idea? I didn't have
this problem on redhat linux 8.0,so I think it's a redhat problem,not lahey
fortran compiler problem.

btw: It compiles fine if I don't use --staticlink.

Thanks

Ding


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux