[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rm: conftest: is a directory

From: Stephane Bortzmeyer
Subject: rm: conftest: is a directory
Date: Mon, 07 Jun 2004 22:20:07 +0200

[Sent to port64-netbsd because the same program works fine on i386, so I 
assume it is a Sparc-specific problem. Copy to autoconf mailing list because 
the program is a configure script.]

An autoconf-generated configure script always crash:

checking for vprintf... rm: conftest: is a directory
rm: conftest: is a directory
checking for getaddrinfo... rm: conftest: is a directory
rm: conftest: is a directory

and fails to discover things that do exist (such as getaddrinfo on NetBSD).

The first similar tests are fine (here the content of config.log)

configure:4683: cc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:4686: $? = 0
configure:4724: result: ok
configure:6557: checking whether -lc should be explicitly linked in
configure:6562: cc -c -g -O2  conftest.c >&5
configure:6565: $? = 0
configure:6579: cc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 
2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:6582: $? = 1
configure:6594: result: yes

Then they fail:

configure:20264: checking for socket in -lsocket
configure:20294: cc -o conftest -g -O2  -I/usr/pkg/include  -L/usr/pkg/lib 
conftest.c -lsocket   >&5
ld: cannot open output file conftest: Is a directory
configure:20300: $? = 1

NetBSD 1.6.2, UltraSparc 10.

On a regular PC with the same version of NetBSD, everything is fine.

I noticed what seems to be a similar problem on the UltraSparc:

You can retrieve the test program at

Stéphane Bortzmeyer
Tout est aléa, confusion et précarité, sauf le Catalogue. (Fred Vargas)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]