[Ipopt] ‘F77_FUNC’ declared as function returning a function

Ned Nedialkov nedialk at mcmaster.ca
Tue Feb 23 17:17:31 EST 2010





We have a problem of this sort:

>
>> if cc -DHAVE_CONFIG_H -I. -I. -I../../IPOPT/include -I../../IPOPT/ 
>> include -I../../IPOPT/include     -O3 -funroll-loops  -MT ffinite.o  
>> -MD -MP -MF ".deps/ffinite.Tpo" -c -o ffinite.o ffinite.c; \
>> 	then mv -f ".deps/ffinite.Tpo" ".deps/ffinite.Po"; else rm -f  
>> ".deps/ffinite.Tpo"; exit 1; fi
>> ffinite.c:36: error: ‘F77_FUNC’ declared as function returning a  
>> function
>> ffinite.c: In function ‘F77_FUNC’:
>> ffinite.c:40: error: ‘number’ undeclared (first use in this function)
>> ffinite.c:40: error: (Each undeclared identifier is reported only  
>> once
>> ffinite.c:40: error: for each function it appears in.)
>> ffinite.c:40: error: non-floating-point argument to function ‘finite’
>> make[2]: *** [ffinite.o] Error 1
>> make[1]: *** [install-recursive] Error 1
>> make: *** [install-recursive] Error 1

If anybody has encountered the same problem, what would be a simple fix.

Many thanks,

Ned Nedialkov
Associate Professor
Dept. of Computing & Software   tel: 1-905-525-9140, x24161
McMaster University                   fax: 1-905-524-0340
Hamilton, Ontario
Canada, L8S 4K1
URL: http://www.cas.mcmaster.ca/~nedialk/






More information about the Ipopt mailing list