[cessenat_at_valerie hwloc-1.0.1]$ which gcc
/usr/bin/gcc
It's only gfortran that I have in opt.
Removing it from the path makes it compile.
Olivier.
Le dimanche 06 juin 2010 à 21:52 +0200, Samuel Thibault a écrit :
> Olivier Cessenat, le Sun 06 Jun 2010 21:40:03 +0200, a écrit :
> > [root_at_valerie hwloc-1.0.1]# /usr/bin/gcc
> > gcc: no input files
>
> No, I said: what does
>
> which gcc
>
> return? I guess you are currently getting some gcc from /opt, which
> leads to all the kinds of errors you are getting in config.log. Please
> remove that from your PATH.
>
> > /opt/gfortran/irun/bin/../lib/gcc/i386-pc-linux-gnu/4.3.0/include-fixed/sys/stat.h:345: error: expected ',' or ';' before '__wur'
>
> Samuel
> _______________________________________________
> hwloc-users mailing list
> hwloc-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
|