-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/3/12 11:49 AM, Pierluigi Belli wrote:
> 
> 
> 
> 
> Il 03/01/12 02.28, Alexander Hansen ha scritto: On 1/2/12 5:07 PM,
> Pierluigi Belli wrote:
>>>> Dear All,
>>>> 
>>>> I found the following error during the installation of some 
>>>> software:
>>>> 
>>>> sh-3.2# fink install root5
>>>> 
>>>> on a MacBookPro with Mac OS X 10.6.8 (similar errors was
>>>> also obtained when I tried to install cernlib packages)
>>>> 
> Yes because all require gcc46.  The ultimate package is absolutely 
> irrelevant.
> 
>>>> I will be grateful if you can give me some advices
>>>> 
>>>> Best regards, Pierluigi Belli
>>>> 
>>>> ---------------------------------------------
>>>> 
> 
>>>> ../../gcc-4.6.2/gcc/fortran/module.c:110:1: error:
>>>> redefinition of typedef 'pointer_t' with different type 
>>>> /usr/include/mach/vm_types.h:40:26: note: previous
>>>> declaration of 'pointer_t' was here make[3]: ***
>>>> [fortran/module.o] Error 1 make[3]: *** Waiting for
>>>> unfinished jobs....
> This error has been associated with extra symlinks that shouldn't
> be there.
> 
> Let's start with the most recent incident that I know about.  What
> do you get from "find /usr/include -name malloc.h | xargs ls -l" ?
> 
> I get:
> 
> $ find /usr/include -name malloc.h | xargs ls -l -r--r--r-- 1
> hansen staff 10687 Jul 14  2009 /usr/include/malloc/malloc.h 
> -r--r--r-- 1 hansen staff  1067 Jul 14  2009
> /usr/include/objc/malloc.h -r--r--r-- 1 hansen staff  3706 Aug  1
> 2009 /usr/include/sys/malloc.h -- Alexander Hansen, Ph.D. Fink User
> Liaison http://finkakh.wordpress.com/
> 

> Many thanks for your kind reply.
> 
> I get:
> 
> sh-3.2# find /usr/include -name malloc.h | xargs ls -l lrwxr-xr-x
> 1 root  wheel     28 31 Dic 17:56 /usr/include/malloc.h -> 
> /usr/include/malloc/malloc.h -r--r--r--  1 root  wheel  10687  2
> Ott  2009
/usr/include/malloc/malloc.h
> -r--r--r--  1 root  wheel   1067  2 Ott  2009
> /usr/include/objc/malloc.h -r--r--r--  1 root  wheel   3706  5 Mar
> 2010 /usr/include/sys/malloc.h sh-3.2#

The /usr/include/malloc.h symlink is the problem.  Get rid of that and
gcc46 should build.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8DQ5EACgkQB8UpO3rKjQ+r2gCdH6nUtw6/2SNcVQQMdGA23E02
u4kAn0u07a8jBkvOTZqg7MX63vpVqEZ9
=/kkW
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to