[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] Problem building indent-2.2.7 on Sun Solaris 2.6
From: |
David W. Schuler |
Subject: |
[Bug-indent] Problem building indent-2.2.7 on Sun Solaris 2.6 |
Date: |
Tue, 26 Feb 2002 10:42:00 -0500 |
Hello:
I am also having problems building indent-2.2.7 on a Sun Solaris 2.6
system. The problem is similar to one of the problems I reported
recently against SunOS 4.1.4.
Configure Command: configure --with-included-gettext
Compiler: gcc --version ==> 2.95.3
Problem:
"checking for stpcpy... no"
When running configure, the check for stpcpy() correctly shows that
it is not available. However, config.h shows the following:
/* Define if you have the stpcpy function. */
#define HAVE_STPCPY 1
The compile ends up failing because stpcpy() could not be found when
linking. Here are the errors:
...
gcc -O3 -mtune=v9 -o indent args.o comments.o indent.o lexi.o parse.o \
backup.o globs.o io.o ../intl/libintl.a
../intl/libintl.a(dcigettext.o): In function `dcigettext__':
dcigettext.o(.text+0x268): undefined reference to `stpcpy'
dcigettext.o(.text+0x274): undefined reference to `stpcpy'
dcigettext.o(.text+0x2c4): undefined reference to `stpcpy'
dcigettext.o(.text+0x2cc): undefined reference to `stpcpy'
dcigettext.o(.text+0x2e4): undefined reference to `stpcpy'
../intl/libintl.a(l10nflist.o)(.text+0x190): more undefined references to
`stpcpy' follow
collect2: ld returned 1 exit status
make[2]: *** [indent] Error 1
make[2]: Leaving directory `/tmp/indent-2.2.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/indent-2.2.7'
make: *** [all] Error 2
-------------------------------------------------------------------------------
David W. Schuler - Advisory Engineer Internet: address@hidden
Semiconductor Contract Mfg alt: address@hidden
IBM Microelectronics Phone: 802-871-4293
1000 River Street - MS/610A FAX: 802-871-4577
Essex Junction, VT 05452-4299
For IBM Foundry information: http://www.chips.ibm.com/services/foundry/
- [Bug-indent] Problem building indent-2.2.7 on Sun Solaris 2.6,
David W. Schuler <=