PPL fails to build on SGI - with config.log.bz2
Knowing how you love to see the config.log, I've attached it. -----Original Message----- From: Tovrea, George W (US SSA) Sent: Monday, August 31, 2009 11:08 AM To: ppl-devel@cs.unipr.it Subject: PPL fails to build on SGI System: uname -m = IP35 uname -r = 6.5 uname -s = IRIX64 uname -v = 07010238 /usr/bin/uname -p = mips /bin/uname -X = unknown Error: /home/users/tovrea/local/sgi6/bin/g++ -DHAVE_CONFIG_H -I. -I/home/users/tovrea/GCC_SGI2/ppl-0.10.2/src -I.. -I.. -I/home/users/tovrea/GCC_SGI2/ppl-0.10.2/src -I/home/users/tovrea/local/sgi6/include -g -O2 -frounding-math -W -Wall -MT ppl-config.o -MD -MP -MF .deps/ppl-config.Tpo -c -o ppl-config.o ppl-config.cc ppl-config.cc:131: error: 'no_argument' was not declared in this scope ppl-config.cc:132: error: 'required_argument' was not declared in this scope ppl-config.cc:133: error: 'required_argument' was not declared in this scope ppl-config.cc:134: error: 'no_argument' was not declared in this scope ppl-config.cc:135: error: 'no_argument' was not declared in this scope ppl-config.cc:136: error: 'optional_argument' was not declared in this scope ppl-config.cc:137: error: 'optional_argument' was not declared in this scope ppl-config.cc:138: error: 'no_argument' was not declared in this scope ppl-config.cc:139: error: 'no_argument' was not declared in this scope ppl-config.cc:140: error: 'no_argument' was not declared in this scope ppl-config.cc:141: error: 'no_argument' was not declared in this scope ppl-config.cc:142: error: 'no_argument' was not declared in this scope ppl-config.cc:143: error: 'no_argument' was not declared in this scope ppl-config.cc:144: error: 'no_argument' was not declared in this scope ppl-config.cc:145: error: 'no_argument' was not declared in this scope ppl-config.cc:146: error: 'no_argument' was not declared in this scope ppl-config.cc:147: error: 'no_argument' was not declared in this scope ppl-config.cc:148: error: 'no_argument' was not declared in this scope ppl-config.cc:149: error: 'no_argument' was not declared in this scope ppl-config.cc:150: error: 'no_argument' was not declared in this scope ppl-config.cc:151: error: 'no_argument' was not declared in this scope ppl-config.cc:152: error: 'no_argument' was not declared in this scope ppl-config.cc:153: error: 'no_argument' was not declared in this scope ppl-config.cc:154: error: 'no_argument' was not declared in this scope ppl-config.cc:155: error: 'no_argument' was not declared in this scope ppl-config.cc:156: error: 'no_argument' was not declared in this scope ppl-config.cc:158: error: elements of array '<unnamed>::option <unnamed>::long_options []' have incomplete type ppl-config.cc:158: error: storage size of '<unnamed>::long_options' isn't known ppl-config.cc: In function 'void<unnamed>::process_options(int, char**)': ppl-config.cc:254: error: 'getopt_long' was not declared in this scope ma Bill Tovrea BAE Systems 16550 West Bernardo Drive San Diego, CA 92127 Telephone: (858) 592-5292 Pager: (888) 971-4964 E-mail: George.Tovrea@baesystems.com
Tovrea, George W (US SSA) wrote:
Knowing how you love to see the config.log, I've attached it.
Right, but the attachment did not get through :-D I also need the (possibly complete) documentation of getopt() as provided by your system. Cheers, Roberto -- Prof. Roberto Bagnara Computer Science Group Department of Mathematics, University of Parma, Italy http://www.cs.unipr.it/~bagnara/ mailto:bagnara@cs.unipr.it
It seems that configure only checks if getopt.h is present. The native getopt.h on my system is the bogus one I sent you. I kludged the code ppl-config.cc, adding "#undef PPL_HAVE_GETOPT_H". This got me past the current roadblock. However, I am building with gcc 4.3.0 which has a getopt.h which is the same as the other systems I am using and has defines for reuiquired_parameter, no_parameter, etc. Unfortunately, "make install" in GCC does not automatically install the new getopt. You have to used some configure option which does not appear in "configure --help" or the online configuration documentation, "--enable-install-libiberty". When (if) I get a chance, I will go back and redo gcc. Regards, Bill T. -----Original Message----- From: Roberto Bagnara [mailto:bagnara@cs.unipr.it] Sent: Monday, August 31, 2009 11:16 AM To: Tovrea, George W (US SSA) Cc: 'ppl-devel@cs.unipr.it' Subject: Re: [PPL-devel] PPL fails to build on SGI - with config.log.bz2 Tovrea, George W (US SSA) wrote:
Knowing how you love to see the config.log, I've attached it.
Right, but the attachment did not get through :-D I also need the (possibly complete) documentation of getopt() as provided by your system. Cheers, Roberto -- Prof. Roberto Bagnara Computer Science Group Department of Mathematics, University of Parma, Italy http://www.cs.unipr.it/~bagnara/ mailto:bagnara@cs.unipr.it
participants (2)
-
Roberto Bagnara -
Tovrea, George W (US SSA)