Subject: Re: gcc and too-long command line
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 04/23/2002 11:04:11
On Tue, 23 Apr 2002, Lubomir Sedlacik wrote:
> > I'm updating abiword to 1.0.0 but the compilation fails with the
> > following error. Could it be because of the extremely long
> > command-line?
> >
> > [...]
>
> check you config.log fo the error.
I already did, but I couldn't see the error (the confdefs.h file is empty).
===========================================================================
configure:848: gcc -o conftest -O2 -Wall -ansi -pedantic -I/work/netbsd/pkgsrc/e
ditors/abiword/work/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include -D
HAVE_INTTYPE_H=1 -pipe -DNETBSD -DNetBSD -DHAVE_STRERROR -pipe -DNETBSD -DNe
tBSD -DHAVE_STRERROR -pipe -DNETBSD -DNetBSD -DHAVE_STRERROR -pipe -DNETBS
D -DNetBSD -DHAVE_STRERROR -DNDEBUG -I/work/netbsd/pkgsrc/editors/abiw
ord/work/abiword-1.0.0/abi/src/config -I/work/netbsd/pkgsrc/editors/abiword/work
/abiword-1.0.0/abi/src/af/xap/xp -I/work/netbsd/pkgsrc/editors/abiword/work/abiw
ord-1.0.0/abi/src/af/xap/unix -I/work/netbsd/pkgsrc/editors/abiword/work/abiword
-1.0.0/abi/src/af/ev/xp -I/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0
/abi/src/af/ev/unix -I/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi
/src/af/util/xp -I/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src
/af/util/unix -I/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/a
f/gr/xp -I/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/af/gr/u
nix -I/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/wp/ap/xp -I
/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/wp/ap/unix -I/wor
k/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/text/ptbl/xp -I/work/
netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/text/fmt/xp -I/work/net
bsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/wp/impexp/xp -I/work/netbs
d/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/wp/ap/xp/ToolbarIcons -I/wor
k/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/../../expat/lib -I/wo
rk/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/../../wv/exporter -I
/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/../../libiconv/in
clude -I/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/other/spe
ll/xp -I/work/netbsd/pkgsrc/editors/abiword/work/abiword-1.0.0/abi/src/other/fri
bidi/xp -DABI_BUILD_VERSION=\"1.0.0\" -I/work/netbsd/pkgsrc/editors/abiword/wor
k/.buildlink/include/gtk-1.2 -I/work/netbsd/pkgsrc/editors/abiword/work/.buildli
nk/include/glib/glib-1.2 -I/work/netbsd/pkgsrc/editors/abiword/work/.buildlink/l
ib/glib/include -I/usr/pkg/share/x11-links/include -I/work/netbsd/pkgsrc/editors
/abiword/work/.buildlink/include/glib/glib-1.2 -I/work/netbsd/pkgsrc/editors/abi
word/work/.buildlink/lib/glib/include -DSUPPORTS_UT_IDLE=1 -I/work/netbsd/pkgsrc
/editors/abiword/work/.buildlink/include -I/usr/pkg/share/x11-links/include -L/
work/netbsd/pkgsrc/editors/abiword/work/.buildlink/lib -L/usr/pkg/share/x11-lin
ks/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib conftest.c 1>&5
conftest.c:0: unterminated string or character constant
conftest.c:0: possible real start of unterminated constant
configure:845: warning: return-type defaults to `int'
configure: failed program was:
#line 843 "configure"
#include "confdefs.h"
main(){return(0);}
===========================================================================
Martti
---
Martti Kuparinen <martti.kuparinen@iki.fi> NetBSD - No media hype
http://www.iki.fi/kuparine/ http://www.netbsd.org/