freetype
[Top][All Lists]
Advanced

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

RE: [Freetype] Problems compiling under HP-UX 11.00


From: Byington, Allen
Subject: RE: [Freetype] Problems compiling under HP-UX 11.00
Date: Tue, 8 Jun 2004 07:24:57 -0600

You were absolutely right.  My gzip install was munged and I recompiled
and installed the latest version just to be safe.  Unfortunately, that
didn't solve the problem.  Here's the latest batch of errors during my
compile of freetype.  Any and all assistance would be greatly
appreciated.

In file included from /tmp/source/freetype-2.1.8/src/cid/type1cid.c:23:
/tmp/source/freetype-2.1.8/src/cid/cidload.c: In function
`cid_read_subrs':
/tmp/source/freetype-2.1.8/src/cid/cidload.c:394: warning: dereferencing
type-punned pointer will break strict-aliasing rules
/tmp/source/freetype-2.1.8/src/cid/cidload.c:450: warning: dereferencing
type-punned pointer will break strict-aliasing rules
In file included from /tmp/source/freetype-2.1.8/src/cid/type1cid.c:24:
/tmp/source/freetype-2.1.8/src/cid/cidobjs.c: In function
`cid_face_init':
/tmp/source/freetype-2.1.8/src/cid/cidobjs.c:286: warning: dereferencing
type-punned pointer will break strict-aliasing rules
In file included from /tmp/source/freetype-2.1.8/src/cid/type1cid.c:26:
/tmp/source/freetype-2.1.8/src/cid/cidgload.c: In function
`cid_load_glyph':
/tmp/source/freetype-2.1.8/src/cid/cidgload.c:116: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/tmp/source/freetype-2.1.8/src/cid/cidgload.c:156: warning:
dereferencing type-punned pointer will break strict-aliasing rules
 gcc -pedantic -ansi -I/tmp/source/freetype-2.1.8/objs -I./builds/unix
-I/tmp/source/freetype-2.1.8/include -c -Wall -g -O2
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON
"-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -I/tmp/source/freetype-2.1.8/src/cid
/tmp/source/freetype-2.1.8/src/cid/type1cid.c -o
/tmp/source/freetype-2.1.8/objs/type1cid.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi
-I/tmp/source/freetype-2.1.8/objs -I./builds/unix
-I/tmp/source/freetype-2.1.8/include -c -Wall  -g -O2
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON
-DFT_CONFIG_CONFIG_H="<ftconfig.h>" -o
/tmp/source/freetype-2.1.8/objs/ftgzip.lo
/tmp/source/freetype-2.1.8/src/gzip/ftgzip.c
 gcc -pedantic -ansi -I/tmp/source/freetype-2.1.8/objs -I./builds/unix
-I/tmp/source/freetype-2.1.8/include -c -Wall -g -O2
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON
"-DFT_CONFIG_CONFIG_H=<ftconfig.h>"
/tmp/source/freetype-2.1.8/src/gzip/ftgzip.c  -fPIC -DPIC -o
/tmp/source/freetype-2.1.8/objs/.libs/ftgzip.o
In file included from /tmp/source/freetype-2.1.8/src/gzip/ftgzip.c:44:
/usr/local/include/zlib.h:1050: error: parse error before "gzseek"
/usr/local/include/zlib.h:1050: error: parse error before "off_t"
/usr/local/include/zlib.h:1050: error: ISO C forbids data definition
with no type or storage class
/usr/local/include/zlib.h:1075: error: parse error before "gztell"
/usr/local/include/zlib.h:1075: error: ISO C forbids data definition
with no type or storage class
/tmp/source/freetype-2.1.8/src/gzip/ftgzip.c: In function
`ft_gzip_stream_close':
/tmp/source/freetype-2.1.8/src/gzip/ftgzip.c:536: warning: dereferencing
type-punned pointer will break strict-aliasing rules
/tmp/source/freetype-2.1.8/src/gzip/ftgzip.c: In function
`FT_Stream_OpenGzip':
/tmp/source/freetype-2.1.8/src/gzip/ftgzip.c:568: warning: dereferencing
type-punned pointer will break strict-aliasing rules
/tmp/source/freetype-2.1.8/src/gzip/ftgzip.c:573: warning: dereferencing
type-punned pointer will break strict-aliasing rules
gmake: *** [/tmp/source/freetype-2.1.8/objs/ftgzip.lo] Error 1

Thanks

Allen Byington

-----Original Message-----
From: Werner LEMBERG [mailto:address@hidden 
Sent: Monday, June 07, 2004 8:24 AM
To: address@hidden; Byington, Allen
Subject: Re: [Freetype] Problems compiling under HP-UX 11.00


>       I'm having a bit of difficulty compiling freetype for HP-UX
11.00 and 
> could really use some help.  Here's what I'm using to compile
> it:
>
> In file included from /tmp/source/freetype-2.1.8/src/gzip/ftgzip.c:44:
> /usr/include/zlib.h:757: error: parse error before "gzseek"

This is due to a misconfigured zlib installation.  ZEXTERN (which comes
right before `gzseek') is normally defined in zconf.h.

You should install zlib again.


    Werner





reply via email to

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