[Couenne] stable/0.4 does not compile

Stefan Vigerske vigerske at zib.de
Wed Aug 10 13:12:46 EDT 2011


Hi,

seems to be an issue with an update of ASL this morning :-(.
The struct keyword has changed in there so that the member name is now a 
const char*, where it was a char* before.

There is no versioning for ASL, so I don't see how to go back to the 
last working version.

Stefan

> Using Fedora 14 and gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC)
> Downloading Couenne/stable/0.4 this morning
> using ./get.ASL in ThirdParty/ASL
> ma27 and mc19 in ThirdParty/HSL
> using a VPATH configuration
>
> "configure" works fine, but "make" gives:
>
>   g++ -DHAVE_CONFIG_H -I. -I../../../../../Ipopt/src/Apps/AmplSolver
> -I../../../src/Common
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../Common
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../LinAlg
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../LinAlg/TMatrices
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../Algorithm
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../Interfaces
> -I/home/fmargot/COIN_TEST/Couenne-0.4b/build/ThirdParty/ASL
> -I/home/fmargot/COIN_TEST/Couenne-0.4b/ThirdParty/ASL/solvers -O3 -pipe
> -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall
> -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
> -Wno-long-long -DIPOPT_BUILD -MT AmplTNLP.lo -MD -MP -MF
> .deps/AmplTNLP.Tpo -c
> ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp -o AmplTNLP.o
> ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp: In member function
> 'void* Ipopt::AmplOptionsList::Keywords(const
> Ipopt::SmartPtr<Ipopt::OptionsList>&, Ipopt::SmartPtr<const
> Ipopt::Journalist>, void**)':
> ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp:1008:57: error:
> invalid conversion from 'const char*' to 'char*'
> ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp: In member function
> 'void Ipopt::AmplSuffixHandler::PrepareAmplForSuffixes(ASL_pfgh*)':
> ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp:1457:53: error:
> invalid conversion from 'const char*' to 'char*'
>
> I tried to create a new ticket. but after sub,itting, I get:
> New tickets you submit will be routed for moderation.
> Oops…
> Trac detected an internal error:
>
> error: (111, 'Connection refused')
>
> There was an internal error in Trac. It is recommended that you notify
> your local Trac administrator with the information needed to reproduce the
> issue.
>
> To that end, you could ==== How to Reproduce ==== While doing a POST
> operation on `/newticket`, Trac issued an internal error. ''(please
> provide additional details here)'' Request parameters: {{{
> {'__FORM_TOKEN': u'0bbc98813c685cf301b07ae5', 'field_cc':
> u'fmargot at andrew.cmu.edu', 'field_component': u'component1',
> 'field_description': u'Using Fedora 14 and\r\ngcc version 4.5.1 20100924
> (Red Hat 4.5.1-4) (GCC)\r\n\r\ndownloading Couenne/stable/0.4\r\nuse a
> VPATH configuration\r\n\r\nget.ASL in ThirdParty/ASL\r\nma27 and mc19 in
> ThirdParty/HSL\r\n\r\nconfigure works fine, but "make" results in:\r\n\r\n
> g++ -DHAVE_CONFIG_H -I. -I../../../../../Ipopt/src/Apps/AmplSolver
> -I../../../src/Common
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../Common
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../LinAlg
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../LinAlg/TMatrices
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../Algorithm
> -I../../../../../Ipopt/src/Apps/AmplSolver/../../Interfaces
> -I/home/fmargot/COIN_TEST/Couenne-0.4b/build/ThirdParty/ASL
> -I/home/fmargot/COIN_TEST/Couenne-0.4b/ThirdParty/ASL/solvers -O3 -pipe
> -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall
> -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
> -Wno-long-long -DIPOPT_BUILD -MT AmplTNLP.lo -MD -MP -MF
> .deps/AmplTNLP.Tpo -c
> ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp -o
> AmplTNLP.o\r\n../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp: In
> member function \'void* Ipopt::AmplOptionsList::Keywords(const
> Ipopt::SmartPtr<Ipopt::OptionsList>&, Ipopt::SmartPtr<const
> Ipopt::Journalist>,
> void**)\':\r\n../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp:1008:57:
> error: invalid conversion from \'const char*\' to
> \'char*\'\r\n../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp: In
> member function \'void
> Ipopt::AmplSuffixHandler::PrepareAmplForSuffixes(ASL_pfgh*)\':\r\n../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp:1457:53:
> error: invalid conversion from \'const char*\' to \'char*\'\r\nmake[3]:
> *** [AmplTNLP.lo] Error 1\r\nmake[3]: Leaving directory
> `/home/fmargot/COIN_TEST/Couenne-0.4b/build/Ipopt/src/Apps/AmplSolver\'\r\nmake[2]:
> *** [all-recursive] Error 1\r\nmake[2]: Leaving directory
> `/home/fmargot/COIN_TEST/Couenne-0.4b/build/Ipopt/src/Apps\'\r\nmake[1]:
> *** [all-recursive] Error 1\r\nmake[1]: Leaving directory
> `/home/fmargot/COIN_TEST/Couenne-0.4b/build/Ipopt\'\r\nmake: ***
> [all-recursive] Error 1
>
> I tried to create a ticket, but after submitting, I got:
>
> New tickets you submit will be routed for moderation.
>
> Trac detected an internal error:
>
> error: (111, 'Connection refused')
>
> There was an internal error in Trac. It is recommended that you notify
> your local Trac administrator with the information needed to reproduce the
> issue.
>
> The action that triggered the error was:
>
> POST: /newticket
>
> Francois
>
>
> _______________________________________________
> Couenne mailing list
> Couenne at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/couenne
>



More information about the Couenne mailing list