Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
When I try to ./configure some programs (but not all), I keep running into the same conftest errors. An example (FLTK 1.1.5rc1):
........................................................................................
configure:2253: gcc -c conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2256: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2417: checking for g++
..........................................................................................
Which always leads to:
..........................................................................................
configure:2653: g++ -c conftest.cc >&5
configure: In function `int main()':
configure:2648: error: `exit' undeclared (first use this function)
configure:2648: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:2656: $? = 1
configure: failed program was:
| #line 2636 "configure"
| /* confdefs.h. */
............................................................................................
Later, I get several more errors. The exact errors depend on whatever package I am trying to install. Anyone have any ideas?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.