bug-dejagnu
[Top][All Lists]
Advanced

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

[Bug-dejagnu] building dejagnu under osx


From: Dan Starr
Subject: [Bug-dejagnu] building dejagnu under osx
Date: Fri, 4 Nov 2005 12:10:59 -0500

Hey guys,

I fussed some trying to build dejagnu-1.4.4, and keep getting an error that rejects my seemingly perfectly good gcc compiler. Here is an excerpt from config.log ...


configure:2416: $? = 0
configure:2434: result: none needed
configure:2452: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2455: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2575: checking for style of include used by make
configure:2603: result: GNU
configure:2631: checking dependency style of gcc
configure:2714: result: gcc3

and another excerpt ...

configure:3020: g++ -c -g -O2  conftest.cc >&5
configure: In function `int main()':
configure:3017: error: `exit' undeclared (first use this function)
configure:3017: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
configure:3023: $? = 1
configure: failed program was:
| #line 3003 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "dejagnu"
| #define VERSION "1.4.4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:2984: g++ -c -g -O2  conftest.cc >&5
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0



As a result of this, "make" simply does nothing.
Please advise.  Entire log is enclosed as an attachment.

devious dan


Attachment: config.log
Description: Binary data


reply via email to

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