LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Thread Tools
Old 05-08-2004, 06:05 AM   #1
ThunderPuppy
LQ Newbie
 
Registered: May 2004
Posts: 3
Thanked: 0
conftest.c Parsing Error


[Log in to get rid of this advertisement]
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?
ThunderPuppy is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while parsing chunk header. Mplayer error only under Slack vdemuth Linux - Software 5 02-19-2007 12:09 PM
Error Parsing Config file for X chiefreborn Suse/Novell 5 08-31-2005 07:30 PM
Xml Parsing Eror:syntax error Black.UCoD Linux - Newbie 6 08-30-2005 05:23 PM
Fwd: Error 23: Error while parsing number rblythe Linux From Scratch 2 06-22-2005 09:43 PM
conftest.sh Jezter Linux - Newbie 1 11-20-2004 01:03 PM


All times are GMT -5. The time now is 07:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration