Re: problems compiling root 4-04-02f on mac using gcc 4.0.0

From: Keisuke Fujii <keisuke.fujii_at_kek.jp>
Date: Fri, 21 Oct 2005 14:43:41 +0900


Dear Mac rooters,

I have recently succeeded in making cernlib2005 compile and run on MacOS X 10.4
using the recent gcc4 and gfortran (gcc-4.1.0 checked out from CVS on Oct.4,2005).
See

        http://www-jlc.kek.jp/~fujiik/macosx/10.4.X/ for details.

--
Sincerely yours,
Keisuke Fujii

On 2005/09/01, at 5:44, Rene Brun wrote:


> Anselmo,
>
> To run with gcc4 you will need a version of cernlib compatible
> with this compiler. If you do not need g2root, you can specify
> --disable-cern
> It would be nice if somebody could report success in installing the
> latest cernlib on the MAC and callable from gcc4.
>
> Rene Brun
>
> On Wed, 31 Aug 2005, Anselmo Meregaglia wrote:
>
>> Hi all,
>> I am trying to compile root v4-04-02f on mac OSX using gcc 4.0.0
>> I configured it with the option --enable-table that I need in order
>> to have qtRoot working properly (my next step).
>> In principle it should be fairly easy since it is even possible to
>> download binaries but I can not compile it for some reason.
>>
>> The error I get is the following:
>>
>> g++ -O2 -bind_at_load -o bin/g2root main/src/g2root.o \
>> /cern/pro/lib/libpacklib.a /cern/pro/lib/libkernlib.a \
>> -lg2c -lm -L/sw/lib -lpthread -ldl
>> /usr/bin/ld: Undefined symbols:
>> _main
>> collect2: ld returned 1 exit status
>> make: *** [bin/g2root] Error 1
>>
>> I have been told I could compile it with the option --disable-cern
>> but I would rather do it the proper way.
>> Can anyone help me?
>>
>> Cheers
>> Anselmo
>>
>>
>>
>>
>
Received on Fri Oct 21 2005 - 07:43:56 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET