octave-maintainers
[Top][All Lists]
Advanced

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

Re: Building on OSX without package managers


From: John W. Eaton
Subject: Re: Building on OSX without package managers
Date: Mon, 24 Jan 2011 23:29:35 -0500

On 24-Jan-2011, Richard Campbell wrote:

| I am getting the errors even if I attempt a 32-bit build of octave-3.3.54. 
The error is during the running of ./configure.
| 
| I get further with octave-3.2.4. After installing gnu readline and sed (with 
--prefix=/usr) I get through the configure stage and can proceed to make. I 
eventually get the following error:
| 
| gcc -c -I/usr/X11/include/freetype2 -I/usr/X11/include -fPIC -I. -I../.. 
-I../../liboctave -I../../src -I../../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp 
-Wall -W -Wshadow -Wformat -g -O2 -D_THREAD_SAFE  f77-fcn.c -o pic/f77-fcn.o
| In file included from f77-fcn.c:31:
| f77-fcn.h:224: error: ‘F77_FUNC’ declared as function returning a function
| f77-fcn.h:224: warning: parameter names (without types) in function 
declaration
| f77-fcn.c:50: error: ‘F77_FUNC’ declared as function returning a function
| f77-fcn.c: In function ‘F77_FUNC’:
| f77-fcn.c:50: warning: type of ‘xstopx’ defaults to ‘int’
| f77-fcn.c:50: warning: type of ‘XSTOPX’ defaults to ‘int’

What is in your config.h file?  For F77_FUNC, I would expect something
like

  #define F77_FUNC(name,NAME) name ## _

but it looks like it is not being defined, since there is a
diagnostic about it as if it is not being expanded by the
preprocessor.

jwe


reply via email to

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