www/w3m を ports から make しようとしたら、

===> Configuring for w3m-0.5.1
configure: WARNING: you should use --build, --host, --target
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for i386-portbld-freebsd5.2.1-gcc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
===> Script "configure" failed unexpectedly.
Please report the problem to nobutaka@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/w3m/work/w3m-0.5.1/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/w3m.

となって失敗するようになっちゃいました。
どうすれば良いのでしょう?