Author
|
Topic: C compiler cannot create executables.
|
|
|
|
Dan
Member
Member # 106
|
posted October 11, 2001 01:50 PM
I suppose if I'm gonna run 10.1, I should also install the appropriate 10.1 dev tools heheThat's what solved it - upgrading the tools. Thanks for your help apex! I'm up and running again - I get all kinds of good errors now code:
...gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -c html-parse.c html-parse.c: In function `advance_declaration': html-parse.c:449: character constant too long html-parse.c:449: parse error before character constant html-parse.c:449: stray '\' in program html-parse.c:454: character constant too long html-parse.c:461: character constant too long html-parse.c:472: character constant too long html-parse.c:481: character constant too long html-parse.c:481: character constant too long html-parse.c:481: stray '\' in program html-parse.c:773: Unterminated string constant make[1]: *** [html-parse.o] Error 1 make: *** [src] Error 2
I'll attempt to figure these out for awhile ... I'm just happy I'm getting some decent errors heh [ October 11, 2001: Message edited by: Dan ]
Posts: 27 | Registered: Sep 2001
| IP: Logged
|
|
eikay
Junior Member
Member # 346
|
posted March 01, 2002 03:20 AM
Hi, there.I just had the same problem, but it'll work if you set the proper argument for the C compiler. In my case, the following worked. When you execute ./configure, make it like this: env CC=cc ./configure Hope it'll help...
Posts: 2 | Registered: Mar 2002
| IP: Logged
|
|
<stevensm@earthlink.net>
unregistered
|
posted February 22, 2003 09:19 PM
I just had this same error -- so frustrating!My problem turned out to be that I lacked execute permission for /usr/bin/gcc and /usr/bin/g++ (or whatever they linked to). I logged in as root and did a few commands like chmod 755 /usr/bin/gcc That fixed it (for now, at least). To find out exactly where these gcc executables were, I typed whereis gcc whereis g++ Good Luck, Mac
IP: Logged
|
|