[rrd-users] building 1.2.15 on HP-UX, problem with zconf.h?

Ford, Andy andyford at AGEDWARDS.com
Fri Jan 5 22:17:48 MET 2007


I'm building the latest rrdtool, 1.2.15 on HP-UX 11.00 with gcc-4.0.2.

Following the rrdbuild docs to the letter, I'm stuck trying to compile
freetype2.

./builds/unix/libtool --mode=compile gcc -pedantic -ansi
-I/u02/src/rrdtool-1.2.15/freetype-2.1.10/objs -I./builds/unix
-I/u02/src/rrdtool-1.2.15/freetype-2.1.10/include -c -Wall
-I/u02/src/rrdtool-1.2.15/lb/include -O3 -fPIC
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON
-DFT_CONFIG_CONFIG_H="<ftconfig.h>" -o
/u02/src/rrdtool-1.2.15/freetype-2.1.10/objs/ftgzip.lo
/u02/src/rrdtool-1.2.15/freetype-2.1.10/src/gzip/ftgzip.c
 gcc -pedantic -ansi -I/u02/src/rrdtool-1.2.15/freetype-2.1.10/objs
-I./builds/unix -I/u02/src/rrdtool-1.2.15/freetype-2.1.10/include -c
-Wall -I/u02/src/rrdtool-1.2.15/lb/include -O3 -fPIC
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON
"-DFT_CONFIG_CONFIG_H=<ftconfig.h>"
/u02/src/rrdtool-1.2.15/freetype-2.1.10/src/gzip/ftgzip.c -o
/u02/src/rrdtool-1.2.15/freetype-2.1.10/objs/ftgzip.o
In file included from
/u02/src/rrdtool-1.2.15/freetype-2.1.10/src/gzip/ftgzip.c:44:
/u02/src/rrdtool-1.2.15/lb/include/zlib.h:1183: error: syntax error
before 'gzseek'
/u02/src/rrdtool-1.2.15/lb/include/zlib.h:1183: error: syntax error
before 'off_t'
/u02/src/rrdtool-1.2.15/lb/include/zlib.h:1183: warning: type defaults
to 'int' in declaration of 'gzseek'
/u02/src/rrdtool-1.2.15/lb/include/zlib.h:1183: warning: data definition
has no type or storage class
/u02/src/rrdtool-1.2.15/lb/include/zlib.h:1208: error: syntax error
before 'gztell'
/u02/src/rrdtool-1.2.15/lb/include/zlib.h:1208: warning: type defaults
to 'int' in declaration of 'gztell'
/u02/src/rrdtool-1.2.15/lb/include/zlib.h:1208: warning: data definition
has no type or storage class
/u02/src/rrdtool-1.2.15/lb/include/zlib.h:1276: error: syntax error
before 'off_t'
/u02/src/rrdtool-1.2.15/lb/include/zlib.h:1301: error: syntax error
before 'off_t'
make: *** [/u02/src/rrdtool-1.2.15/freetype-2.1.10/objs/ftgzip.lo] Error
1

Tried modifying zconf.h as detailed in NT-BUILD-TIPS.txt but it didn't
help.
The errors seem to be telling me that z_off_t is not getting set but I'm
not sure how to fix.

Andy Ford
314-955-6647
andyford at agedwards.com


-------------------------------------------------------------------------------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other 
than the recipient.

-------------------------------------------------------------------------------------

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list