Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] Not able to compile an hwloc program
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2009-11-20 18:59:48

Sanket, le Sat 21 Nov 2009 05:24:04 +0530, a écrit :
> cc hwloc_bind.c $(CFLAGS) -o hwloc-hello $(LDLIBS)
> -bash: CFLAGS: command not found
> -bash: LDLIBS: command not found

Should be ${CFLAGS} and ${LDLIBS}, not with parentheses (which are
make-ish). Note that once it's compiled, you need to define the
LD_LIBRARY_PATH environment variable to the place where
got installed.