[Nix-dev] C compiler cannot create executables
Eelco Visser
visser at cs.uu.nl
Fri Jan 7 22:49:24 CET 2005
> 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?
visser at linux:~/wip/config-install-scripts/StrategoXT> env | grep NIX
NIX_CFLAGS_COMPILE=-I/usr/include
NIXPKGS=/home/visser/.nix-profile
NIX_LDFLAGS=-L/usr/lib -L/lib
NIX_CFLAGS_LINK=-L/home/visser/.nix-profile/lib -L/usr/lib -L/lib
-- Eelco
------------------------------------------------------------------------
Eelco Visser Institute of Information and Computing Sciences
mail:visser at cs.uu.nl Universiteit Utrecht
or:visser at acm.org P.O. Box 80089, 3508 TB Utrecht, The Netherlands
http://www.cs.uu.nl/~visser/ Phone: +31-30-253 4592 Fax: +31-30-251 3791
------------------------------------------------------------------------
More information about the nix-dev
mailing list