Opened 9 years ago

Last modified 8 years ago

#46626 new defect

slatec @4.1_0+gcc49 Mavericks Slatec Linking Error — at Initial Version

Reported by: paul.whelan07@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: slatec

Description

I have just installed the Slatec Common Mathematical Library for fortran using Macports. The installation was smooth with no errors. However, when writing a simple example code that calls the QAG integration routine from the library I get the following error:

Undefined symbols for architecture x86_64:

"_slamch_", referenced from:

_r1mach_ in libslatec.a(r1mach.o)

ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

slamch is begin referred from r1mach - which is a routine that deals with machine constants I think. This is an unexpected error given that the dependencies should have been taken care of by MacPorts.

I’m using Mavericks 10.9.5 on in Intel laptop if that helps.

Many thanks. Paul

Change History (1)

Changed 9 years ago by paul.whelan07@…

Attachment: quadpack_example.f90 added
Note: See TracTickets for help on using tickets.