- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm on a SuSE Linux 9.1/ia32 system with l_fc_pc_8.0.046_pe047.1/20040520Z and try to link a ifort complied application to the SUSE provided (GCC 3.3.3) BLAS library.
Unfortunally, I get such lines:
/usr/lib/libblas.so: undefined reference to `e_wsfe'
nm /usr/lib/libblas.so|grep z_abs shows:
U z_abs
and ldd /usr/lib/libblas.so:
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/tls/libc.so.6 (0x40067000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
linux-gate.so.1 is a 'virtual' library provided by the Linux 2.6 kernel (2.6.5-7.95 with glibc 2.3.3 in this case).
Any ideas? Are the compliles incompatible? Or has the linker problems with linux-gate.so?
Regards,
Tobias
I'm on a SuSE Linux 9.1/ia32 system with l_fc_pc_8.0.046_pe047.1/20040520Z and try to link a ifort complied application to the SUSE provided (GCC 3.3.3) BLAS library.
Unfortunally, I get such lines:
/usr/lib/libblas.so: undefined reference to `e_wsfe'
nm /usr/lib/libblas.so|grep z_abs shows:
U z_abs
and ldd /usr/lib/libblas.so:
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/tls/libc.so.6 (0x40067000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
linux-gate.so.1 is a 'virtual' library provided by the Linux 2.6 kernel (2.6.5-7.95 with glibc 2.3.3 in this case).
Any ideas? Are the compliles incompatible? Or has the linker problems with linux-gate.so?
Regards,
Tobias
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Answering to myself:
One has to use the option -lg2c (or -lf2c depending on the distribution), a simple -lblas is not enough.
(The libg2c/libf2c belongs to gcc-g77.)
Tobias
One has to use the option -lg2c (or -lf2c depending on the distribution), a simple -lblas is not enough.
(The libg2c/libf2c belongs to gcc-g77.)
Tobias
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page