1752583 Members
4455 Online
108788 Solutions
New Discussion юеВ

Install Doxygen

 
fdwl
New Member

Install Doxygen

Hello,

I try to install Doxygen 1.7.2 on HP UX 11i v3.
I'm having a problem with the files and _time.h time.h
I had no problems with HP UX 11i v2.
Thank you for your help.

UXBKD2:/opt/doxygen-1.7.2# make
echo "char versionString[]=\"1.7.2\";" > src/version.cpp
/usr/local/bin/gmake -C src
gmake: Entering directory `/opt/doxygen-1.7.2/src'
env TMAKEPATH=/opt/doxygen-1.7.2/tmake/lib/hpux-g++ /usr/bin/perl /opt/doxygen-1
.7.2/tmake/bin/tmake libdoxygen.pro >Makefile.libdoxygen
env TMAKEPATH=/opt/doxygen-1.7.2/tmake/lib/hpux-g++ /usr/bin/perl /opt/doxygen-1
.7.2/tmake/bin/tmake libdoxycfg.pro >Makefile.libdoxycfg
env TMAKEPATH=/opt/doxygen-1.7.2/tmake/lib/hpux-g++ /usr/bin/perl /opt/doxygen-1
.7.2/tmake/bin/tmake doxygen.pro >Makefile.doxygen
env TMAKEPATH=/opt/doxygen-1.7.2/tmake/lib/hpux-g++ /usr/bin/perl /opt/doxygen-1
.7.2/tmake/bin/tmake doxytag.pro >Makefile.doxytag
/usr/local/bin/gmake -f Makefile.libdoxycfg PERL=/usr/bin/perl all
gmake[1]: Entering directory `/opt/doxygen-1.7.2/src'
flex -PconfigYY -t config.l >config.cpp
g++ -c -D_LARGEFILE_SOURCE -Wall -W -O0 -I../qtools -o ../objects/config.o confi
g.cpp
g++ -c -D_LARGEFILE_SOURCE -Wall -W -O0 -I../qtools -o ../objects/configoptions.
o configoptions.cpp
g++ -c -D_LARGEFILE_SOURCE -Wall -W -O0 -I../qtools -o ../objects/portable.o por
table.cpp
gcc -c -Wall -W -O0 -I../qtools -o ../objects/portable_c.o portable_c.c
In file included from /usr/include/time.h:12,
from /opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-
fixed/wchar.h:36,
from /usr/local/include/iconv.h:110,
from portable_c.c:1:
/usr/include/sys/_time.h:56: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before 'extern'
In file included from /usr/include/time.h:12,
from /opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-
fixed/wchar.h:36,
from /usr/local/include/iconv.h:110,
from portable_c.c:1:
/usr/include/sys/_time.h:173: error: expected declaration specifiers or '...' be
fore ',' token
/usr/include/sys/_time.h:173: error: conflicting types for 'select'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/sys/time.h:662:
note: previous declaration of 'select' was here
In file included from /opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-
fixed/wchar.h:36,
from /usr/local/include/iconv.h:110,
from portable_c.c:1:
/usr/include/time.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_BEGIN_EXT_CDECL'
In file included from /usr/local/include/iconv.h:110,
from portable_c.c:1:
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:54: erro
r: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:124: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'btowc'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:223: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'towlower'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:224: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'towupper'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:226: err
or: expected ')' before 'wctype_t'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:229: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'fgetwc'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:234: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'fputwc'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:235: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'putwc'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:236: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'putwchar'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:246: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'getwc'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:247: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'getwchar'
/opt/hp-gcc-4.4.3/lib/gcc/ia64-hp-hpux11.23/4.4.3/include-fixed/wchar.h:248: err
or: expected '=', ',', ';', 'asm' or '__attribute__' before 'ungetwc'
portable_c.c: In function 'portable_iconv':
portable_c.c:17: warning: passing argument 2 of 'libiconv' from incompatible poi
nter type
/usr/local/include/iconv.h:87: note: expected 'char **' but argument is of type
'const char **'
gmake[1]: *** [../objects/portable_c.o] Error 1
gmake[1]: Leaving directory `/opt/doxygen-1.7.2/src'
gmake: *** [all] Error 2
gmake: Leaving directory `/opt/doxygen-1.7.2/src'
*** Error exit code 2

Stop.
UXBKD2:/opt/doxygen-1.7.2#
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: Install Doxygen

Hmm, I get the same error on a trivial test including with gcc 4.2.1.

It seems the _BEGIN_EXT_CDECL macro isn't being expanded.

It seems you can't use a 11.23 version of gcc on 11.31. There were massive changes in the 11.31 headers and the gnu special versions of the headers need fixing.

Dennis Handly
Acclaimed Contributor

Re: Install Doxygen

If you have installed this on 11.31, the gcc install script should automatically fix the headers to match 11.31.

If you want to try fixing them again, as root run the install-tools/mkheaders program. Somewhere in /opt/hp-gcc-4.4.3/.