Erik Hunger <[EMAIL PROTECTED]> wrote:

> Hi all,
>       I've been using fink successfully for a couple months now and I've 
> only run into one problem I can't seem to fix. When I compile guile it 
> crashes out with an error about 'u_short' being an undefined type. I 
> have tried CVS releases (I started on one before fink worked on 10.2 
> systems), selfupdating over the last couple months, and even nuking /sw 
> and starting over from a fresh source distro from the download page. I 
> found one reference to this from last February but the solutions in it 
> did not work for me.
>       Can anyone else get "fink install guile" to work? Or is it just me? 
> Below is some info that might help. Thanks and if you need more 
> information just ask.
> 
> Erik
> 
> 
> --------------   Fink Version  ------------
> 
> [echo:~/fink-0.5.1-full] root# fink --version
> Package manager version: 0.11.1
> Distribution version: 0.5.1
> 
> ---------------------------------   Error Message  
> ----------------------------------
> 
> Making all in libltdl
> /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.   
> -I/sw/include  -g -O2 -c ltdl.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -g -O2 -c ltdl.c  
> -fno-common -DPIC -o .libs/ltdl.lo
> /usr/include/malloc.h:271: undefined type, found `u_short'
> /usr/include/malloc.h:272: undefined type, found `u_short'
> cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode
> In file included from ltdl.c:46:
> /usr/include/malloc.h:271: parse error before "u_short"
> /usr/include/malloc.h:277: parse error before '}' token
> make[1]: *** [ltdl.lo] Error 1
> make: *** [all-recursive] Error 1
> ### execution of make failed, exit code 2
> Failed: compiling guile-1.4-6 failed
> [echo:~/fink-0.5.1-full] root# 
> 

I'm not sure where you got /usr/include/malloc.h, but it is not present
on my system.  I suggest that you move it out of the way temporarily
(by renaming the file) and then try to compile guile again.

  -- Dave


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to