Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make fails under cygwin re debug info #15

Closed
svigerske opened this issue Jan 28, 2019 · 6 comments
Closed

make fails under cygwin re debug info #15

svigerske opened this issue Jan 28, 2019 · 6 comments
Labels

Comments

@svigerske
Copy link
Member

Issue created by migration from Trac.

Original creator: leolopes

Original creation time: 2006-07-14 23:55:44

Assignee: ipopt-team

Version:

Here is the output:

$ make
Making all in ThirdParty/Blas
make6afa9fa918: Entering directory `/cygdrive/c/tmp/ipopt/ThirdParty/Blas'
make6afa9fa918: Nothing to be done for `all'.
make6afa9fa918: Leaving directory `/cygdrive/c/tmp/ipopt/ThirdParty/Blas'
Making all in ThirdParty/Lapack
make6afa9fa918: Entering directory `/cygdrive/c/tmp/ipopt/ThirdParty/Lapack'
make6afa9fa918: Nothing to be done for `all'.
make6afa9fa918: Leaving directory `/cygdrive/c/tmp/ipopt/ThirdParty/Lapack'
Making all in ThirdParty/HSL
make6afa9fa918: Entering directory `/cygdrive/c/tmp/ipopt/ThirdParty/HSL'
make6afa9fa918: Nothing to be done for `all'.
make6afa9fa918: Leaving directory `/cygdrive/c/tmp/ipopt/ThirdParty/HSL'
Making all in ThirdParty/ASL
make6afa9fa918: Entering directory `/cygdrive/c/tmp/ipopt/ThirdParty/ASL'
make6afa9fa918: Nothing to be done for `all'.
make6afa9fa918: Leaving directory `/cygdrive/c/tmp/ipopt/ThirdParty/ASL'
Making all in Ipopt
make6afa9fa918: Entering directory `/cygdrive/c/tmp/ipopt/Ipopt'
Making all in src/Common
make4b93956e64: Entering directory `/cygdrive/c/tmp/ipopt/Ipopt/src/Common'
source='IpDebug.cpp' object='IpDebug.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../../depcomp \
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I`cygpath -w .` -I../../inc     -O3 -fomit-frame-pointer -mno-cygwin -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion   -c -o IpDebug.lo IpDebug.cpp
 g++ -DHAVE_CONFIG_H -I. -I.\\ -I../../inc -O3 -fomit-frame-pointer -mno-cygwin -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -c IpDebug.cpp -o IpDebug.o
In file included from IpDebug.cpp:9:
IpoptConfig.h:95: error: `FORTRAN_INTEGER_TYPE' does not name a type
IpoptConfig.h:95: error: extra `;'
In file included from IpDebug.cpp:11:
IpDebug.hpp:21:4: #error "don't have header file for assert"
In file included from IpDebug.cpp:12:
IpJournalist.hpp:23:4: #error "don't have header file for stdarg"
In file included from IpDebug.cpp:12:
IpJournalist.hpp:148: error: `va_list' has not been declared
IpJournalist.hpp:148: error: ISO C++ forbids declaration of `ap' with no type
IpJournalist.hpp:156: error: `va_list' has not been declared
IpJournalist.hpp:156: error: ISO C++ forbids declaration of `ap' with no type
IpJournalist.hpp:285: error: `va_list' has not been declared
IpJournalist.hpp:286: error: ISO C++ forbids declaration of `ap' with no type
IpJournalist.hpp:306: error: `va_list' has not been declared
IpJournalist.hpp:306: error: ISO C++ forbids declaration of `ap' with no type
IpJournalist.hpp:370: error: `va_list' has not been declared
IpJournalist.hpp:370: error: ISO C++ forbids declaration of `ap' with no type
make4b93956e64: *** [IpDebug.lo] Error 1
make4b93956e64: Leaving directory `/cygdrive/c/tmp/ipopt/Ipopt/src/Common'
make6afa9fa918: *** [all-recursive] Error 1
make6afa9fa918: Leaving directory `/cygdrive/c/tmp/ipopt/Ipopt'
make: *** [all-recursive] Error 1

This might also be useful:

$ uname -a
CYGWIN_NT-5.1 PIQUET 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin

$ gcc --version
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@svigerske
Copy link
Member Author

Comment by @andrea5w created at 2006-07-19 05:35:07

Problem was apparently caused by a mistake in configure.ac, where FORTRAN_INTEGER_TYPE was defined twice. For now, this is always defined to be int, but on the long run, we need to make sure that this really works on all OS.

@svigerske
Copy link
Member Author

Comment by @andrea5w created at 2006-07-19 05:35:07

Changing assignee from ipopt-team to @andrea5w.

@svigerske
Copy link
Member Author

Comment by @andrea5w created at 2006-07-19 05:35:07

Changing status from new to assigned.

@svigerske
Copy link
Member Author

Comment by @andrea5w created at 2006-10-25 00:17:39

Changing priority from normal to low.

@svigerske svigerske added the low label Jan 28, 2019
@svigerske
Copy link
Member Author

Comment by @andrea5w created at 2007-04-16 19:43:48

It seems that the current constellation is working. Closing ticket.

@svigerske
Copy link
Member Author

Comment by @andrea5w created at 2007-04-16 19:43:48

Resolution: worksforme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant