Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2002 17:53:17 -0400
From:      Ilya <mail@krel.org>
To:        freebsd-questions@freebsd.org
Subject:   ports fail to compile with :C compiler cannot create executables
Message-ID:  <20020606215317.GA46447@krel.org>

next in thread | raw e-mail | index | archive | help
Hi, Since upgrade to FreeBSD alchemistry.net 4.6-RC FreeBSD 4.6-RC  i386 i386
I cannot upgrade several of my ports, they all fail on configure with:
 make configure
===>  Configuring for BitchX-1.0c19
configure: WARNING: you should use --build, --host, --target
Welcome to the BitchX-1.0c19 configuration

checking for i386-portbld-freebsd4.6-gcc... cc
checking for C compiler default output... configure: error: C compiler cannot
create executables


here is what config.log says:
configure:1270: checking for i386-portbld-freebsd4.6-gcc
configure:1296: result: cc
configure:1578: checking for C compiler version
configure:1581: cc --version </dev/null >&5
2.95.3
configure:1584: $? = 0
configure:1586: cc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
configure:1589: $? = 0
configure:1591: cc -V </dev/null >&5
cc: argument to `-V' is missing
configure:1594: $? = 1
configure:1620: checking for C compiler default output
configure:1623: cc -O -pipe  -I/usr/local/include  conftest.c -L/usr/local/lib
>&5
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x79): undefined reference to `main'
configure:1626: $? = 1
configure: failed program was:
configure:1653: error: C compiler cannot create executables


but most of the ports I was able to upgrade.

any suggestions or points? 

thank you




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606215317.GA46447>