Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2002 22:39:07 -0400
From:      "Ilya" <mail@krel.org>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   ports fail to build. PLEASE HELP
Message-ID:  <006701c22ecd$74b0ea80$0100a8c0@ilya>
References:  <1085.192.168.1.4.1027045379.squirrel@webmail.probsd.ws>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi guys. I have about 15 ports which fail to build all with the same error:
checking for i386-portbld-freebsd4.6-gcc... cc
checking for C compiler default output... configure: error: C compiler cannot create executables

as far as I could debug it, it seems that conftest.c is actually created empty. I cannot understand why. I have about 100 other ports which compile properly. I just rebuild world and kernel yesterday with no problem.

Can anyone give any suggestions?

this is from the config.log:
configure:1261: checking for i386-portbld-freebsd4.6-gcc
configure:1287: result: cc
configure:1569: checking for C compiler version
configure:1572: cc --version </dev/null >&5
2.95.4
configure:1575: $? = 0
configure:1577: cc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
configure:1580: $? = 0
configure:1582: cc -V </dev/null >&5
cc: argument to `-V' is missing
configure:1585: $? = 1
configure:1611: checking for C compiler default output
configure:1614: cc -O -pipe    conftest.c  >&5
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x79): undefined reference to `main'
configure:1617: $? = 1
configure: failed program was:
configure:1644: error: C compiler cannot create executables


ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O -pipe '
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-portbld-freebsd4.6
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-portbld-freebsd4.6
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i386-portbld-freebsd4.6
ac_cv_prog_CC=cc


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006701c22ecd$74b0ea80$0100a8c0>