Re: issue with cernlib

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 9/2/23 1:23 PM, Franchetti, Giuliano Dr. wrote:
> Hello,
> 
> after the update of the cernlib I find a problem.
> When I compile a file with gfortran and link the cernlinb more than 1000 warnings appears (one per ###.o files of libmathlib).
> Here is one:
> 
> .
> ld: warning: object file (/opt/sw2/lib/libmathlib.a(vsetb.o)) was built for newer macOS version (13.5) than being linked (13.1)

Fink sets MACOSX_DEPLOYMENT_TARGET to the current OS version (13.5 in 
your case when you compiled cernlib) when building things. The setup you 
are using to compile your new code must be setting 
MACOSX_DEPLOYMENT_TARGET or similar flag to 13.1. So the linker 
complains about the target file using a lower level than the linked 
library. I don't think it's critical (since it's a warning), but you 
might need to check on the settings for your outside code.

Hanspeter

-- 
"If we knew what it was we were doing, it would not be called
research, would it?"
   --Albert Einstein



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.