🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #65

can't compile fontutils-0.6

#65
From: Nadav Har'El
Date: Wed, 04 Nov 1992 13:51
244 lines
15608 bytes
Hi. I was trying to compile fontutils 0.6, but when running gnumake, I get
the following errors. I have gcc 1.40, if it matters.
Can you please tell me what am I doing wrong? It looks like Sun's include
files are confilicting with gcc's include files. Is this a known problem?

Thanks a lot for any help,
	Nadav.

Here is what gnumake does:
---------------------------

for dir in bzr gf lib pbm pk tfm widgets;					\
do								\
  (cd ${dir}; gnumake -S SHELL="/bin/sh" CC="gcc -O -traditional" CFLAGS="-g" LDFLAGS=" -g " LIBS="-lm " RANLIB="ranlib" wlibs="" xlibdir="" xincludedir='' srcdir=.);				\
        done
gcc -O -traditional -g -I.././include  -c bzr_input.c
In file included from .././include/c-std.h:47, from .././include/config.h:31, from bzr_input.c:19:
/usr/local/lib/gcc-include/stddef.h:16: conflicting types for `ptrdiff_t'
/usr/include/sys/stdtypes.h:28: previous declaration of `ptrdiff_t'
/usr/local/lib/gcc-include/stddef.h:35: conflicting types for `size_t'
/usr/include/sys/stdtypes.h:27: previous declaration of `size_t'
/usr/local/lib/gcc-include/stddef.h:46: conflicting types for `wchar_t'
/usr/include/sys/stdtypes.h:30: previous declaration of `wchar_t'
In file included from .././include/lib.h:22, from .././include/global.h:23, from .././include/config.h:58, from bzr_input.c:19:
.././include/types.h:49: parse error before `char'
In file included from .././include/config.h:58, from bzr_input.c:19:
.././include/global.h:111: parse error before `unsigned'
.././include/global.h:151: parse error before `boolean'
.././include/global.h:154: parse error before `real'
.././include/global.h:157: parse error before `real'
.././include/global.h:158: parse error before `real'
.././include/global.h:161: parse error before `real'
.././include/global.h:164: parse error before `real_coordinate_type'
.././include/global.h:165: parse error before `coordinate_type'
.././include/global.h:168: parse error before `boolean'
.././include/global.h:182: parse error before `const'
In file included from .././include/bzr.h:25, from bzr_input.c:21:
.././include/bounding-box.h:54: parse error before `bounding_box_type'
.././include/bounding-box.h:55: parse error before `dimensions_type'
In file included from .././include/font.h:22, from .././include/bzr.h:26, from bzr_input.c:21:
.././include/bitmap.h:98: parse error before `bounding_box_type'
.././include/bitmap.h:98: parse error before `bitmap_type'
.././include/bitmap.h:105: parse error before `one_byte'
In file included from .././include/tfm.h:24, from .././include/font.h:24, from .././include/bzr.h:26, from bzr_input.c:21:
.././include/fix-num.h:32: parse error before `real'
.././include/fix-num.h:33: parse error before `fix_word'
In file included from bzr_input.c:23:
.././include/scaled-num.h:35: parse error before `real'
.././include/scaled-num.h:36: parse error before `scaled'
bzr_input.c: In function bzr_open_input_file:
bzr_input.c:92: parse error before `void'
bzr_input.c: In function bzr_get_scaled:
bzr_input.c:354: `signed_byte' undeclared (first use this function)
bzr_input.c:354: (Each undeclared identifier is reported only once
bzr_input.c:354: for each function it appears in.)
bzr_input.c:354: parse error before `x'
bzr_input.c:357: `x' undeclared (first use this function)
bzr_input.c: In function bzr_get_abbrev_scaled:
bzr_input.c:390: `signed_byte' undeclared (first use this function)
bzr_input.c:390: parse error before `x'
bzr_input.c:393: `x' undeclared (first use this function)
gnumake[1]: *** [bzr_input.o] Error 1
gcc -O -traditional -g -I.././include  -c gf_input.c
In file included from .././include/c-std.h:47, from .././include/config.h:31, from gf_input.c:19:
/usr/local/lib/gcc-include/stddef.h:16: conflicting types for `ptrdiff_t'
/usr/include/sys/stdtypes.h:28: previous declaration of `ptrdiff_t'
/usr/local/lib/gcc-include/stddef.h:35: conflicting types for `size_t'
/usr/include/sys/stdtypes.h:27: previous declaration of `size_t'
/usr/local/lib/gcc-include/stddef.h:46: conflicting types for `wchar_t'
/usr/include/sys/stdtypes.h:30: previous declaration of `wchar_t'
In file included from .././include/lib.h:22, from .././include/global.h:23, from .././include/config.h:58, from gf_input.c:19:
.././include/types.h:49: parse error before `char'
In file included from .././include/config.h:58, from gf_input.c:19:
.././include/global.h:111: parse error before `unsigned'
.././include/global.h:151: parse error before `boolean'
.././include/global.h:154: parse error before `real'
.././include/global.h:157: parse error before `real'
.././include/global.h:158: parse error before `real'
.././include/global.h:161: parse error before `real'
.././include/global.h:164: parse error before `real_coordinate_type'
.././include/global.h:165: parse error before `coordinate_type'
.././include/global.h:168: parse error before `boolean'
.././include/global.h:182: parse error before `const'
In file included from .././include/bitmap.h:26, from .././include/gf.h:24, from gf_input.c:22:
.././include/bounding-box.h:54: parse error before `bounding_box_type'
.././include/bounding-box.h:55: parse error before `dimensions_type'
In file included from .././include/gf.h:24, from gf_input.c:22:
.././include/bitmap.h:98: parse error before `bounding_box_type'
.././include/bitmap.h:98: parse error before `bitmap_type'
.././include/bitmap.h:105: parse error before `one_byte'
In file included from .././include/tfm.h:24, from .././include/font.h:24, from .././include/gf.h:26, from gf_input.c:22:
.././include/fix-num.h:32: parse error before `real'
.././include/fix-num.h:33: parse error before `fix_word'
In file included from gf_input.c:23:
.././include/scaled-num.h:35: parse error before `real'
.././include/scaled-num.h:36: parse error before `scaled'
gf_input.c: In function gf_open_input_file:
gf_input.c:107: parse error before `void'
gf_input.c:120: `code' undeclared (first use this function)
gf_input.c:120: (Each undeclared identifier is reported only once
gf_input.c:120: for each function it appears in.)
gnumake[1]: *** [gf_input.o] Error 1
gnumake[1]: *** No way to make target `malloc.c'.  Stop.
gcc -O -traditional -g -I.././include  -c libpbm1.c
In file included from .././include/c-std.h:47, from .././include/config.h:31, from .././include/pbmplus.h:22, from .././include/pbm.h:7, from libpbm1.c:15:
/usr/local/lib/gcc-include/stddef.h:16: conflicting types for `ptrdiff_t'
/usr/include/sys/stdtypes.h:28: previous declaration of `ptrdiff_t'
/usr/local/lib/gcc-include/stddef.h:35: conflicting types for `size_t'
/usr/include/sys/stdtypes.h:27: previous declaration of `size_t'
/usr/local/lib/gcc-include/stddef.h:46: conflicting types for `wchar_t'
/usr/include/sys/stdtypes.h:30: previous declaration of `wchar_t'
In file included from .././include/lib.h:22, from .././include/global.h:23, from .././include/config.h:58, from .././include/pbmplus.h:22, from .././include/pbm.h:7, from libpbm1.c:15:
.././include/types.h:49: parse error before `char'
In file included from .././include/config.h:58, from .././include/pbmplus.h:22, from .././include/pbm.h:7, from libpbm1.c:15:
.././include/global.h:111: parse error before `unsigned'
.././include/global.h:151: parse error before `boolean'
.././include/global.h:154: parse error before `real'
.././include/global.h:157: parse error before `real'
.././include/global.h:158: parse error before `real'
.././include/global.h:161: parse error before `real'
.././include/global.h:164: parse error before `real_coordinate_type'
.././include/global.h:165: parse error before `coordinate_type'
.././include/global.h:168: parse error before `boolean'
.././include/global.h:182: parse error before `const'
gnumake[1]: *** [libpbm1.o] Error 1
gcc -O -traditional -g -I.././include  -c pk_input.c
In file included from .././include/c-std.h:47, from .././include/config.h:31, from pk_input.c:24:
/usr/local/lib/gcc-include/stddef.h:16: conflicting types for `ptrdiff_t'
/usr/include/sys/stdtypes.h:28: previous declaration of `ptrdiff_t'
/usr/local/lib/gcc-include/stddef.h:35: conflicting types for `size_t'
/usr/include/sys/stdtypes.h:27: previous declaration of `size_t'
/usr/local/lib/gcc-include/stddef.h:46: conflicting types for `wchar_t'
/usr/include/sys/stdtypes.h:30: previous declaration of `wchar_t'
In file included from .././include/lib.h:22, from .././include/global.h:23, from .././include/config.h:58, from pk_input.c:24:
.././include/types.h:49: parse error before `char'
In file included from .././include/config.h:58, from pk_input.c:24:
.././include/global.h:111: parse error before `unsigned'
.././include/global.h:151: parse error before `boolean'
.././include/global.h:154: parse error before `real'
.././include/global.h:157: parse error before `real'
.././include/global.h:158: parse error before `real'
.././include/global.h:161: parse error before `real'
.././include/global.h:164: parse error before `real_coordinate_type'
.././include/global.h:165: parse error before `coordinate_type'
.././include/global.h:168: parse error before `boolean'
.././include/global.h:182: parse error before `const'
In file included from .././include/pk.h:24, from pk_input.c:28:
.././include/bounding-box.h:54: parse error before `bounding_box_type'
.././include/bounding-box.h:55: parse error before `dimensions_type'
In file included from .././include/font.h:22, from .././include/pk.h:25, from pk_input.c:28:
.././include/bitmap.h:98: parse error before `bounding_box_type'
.././include/bitmap.h:98: parse error before `bitmap_type'
.././include/bitmap.h:105: parse error before `one_byte'
In file included from .././include/tfm.h:24, from .././include/font.h:24, from .././include/pk.h:25, from pk_input.c:28:
.././include/fix-num.h:32: parse error before `real'
.././include/fix-num.h:33: parse error before `fix_word'
pk_input.c: In function data_get_signed_n_byte_value:
pk_input.c:630: called object is not a function
gnumake[1]: *** [pk_input.o] Error 1
gcc -O -traditional -g -I.././include  -c tfm_char.c
In file included from .././include/c-std.h:47, from .././include/config.h:31, from tfm_char.c:19:
/usr/local/lib/gcc-include/stddef.h:16: conflicting types for `ptrdiff_t'
/usr/include/sys/stdtypes.h:28: previous declaration of `ptrdiff_t'
/usr/local/lib/gcc-include/stddef.h:35: conflicting types for `size_t'
/usr/include/sys/stdtypes.h:27: previous declaration of `size_t'
/usr/local/lib/gcc-include/stddef.h:46: conflicting types for `wchar_t'
/usr/include/sys/stdtypes.h:30: previous declaration of `wchar_t'
In file included from .././include/lib.h:22, from .././include/global.h:23, from .././include/config.h:58, from tfm_char.c:19:
.././include/types.h:49: parse error before `char'
In file included from .././include/config.h:58, from tfm_char.c:19:
.././include/global.h:111: parse error before `unsigned'
.././include/global.h:151: parse error before `boolean'
.././include/global.h:154: parse error before `real'
.././include/global.h:157: parse error before `real'
.././include/global.h:158: parse error before `real'
.././include/global.h:161: parse error before `real'
.././include/global.h:164: parse error before `real_coordinate_type'
.././include/global.h:165: parse error before `coordinate_type'
.././include/global.h:168: parse error before `boolean'
.././include/global.h:182: parse error before `const'
In file included from .././include/tfm.h:24, from tfm_char.c:21:
.././include/fix-num.h:32: parse error before `real'
.././include/fix-num.h:33: parse error before `fix_word'
gnumake[1]: *** [tfm_char.o] Error 1
gcc -O -traditional -g -I.././include  -c Bitmap.c
In file included from .././include/c-std.h:47, from .././include/config.h:31, from Bitmap.c:20:
/usr/local/lib/gcc-include/stddef.h:16: conflicting types for `ptrdiff_t'
/usr/include/sys/stdtypes.h:28: previous declaration of `ptrdiff_t'
/usr/local/lib/gcc-include/stddef.h:35: conflicting types for `size_t'
/usr/include/sys/stdtypes.h:27: previous declaration of `size_t'
/usr/local/lib/gcc-include/stddef.h:46: conflicting types for `wchar_t'
/usr/include/sys/stdtypes.h:30: previous declaration of `wchar_t'
In file included from .././include/lib.h:22, from .././include/global.h:23, from .././include/config.h:58, from Bitmap.c:20:
.././include/types.h:49: parse error before `char'
In file included from .././include/config.h:58, from Bitmap.c:20:
.././include/global.h:111: parse error before `unsigned'
.././include/global.h:151: parse error before `boolean'
.././include/global.h:154: parse error before `real'
.././include/global.h:157: parse error before `real'
.././include/global.h:158: parse error before `real'
.././include/global.h:161: parse error before `real'
.././include/global.h:164: parse error before `real_coordinate_type'
.././include/global.h:165: parse error before `coordinate_type'
.././include/global.h:168: parse error before `boolean'
.././include/global.h:182: parse error before `const'
In file included from .././include/bitmap.h:26, from Bitmap.c:24:
.././include/bounding-box.h:54: parse error before `bounding_box_type'
.././include/bounding-box.h:55: parse error before `dimensions_type'
In file included from Bitmap.c:24:
.././include/bitmap.h:98: parse error before `bounding_box_type'
.././include/bitmap.h:98: parse error before `bitmap_type'
.././include/bitmap.h:105: parse error before `one_byte'
Bitmap.c:73: `XtN' undeclared, outside of functions
Bitmap.c:73: parse error before `#'
Bitmap.c:73: `XtC' undeclared, outside of functions
Bitmap.c:73: `XtR' undeclared, outside of functions
Bitmap.c:73: `XtR' undeclared, outside of functions
Bitmap.c:73: parse error before `#'
Bitmap.c:75: `XtN' undeclared, outside of functions
Bitmap.c:75: parse error before `#'
Bitmap.c:75: `XtC' undeclared, outside of functions
Bitmap.c:75: `XtR' undeclared, outside of functions
Bitmap.c:75: `XtR' undeclared, outside of functions
Bitmap.c:75: parse error before `#'
Bitmap.c:76: `XtN' undeclared, outside of functions
Bitmap.c:76: parse error before `#'
Bitmap.c:76: `XtC' undeclared, outside of functions
Bitmap.c:76: `XtR' undeclared, outside of functions
Bitmap.c:76: `XtR' undeclared, outside of functions
Bitmap.c:76: parse error before `#'
Bitmap.c:77: `XtN' undeclared, outside of functions
Bitmap.c:77: parse error before `#'
Bitmap.c:77: `XtC' undeclared, outside of functions
Bitmap.c:77: `XtR' undeclared, outside of functions
Bitmap.c:77: `XtR' undeclared, outside of functions
Bitmap.c:77: parse error before `#'
gnumake[1]: *** [Bitmap.o] Error 1
gnumake: *** [libraries] Error 1

-- 
Nadav Har'El                         | ######  ########     # | <-- Sorry if
Email: nyh@gauss.technion.ac.il      |      #       #       # |    you can't
Department of Mathematics, Technion  |      #       #       # |    read Hebrew.
Israel Institute of Technology       | ########     #  ###### |    Nadav. ;)
Technical Details
Message-ID: <9211041151.AA03919@gauss.technion.ac.il>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gauss.technion.ac.il!nyh

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gauss.technion.ac.il!nyh
From: nyh@gauss.technion.ac.il (Nadav Har'El)
Subject: can't compile fontutils-0.6
Message-ID: <9211041151.AA03919@gauss.technion.ac.il>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 4 Nov 1992 13:51:31 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 245