pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling on OS X


From: Ben Pfaff
Subject: Re: Compiling on OS X
Date: Sat, 11 Oct 2008 15:42:44 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

GCC 4.0 didn't have the particular issue that -fgnu89-inline
fixed, so that could not be the problem.  Hmm, I don't have a
good suggestion.

address@hidden writes:

> Hmmm... ./configure fails now with this:
>
> checking for gcc... gcc
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
>
> The log file shows that it's not an option my gcc recognizes:
> gcc version 4.0.1 (Apple Inc. build 5465)
> configure:3268: $? = 0
> configure:3275: gcc -V >&5
> gcc-4.0: argument to `-V' is missing
> configure:3278: $? = 1
> configure:3301: checking for C compiler default output file name
> configure:3328: gcc  -I/opt/local/include -fgnu89-inline -L/opt/local/lib
> confte
> st.c  >&5
> cc1: error: unrecognized command line option "-fgnu89-inline"
>
>
> Thanks for looking into this,
>
> Craig
>
>
>> address@hidden writes:
>>
>>> ld: duplicate symbol _gsl_rng_get in src/math/libpspp_math.a(random.o)
>>> and
>>> src/ui/terminal/libui.a(src_ui_terminal_libui_a-main.o)
>>
>> Hmm, this is likely a recurrence of the problem with "inline" in
>> GSL.  I thought that we'd solved this problem.
>>
>> I'd recommend trying to configure with -fgnu89-inline, e.g.:
>>         ./configure CFLAGS=-fgnu89-inline
>> --
>> "GNU does not eliminate all the world's problems,
>>  only some of them."
>> --Richard Stallman
>>
>>

-- 
Ben Pfaff 
http://benpfaff.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]