You are not logged in.

#1 2009-09-13 16:20:21

el mariachi
Member
Registered: 2007-11-30
Posts: 595

kernel won't compile anymore -- 'C compiler cannot create executables'

I already tried re-installing base-devel but the problem persists.
When trying to compile xf86-video-intel-git (another package that used to work) yaourt spits this:

checking for C compiler default output file name...
configure: error: in `/tmp/yaourt-tmp-mariachi/aur-xf86-video-intel-git/xf86-video-intel-git/src/xf86-video-intel':
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
==> ERROR: Build Failed.
Aborting...

These are my cflags (core2 (dell e5400 laptop)

CARCH="i686"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer "
CXXFLAGS="${CFLAGS}"

I can't compile some more programs, not just these two (anything C related I guess...)

Any idea of what's going on?
the said config.log, because it's way to cryptic for me sadhttp://pastebin.com/f7a0ff039

Offline

#2 2009-09-13 16:26:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: kernel won't compile anymore -- 'C compiler cannot create executables'

This is the relevant lines

In file included from conftest.c:11:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/stdio.h:75,
                 from conftest.c:11:
/usr/include/libio.h:53:21: error: stdarg.h: No such file or directory
In file included from /usr/include/stdio.h:75,
                 from conftest.c:11:

So something is missing from your system.  Try reinstalling base too...

Offline

#3 2009-09-13 17:51:36

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: kernel won't compile anymore -- 'C compiler cannot create executables'

reinstalled base and problem persists...:/

Offline

#4 2009-09-13 17:54:40

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: kernel won't compile anymore -- 'C compiler cannot create executables'

Try reinstalling glibc

Offline

#5 2009-09-13 18:00:29

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: kernel won't compile anymore -- 'C compiler cannot create executables'

reinstalling glibc, base and base-devel did not work

Offline

#6 2009-09-13 18:50:02

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: kernel won't compile anymore -- 'C compiler cannot create executables'

stdarg.h and stddef.h are in the "gcc" package. This might be a gcc installation problem as the compiler can't find its own includes. Normally these includes are in the "/usr/lib/gcc/<host-triplet>/<gcc-version>/include" directory.

configure:3214: found /usr/lib/cw/gcc

Why is your gcc in this directory? Where did the gcc package come from?

Offline

#7 2009-09-13 20:47:47

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: kernel won't compile anymore -- 'C compiler cannot create executables'

ah! cw... maybe it's because I installed CWrapper (color wrapper):| I'll try uninstalling it

edit: well seems it's fixed... but I want color wrapper hmm

Last edited by el mariachi (2009-09-13 20:52:47)

Offline

#8 2009-09-13 20:57:38

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: kernel won't compile anymore -- 'C compiler cannot create executables'

try colorgcc instead

Offline

#9 2009-09-13 21:07:17

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: kernel won't compile anymore -- 'C compiler cannot create executables'

well it's not quite the same effect but it works (I guess:rolleyes:)

thanks big_smile

Offline

Board footer

Powered by FluxBB