[Nix-dev] C compiler cannot create executables

Martin Bravenboer martin at cs.uu.nl
Fri Jan 7 22:46:55 CET 2005


>>>configure:2377: $? = 1
>>>configure:2379: gcc -V </dev/null >&5
>>>gcc: couldn't run `/nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3/bin/i686-pc-linux-gnu-gcc--B/nix/store/e69531bd1d912403794a8bd2ee62ebac-gcc-3.4.3/bin': No such file or directory
>>
>>This seems to be the culprit.
> 
> 
> Apparently, but what does it mean? It seems that there is a space
> missing before the --B, but I have no idea where this is triggered.

I think this is the real problem:

configure:2408: gcc    conftest.c  >&5
/lib/libc.so.6: undefined reference to `_rtld_global_ro at GLIBC_PRIVATE'
collect2: ld returned 1 exit status

What's the value of your NIX_LDFLAGS, NIX_CFLAGS_LINK and 
NIX_CFLAGS_COMPILE?

-- 
Martin Bravenboer
---------------------------------------------------------------------
Center for Software Technology
Institute of Information and Computing Sciences
Utrecht University




More information about the nix-dev mailing list