bug-indent
[Top][All Lists]
Advanced

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

Re: [Bug-indent] Problem building indent-2.2.7 on Sun Solaris 2.6


From: david ingamells
Subject: Re: [Bug-indent] Problem building indent-2.2.7 on Sun Solaris 2.6
Date: Tue, 26 Feb 2002 20:53:49 +0100

David,
Thanks for the reports.
Bison is not used by indent, so it must be an autoconf quirk, and is probably 
harmless.

The stpcpy problem is a known problem and will be resolved with version 2.2.8 
(coming out in the next few weeks.)

When did SunOS 4 come out? It must have been more than a decade ago! My 
experiences of SunOS were that it was a nightmare for porting to because of 
that sort of problem. Just like Sun's refusal to accept the ISO/ANSI C (1989) 
standard - they continued delivering a k+r (only) compiler for years. There 
are likely other problems on that machine with locale.h, since locale-like 
stuff has evolved lots in the last decade.

Regards,
David.

On Tuesday 26 February 2002 4:42 pm, David W. Schuler wrote:
> 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 mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-indent

-- 
David Ingamells
address@hidden
+31 (013) 5093388     (home)
+31 065010947 (mobile)




reply via email to

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