Hi all. . .
I'm attempting to get some code of mine running on an Intel based Mac
at work, and I'm having some problems with HDF. It appears that the
symbol names in the libraries are either incorrect, or missing. At
least they're different than in the PPC versions. Not all of the
symbols are missing or misnamed. But here are the ones that my code
reports as missing (I suspect there are others, I only use a small
subset of HDF).
_sfdimid_
_sfend_
_sfendacc_
_sfrdata_
_sfsdscale_
_sfselect_
_sfwdata_
_scscompress_
Here's an example. On my G4 Mac, looking for the sfwdata symbol:
% nm ./uucles_mpi.07.hdf_utils.o | grep sfwdata
U _sfwdata_
% nm /sw/lib/libmfhdf.a | grep sfwdata
00000890 T _sfwdata_
On the Intel Mac:
% nm ./uucles_mpi.07.hdf_utils.o | grep sfwdata
U _sfwdata_
% nm /sw/lib/libmfhdf.a | grep sfwdata
000007ed T _nsfwdata
So, you can see that the symbol is misnamed in the library. I
remember something of this sort happening before, and the maintainer
fixed it (cc'd). Hopefully it won't be too difficult here.
Oh yeah, on the Intel system:
% gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5363)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
% fink --version
Package manager version: 0.26.1
Distribution version: 0.8.1.rsync i386
Copyright (c) 2001 Christoph Pfisterer
Copyright (c) 2001-2007 The Fink Package Manager Team
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Thanks,
Mike
--
Mike Zulauf (2)
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users