Article View: gnu.gcc.help
Article #50509[Q] Trouble installing texinfo-3.1 & AUC TeX 7_3t on HP720
From: Guan-Hsong Hsu
Date: Fri, 17 Sep 1993 20:00
Date: Fri, 17 Sep 1993 20:00
92 lines
5638 bytes
5638 bytes
First, I must apologize for cross-post to four very busy news groups.
The problem I am having is directly related to all four groups.
The system I am runing is HP720 running HP UX 9.01. I originally
wanted to do was to install AUC TeX package to use with GNU Emacs and
Epoch. Then I found that I have to first install texinfo. Now I
have trouble even to install texinfo-3.1. The problem seems to be
with my gcc. It is version 2.2.2 someone ftped from iworks (HP UNIX
library site) so it might not be the original GNU release. I don't
really know that much c or gcc to know what to do. Should I try to
install newer versions of gcc?
I also tried to compile with HP's C compiler. It actually seems to
work better and I run into problem only at ld. Our C compiler from HP
that comes with HP UX supposedly does not include ANSI C. (Is this
true.) Could this be what's missing? (This shows how little I know
about C compiler. Can someone familiar with HP C compiler comment on
that?).
I have included part of the *compilation* messages. Any
help/suggestion is greatly appreciated.
Guan-Hsong Hsu Email: ghsu@unstable.nswc.navy.mil
Nonlinear Dynamics Group (301)394-5289, 394-5290
Mathematics and Computations Branch (R44)
NSWC DD/WO, Silver Spring, MD 20903-5640
====================================
Compile with gcc:
make -k
for dir in libtxi makeinfo info util; do echo making sub-all in $dir; cd $dir; make bindir='/usr/local/bin' mandir='/usr/local/man/man1' manext='1' prefix='/usr/local' binprefix='' manprefix='' infodir='/usr/local/info' CFLAGS='' CC='gcc' ALLOCA='' LDFLAGS='' DEFAULT_INFOPATH='/usr/local/info:.' sub-all; cd ..; done
making sub-all in libtxi
making sub-all in makeinfo
gcc -c -I. -I. -I./../libtxi -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIO_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_TTOLD_H=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_BZERO=1 -DHAVE_RINDEX=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 makeinfo.c
In file included from /usr/local/lib/gcc-lib/hp720/2.2.2/include/varargs.h:29, from makeinfo.c:78:
/usr/local/lib/gcc-lib/hp720/2.2.2/include/va-hp800.h:10: conflicting types for `va_list'
/usr/include/stdio.h:261: previous declaration of `va_list'
makeinfo.c: In function `error':
makeinfo.c:1363: incompatible type for argument 3 of `vfprintf'
makeinfo.c: In function `line_error':
makeinfo.c:1380: incompatible type for argument 3 of `vfprintf'
makeinfo.c: In function `warning':
makeinfo.c:1398: incompatible type for argument 3 of `vfprintf'
makeinfo.c: In function `add_word_args':
makeinfo.c:2212: incompatible type for argument 3 of `vsprintf'
makeinfo.c: In function `execute_string':
makeinfo.c:5458: incompatible type for argument 3 of `vsprintf'
*** Error code 1
`sub-all' not remade because of errors
Here's the offending typedef in va-hp800.h:
typedef struct
{
char *__va_stack_start; /* Real start of stack args. */
char *__va_int; /* Pointer to the general register */
/* args and stack. */
char *__va_float; /* Pointer to the fp register args. */
char *__va_double;
} va_list;
while in /usr/include/stdio.h, we have :
# ifdef __hp9000s800
# ifndef _VA_LIST
# define _VA_LIST
typedef double *va_list;
# endif /* _VA_LIST */
# endif /* __hp9000s800 */
Compile with cc:
make -k
for dir in libtxi makeinfo info util; do echo making sub-all in $dir; cd $dir; make bindir='/usr/local/bin' mandir='/usr/local/man/man1' manext='1' prefix='/usr/local' binprefix='' manprefix='' infodir='/usr/local/info' CFLAGS='' CC='cc' ALLOCA='' LDFLAGS='' DEFAULT_INFOPATH='/usr/local/info:.' sub-all; cd ..; done
making sub-all in libtxi
making sub-all in makeinfo
cc -c -I. -I. -I./../libtxi -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIO_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_TTOLD_H=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_BZERO=1 -DHAVE_RINDEX=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 makeinfo.c
cc -o makeinfo makeinfo.o -L../libtxi -ltxi
/bin/ld: Unsatisfied symbols:
alloca (code)
*** Error code 1
`sub-all' not remade because of errors
(I also tried with -D_HPUX_SOURCE in CFLAGS, still the same.)
(since I failed to make makinfo, everything after that bombed as well).
--
Guan-Hsong Hsu Email: ghsu@unstable.nswc.navy.mil
Nonlinear Dynamics Group (301)394-5289, 394-5290
Mathematics and Computations Branch (R44)
NSWC DD/WO, Silver Spring, MD 20903-5640
Technical Details
Message-ID:
<ghsu.748296041@unstable>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!caen!saimiri.primate.wisc.edu!relay!unstable!ghsuShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,4c53662a57eb29ef,start X-Google-Attributes: gid11318c,public X-Google-Thread: f9e16,4c53662a57eb29ef,start X-Google-Attributes: gidf9e16,public X-Google-Thread: 102b9a,4c53662a57eb29ef,start X-Google-Attributes: gid102b9a,public X-Google-Thread: 114b0c,4c53662a57eb29ef,start X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-09-17 16:44:54 PST Newsgroups: gnu.gcc.help,comp.emacs,comp.text.tex,comp.sys.hp Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!caen!saimiri.primate.wisc.edu!relay!unstable!ghsu From: ghsu@unstable.nswc.navy.mil (Guan-Hsong Hsu) Subject: [Q] Trouble installing texinfo-3.1 & AUC TeX 7_3t on HP720 Message-ID: <ghsu.748296041@unstable> Keywords: auctex texinfo gcc hp c compiler Sender: news@relay.nswc.navy.mil Organization: Naval Surface Warfare Center Date: Fri, 17 Sep 1993 20:00:41 GMT Lines: 92