Hi,
I'm trying to port a data fitting package for high energy physics to
MacOS X 10.2.1 using gcc 3.1. The package definitely works on IRIX 6
with gcc 3.0.1, as well as RedHat Linux 7.1 with gcc 3.0.1. The C++
code seems to compile, and the static version of the library seems to
build, but I can't seem to use it. When I try to use the library in
another program (ROOT, a data analysis framework), I get this error:
----------------------
dlopen error:dlcompat: dyld: root/bin/root.exe malformed library:
RooFitCore/tmp/lib/RooFitCore.a (not a Mach-O file, bad magic number)
Load Error: Failed to load Dynamic link library
RooFitCore/tmp/libRooFicCore.a
*** Interpreter error recovered ***
----------------------
Being a novice at this level of programming and a new Mac user, please
let me know what other information would be helpful in diagnosing this
problem -- I can, of course, supply the Makefile, etc., as needed.
This package builds a shared object library (.so), by default, but the
linker has trouble. I really only need one version of the library, so
I'll refrain from giving the details unless someone thinks it might be
easier to build.
Any suggestions are appreciate; suggested reading material is quite
welcome.
Thank you,
Jason
---------------------------
Jason Galyardt
Carnegie Mellon University
email@hidden
---------------------------
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.