Hi Christian,
Concerning the MACOSX_DEPLOYMENT_TARGET you can find the long answer
here: http://developer.apple.com/qa/qa2001/qa1233.html . The short
answer is: don't worry about them.
How do you compile your program?
Cheers,
Remi
On Saturday, May 3, 2003, at 01:04 PM, cstrato wrote:
> Dear Rooters
>
> I have compiled my program using root 3.05/02 (and earlier) on
> MacOS X, and could run it without any problems. Yesterday, I
> have upgraded to 3.05/04, and now I get a segmentation break.
> For this reason, I have recompiled my program, but this does
> not help, either.
>
> So, I have decided to compile my test program, which I have
> already sent to roottalk some time ago, see:
> http://root.cern.ch/root/roottalk/roottalk03/0464.html
>
> When compiling this program, I get the identical compilation
> messages, and the program gives a segmentation break:
>
> [TiBookie:~/ROOT/rootcode/xgui] cs% make -f MakeFile4MyApp
> c++ -O -pipe -Wall -I/Users/cs/ROOT/root/include -c MyGui.cxx
> Generating dictionary MyGuiDict.cxx...
> c++ -O -pipe -Wall -I/Users/cs/ROOT/root/include -c MyGuiDict.cxx
> c++ -O -Xlinker -bind_at_load -flat_namespace -o MyGui MyGui.o
> MyGuiDict.o -L/Users/cs/ROOT/root/lib -lCore -lCint -lHist -lGraf
> -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui
> -lm -L/sw/lib -ldl
> ld: warning dynamic shared library:
> /Users/cs/ROOT/root/lib/libHist.dylib not made a weak library in
> output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
> ld: warning dynamic shared library:
> /Users/cs/ROOT/root/lib/libGraf.dylib not made a weak library in
> output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
> ld: warning dynamic shared library:
> /Users/cs/ROOT/root/lib/libGpad.dylib not made a weak library in
> output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
> ld: warning dynamic shared library:
> /Users/cs/ROOT/root/lib/libMatrix.dylib not made a weak library in
> output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
> ld: warning dynamic shared library: /sw/lib/libdl.dylib not made a
> weak library in output with MACOSX_DEPLOYMENT_TARGET environment
> variable set to: 10.1
> MyGui done
> [TiBookie:~/ROOT/rootcode/xgui] cs% ./MyGui
>
> *** Break *** segmentation violation
>
> Can you tell me what has changed between 3.05/02 and 3.05/04?
> What do these messages mean?
> What can I do to get my program running again?
>
> Thank you in advance
> Best regards
> Christian
> _._._._._._._._._._._._._._._._
> C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
> V.i.e.n.n.a A.u.s.t.r.i.a
> _._._._._._._._._._._._._._._._
>
>
>
>
>
>
>
>
>
---------------------------------------------------------------------
"Sometimes I think the surest sign that intelligent life exists else-
where in the universe is that none of it has tried to contact us."
Calvin (Bill Watterson)
*********************************************************************
Remigius K. Mommsen e-mail: mommsen@slac.stanford.edu
University of California, Irvine URL: http://cern.ch/mommsen
c/o SLAC voice: ++1 (650) 926-3595
2575 Sand Hill Road #35 mobile: ++1 (650) 387-1402
Menlo Park, CA 94025, US fax: ++1 (650) 926-8522
*********************************************************************
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET