bug-libtool
[Top][All Lists]
Advanced

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

Fwd: (Help Me!) Errors while Compiling NX Src on FREEBSD machine (5.2.1-


From: Suresh Naidu
Subject: Fwd: (Help Me!) Errors while Compiling NX Src on FREEBSD machine (5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:)
Date: Mon, 28 Feb 2005 14:16:47 +0800

---------- Forwarded message ----------
From: Suresh Naidu <address@hidden>
Date: Mon, 28 Feb 2005 14:15:13 +0800
Subject: Re:(Help Me!) Errors while Compiling NX Src on FREEBSD
machine (5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:)
To: address@hidden


Suresh Naidu wrote:
> Hi Guys,
>
> can Any one help me in getting NX src ( nx client and nx server)
> which can be compiled on FreeBSD Machine.
> I was trying since long back .
>
> please help me in this issue. by passing any links ( if any) of Nx Src
> which can be compiled on FreeBSD MACHINE.

The NX OSS components are available for download at the URL below:
   http://www.nomachine.com/sources
-------------------------------------------------------------------------------------------------------------

Dear  Fabio Rosati

thanks for ur reply and I have downloaded the following tarballs from
  http://www.nomachine.com/sources  as u suggested!
ofcourse as I need only the following files so I have downloded  only
the following files.

nx-X11-1.4.0-10.tar.gz
nxagent-1.4.0-65.tar.gz
nxauth-1.4.0-2.tar.gz
nxcomp-1.4.0-31.tar.gz
nxcompext-1.4.0-3.tar.gz
nxdarwin-1.4.0-3.tar.gz
nxwin-1.4.0-4.tar.gz
------------------------------------------------------------------------------------------------------
FYI,
I am compiling all the above files under FreeBSD MACHINE with FreeBSD version

$ uname -a

5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
address@hidden:/usr/obj/usr/src/sys/GENERIC  i386
------------------------------------------------------------------------------------------------------

after downloading and unpacking the above tar balls, I got only the
follwing directories

$ ls
nx-X11          nxcomp          nxcompext

and
------------------------- Start of finding configuration files
location ---------------------------

$ find . | grep configure$

./nx-X11/extras/expat/configure
./nx-X11/extras/FreeType/contrib/ttf2bdf/configure
./nx-X11/extras/FreeType/contrib/ttf2pfb/configure
./nx-X11/extras/FreeType/contrib/ttf2pk/configure
./nx-X11/extras/FreeType/contrib/ttfbanner/configure
./nx-X11/extras/FreeType/configure
./nx-X11/extras/freetype2/configure
./nx-X11/extras/freetype2/builds/unix/configure
./nx-X11/programs/xterm/configure
./nxcomp/configure
./nxcompext/configure
------------------------- End of finding configuration files location
---------------------------

and I got above configuration files after unpacking all the tar balls
I downloaded.!
I managed to compile few files(1, 2, 3) as follows by giving the
commands in sequence as

1.cd  /home/suresh/Trail-NX/nx-X11/extras/expat/
                             ./configure
                             make
                             make install
2.  cd /home/suresh/Trail-NX/nx-X11/extras/freetype2/ ( for this I
need to give gmake and gmake install then working fine )
                            ./configure
                            gmake
                            gmake install
3.  /home/suresh/Trail-NX/nx-X11/programs/xterm/
                             ./configure
                             make
                             make install

and I am getting the errors while running configure script  at
 /home/suresh/Trail-NX/nx-X11/nx-X11/extras/FreeType/contrib/ttf2bdf/configure

$ cd   /home/suresh/Trail-NX/nx-X11/extras/FreeType/contrib/ttf2bdf
$ ./configure

then I got the following output

---------------------- Start of Configure script output for ..
/ttf2bdf ----------------------------

/home/suresh/Trail-NX/nx-X11/extras/FreeType/contrib/ttf2bdf >./configure

loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for TT_Init_FreeType in -lttf... no
configure: error: Can't find ttf library! Compile FreeType first.
---------------------- End of Configure script output for
.../ttf2bdf----------------------------

Here I started to run configure script from FreeType directory  ( ie.
 ./nx-X11/extras/FreeType/configure )

---------------------- Start of Configure script output for FreeType
----------------------------
$ cd ./nx-X11/extras/FreeType
$ ./configure

loading cache ./config.cache
checking host system type... i386-unknown-freebsdelf5.2.1
checking build system type... i386-unknown-freebsdelf5.2.1
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... freebsdelf5.2.1 ld.so
checking if libtool supports shared libraries... yes

*** Warning: the command libtool uses to detect shared libraries,
*** /usr/bin/file, produces output that libtool cannot recognize.
*** The result is that libtool may fail to recognize shared libraries
*** as such.  This will affect the creation of libtool libraries that
*** depend on shared libraries, but programs linked with such libtool
*** libraries will work regardless of this problem.  Nevertheless, you
*** may want to report the problem to your system manager and/or to
*** address@hidden

checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking host system type... i386-unknown-freebsdelf5.2.1
checking target system type... i386-unknown-freebsdelf5.2.1
checking build system type... i386-unknown-freebsdelf5.2.1
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether make sets ${MAKE}... (cached) yes
checking for locale.h... (cached) yes
checking for setlocale... (cached) yes
checking for libintl.h... (cached) no
checking for gettext in -lintl... (cached) no
checking for msgfmt... (cached) /usr/local/bin/msgfmt
checking for dcgettext... (cached) no
checking for gmsgfmt... (cached) /usr/local/bin/msgfmt
checking for xgettext... (cached) /usr/local/bin/xgettext
checking for msgmerge... (cached) /usr/local/bin/msgmerge
checking for rm... (cached) rm
checking for rmdir... (cached) rmdir
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking for gethostbyname... (cached) yes
checking for socket... (cached) yes
checking for cos in -lm... (cached) yes
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for stdlib.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking size of int... (cached) 4
checking size of long... (cached) 4
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating MakeSub
creating lib/arch/unix/Makefile
creating test/arch/unix/Makefile
creating po/Makefile.in
creating ft_conf.h
ft_conf.h is unchanged
---------------------- End of Configure script output for FreeType
directory  ----------------------------

then I gave make command

$ Make

Generates the following errors..

------------------------------  Start of Errors while runnging make
command ------------------------------
$ pwd
/home/suresh/Trail-NX/nx-X11/extras/FreeType.

$make

cd lib; make -f arch/unix/Makefile all
rm -f memory.c file.c mutex.c
ln -s 
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/../../ttmemory.c
memory.c
ln -s 
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/../../arch/unix/ttmmap.c
file.c
ln -s /home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/../../ttmutex.c
mutex.c
make -f arch/unix/Makefile LIB_FILES="freetype.lo ftxkern.lo
ftxgasp.lo   ftxpost.lo   ftxcmap.lo   ftxsbit.lo   ftxwidth.lo
ftxerr18.lo  ftxgsub.lo   ftxgpos.lo   ftxgdef.lo   ftxopen.lo"
libttf.la
../libtool --mode=compile gcc -c -g -O2 -Wall -pedantic -ansi -I. -I..
-I/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/../..
-I/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/../../extend
 -DLOCALEDIR='"/usr/local/share/locale"'
-DTT_MAKE_OPTION_SINGLE_OBJECT
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/../../arch/unix/freetype.c
gcc -c -g -O2 -Wall -pedantic -ansi -I. -I..
-I/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/../..
-I/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/../../extend
-DLOCALEDIR=\"/usr/local/share/locale\" -DTT_MAKE_OPTION_SINGLE_OBJECT
 -fPIC -DPIC 
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/../../arch/unix/freetype.c
-o freetype.lo
In file included from ttobjs.h:27,
                 from ttapi.c:34,
                 from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:7:
ttcmap.h:124: error: syntax error before "Bool"
In file included from ttapi.c:34,
                 from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:7:
ttobjs.h:192: error: syntax error before "Bool"
ttobjs.h:200: error: syntax error before "Bool"
ttobjs.h:262: error: syntax error before "Bool"
ttobjs.h:357: error: syntax error before "Bool"
ttobjs.h:464: error: syntax error before "Bool"
ttobjs.h:511: error: syntax error before "Bool"
ttobjs.h:596: error: syntax error before "Bool"
ttobjs.h:630: error: syntax error before "Bool"
ttobjs.h:679: error: syntax error before "Bool"
ttobjs.h:722: error: syntax error before "Bool"
ttobjs.h:730: error: syntax error before "Bool"
ttobjs.h:836: error: syntax error before "Bool"
In file included from ttapi.c:35,
                 from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:7:
ttload.h:56: error: syntax error before "Bool"
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:7:
ttapi.c: In function `TT_Init_FreeType':
ttapi.c:124: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttapi.c: In function `TT_Done_FreeType':
ttapi.c:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttapi.c: In function `TT_Open_Face':
ttapi.c:285: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttapi.c: In function `TT_Open_Collection':
ttapi.c:349: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttapi.c: In function `TT_Get_Face_Properties':
ttapi.c:409: error: structure has no member named `verticalInfo'
ttapi.c: In function `TT_Get_Face_Metrics':
ttapi.c:589: error: structure has no member named `verticalInfo'
ttapi.c: In function `TT_New_Instance':
ttapi.c:706: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttapi.c: In function `TT_Set_Instance_Resolutions':
ttapi.c:763: error: structure has no member named `valid'
ttapi.c: In function `TT_Set_Instance_CharSizes':
ttapi.c:834: error: structure has no member named `valid'
ttapi.c: In function `TT_Set_Instance_PixelSizes':
ttapi.c:912: error: structure has no member named `valid'
ttapi.c: In function `TT_Set_Instance_Transform_Flags':
ttapi.c:953: error: structure has no member named `rotated'
ttapi.c:954: error: structure has no member named `stretched'
ttapi.c:955: error: structure has no member named `valid'
ttapi.c: In function `TT_Get_Instance_Metrics':
ttapi.c:986: error: structure has no member named `valid'
ttapi.c: In function `TT_New_Glyph':
ttapi.c:1132: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttapi.c: In function `TT_Load_Glyph':
ttapi.c:1214: error: structure has no member named `valid'
ttapi.c: In function `TT_Copy_Outline':
ttapi.c:1640: warning: implicit declaration of function `memcpy'
ttapi.c: In function `TT_Get_CharMap':
ttapi.c:1941: error: structure has no member named `loaded'
ttapi.c:1953: error: structure has no member named `loaded'
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:8:
ttcache.c: In function `Element_New':
ttcache.c:75: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttcache.c: In function `Cache_Done':
ttcache.c:363: error: syntax error before "destroy"
ttcache.c:391: error: `destroy' undeclared (first use in this function)
ttcache.c:391: error: (Each undeclared identifier is reported only once
ttcache.c:391: error: for each function it appears in.)
ttcache.c: In function `TTCache_Done':
ttcache.c:456: warning: dereferencing type-punned pointer will break
strict-aliasing rules
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:10:
ttcmap.c: In function `CharMap_Load':
ttcmap.c:66: error: structure has no member named `loaded'
ttcmap.c: In function `CharMap_Free':
ttcmap.c:283: error: structure has no member named `loaded'
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:12:
ttgload.c: At top level:
ttgload.c:92: error: syntax error before "Bool"
ttgload.c: In function `Get_HMetrics':
ttgload.c:96: error: `face' undeclared (first use in this function)
ttgload.c:96: error: `index' undeclared (first use in this function)
ttgload.c:96: error: `lsb' undeclared (first use in this function)
ttgload.c:96: error: `aw' undeclared (first use in this function)
ttgload.c:98: error: `check' undeclared (first use in this function)
ttgload.c: In function `Load_Simple_Glyph':
ttgload.c:385: error: structure has no member named `is_hinted'
ttgload.c:398: error: structure has no member named `is_composite'
ttgload.c:399: error: structure has no member named `pedantic_hinting'
ttgload.c:402: error: structure has no member named `pedantic_hinting'
ttgload.c:411: error: structure has no member named `preserve_pps'
ttgload.c: In function `Load_Composite_End':
ttgload.c:441: error: structure has no member named `is_hinted'
ttgload.c:490: error: structure has no member named `is_hinted'
ttgload.c:502: error: structure has no member named `is_hinted'
ttgload.c:504: error: structure has no member named `is_composite'
ttgload.c:505: error: structure has no member named `pedantic_hinting'
ttgload.c:508: error: structure has no member named `pedantic_hinting'
ttgload.c: In function `Init_Glyph_Component':
ttgload.c:532: error: structure has no member named `is_scaled'
ttgload.c:533: error: structure has no member named `is_hinted'
ttgload.c:547: error: structure has no member named `preserve_pps'
ttgload.c: In function `Load_TrueType_Glyph':
ttgload.c:645: error: structure has no member named `debug'
ttgload.c:682: error: structure has no member named `is_hinted'
ttgload.c:687: error: structure has no member named `is_hinted'
ttgload.c:873: error: structure has no member named `is_hinted'
ttgload.c:920: error: structure has no member named `is_hinted'
ttgload.c:920: error: structure has no member named `is_hinted'
ttgload.c:979: error: structure has no member named `is_scaled'
ttgload.c:985: error: structure has no member named `is_scaled'
ttgload.c:993: error: structure has no member named `is_scaled'
ttgload.c:1007: error: structure has no member named `is_hinted'
ttgload.c:1037: error: structure has no member named `preserve_pps'
ttgload.c:1046: error: structure has no member named `preserve_pps'
ttgload.c:1051: error: structure has no member named `is_scaled'
ttgload.c:1199: error: structure has no member named `is_hinted'
ttgload.c:1250: error: structure has no member named `verticalInfo'
ttgload.c:1309: error: structure has no member named `is_hinted'
ttgload.c:1323: error: structure has no member named `is_hinted'
ttgload.c:1344: error: structure has no member named `debug'
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:13:
ttinterp.c: At top level:
ttinterp.c:648: error: syntax error before "Calc_Length"
ttinterp.c:649: warning: return type defaults to `int'
ttinterp.c:742: error: syntax error before "Ins_Goto_CodeRange"
ttinterp.c:743: warning: return type defaults to `int'
ttinterp.c: In function `Compute_Funcs':
ttinterp.c:1450: error: structure has no member named `cached_metrics'
ttinterp.c: At top level:
ttinterp.c:1509: error: syntax error before "Normalize"
ttinterp.c:1512: warning: return type defaults to `int'
ttinterp.c: In function `Normalize':
ttinterp.c:1514: error: syntax error before "S1"
ttinterp.c:1550: error: `S1' undeclared (first use in this function)
ttinterp.c:1558: error: `S2' undeclared (first use in this function)
ttinterp.c: At top level:
ttinterp.c:1608: error: syntax error before "Ins_SxVTL"
ttinterp.c:1612: warning: return type defaults to `int'
ttinterp.c: In function `Ins_SxVTL':
ttinterp.c:1621: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_MINDEX':
ttinterp.c:2961: warning: implicit declaration of function `memmove'
ttinterp.c: At top level:
ttinterp.c:2998: error: syntax error before "SkipCode"
ttinterp.c:2999: warning: return type defaults to `int'
ttinterp.c: In function `Ins_IF':
ttinterp.c:3019: error: syntax error before "Out"
ttinterp.c:3026: error: `Out' undeclared (first use in this function)
ttinterp.c: At top level:
ttinterp.c:3091: error: syntax error before "Bool"
ttinterp.c: In function `Locate_FDef':
ttinterp.c:3105: error: `new_def' undeclared (first use in this function)
ttinterp.c:3105: error: `n' undeclared (first use in this function)
ttinterp.c:3105: error: `exc' undeclared (first use in this function)
ttinterp.c:3112: error: structure has no member named `Active'
ttinterp.c: In function `Ins_FDEF':
ttinterp.c:3162: error: structure has no member named `Active'
ttinterp.c:3168: error: structure has no member named `Active'
ttinterp.c: In function `Ins_ENDF':
ttinterp.c:3213: error: structure has no member named `step_ins'
ttinterp.c: In function `Ins_CALL':
ttinterp.c:3274: error: structure has no member named `step_ins'
ttinterp.c: In function `Ins_LOOPCALL':
ttinterp.c:3321: error: structure has no member named `step_ins'
ttinterp.c: In function `Ins_IDEF':
ttinterp.c:3361: error: structure has no member named `Active'
ttinterp.c: In function `Ins_NPUSHW':
ttinterp.c:3440: error: structure has no member named `step_ins'
ttinterp.c: In function `Ins_PUSHW':
ttinterp.c:3491: error: structure has no member named `step_ins'
ttinterp.c: In function `Ins_GC':
ttinterp.c:3522: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SCFS':
ttinterp.c:3562: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_MD':
ttinterp.c:3605: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SDPVTL':
ttinterp.c:3642: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SZP0':
ttinterp.c:3705: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SZP1':
ttinterp.c:3732: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SZP2':
ttinterp.c:3759: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SZPS':
ttinterp.c:3786: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_INSTCTRL':
ttinterp.c:3815: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SCANCTRL':
ttinterp.c:3843: error: structure has no member named `scan_control'
ttinterp.c:3848: error: structure has no member named `scan_control'
ttinterp.c:3855: error: structure has no member named `scan_control'
ttinterp.c:3857: error: structure has no member named `rotated'
ttinterp.c:3858: error: structure has no member named `scan_control'
ttinterp.c:3860: error: structure has no member named `stretched'
ttinterp.c:3861: error: structure has no member named `scan_control'
ttinterp.c:3864: error: structure has no member named `scan_control'
ttinterp.c:3866: error: structure has no member named `rotated'
ttinterp.c:3867: error: structure has no member named `scan_control'
ttinterp.c:3869: error: structure has no member named `stretched'
ttinterp.c:3870: error: structure has no member named `scan_control'
ttinterp.c: In function `Ins_FLIPPT':
ttinterp.c:3927: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_FLIPRGON':
ttinterp.c:3961: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_FLIPRGOFF':
ttinterp.c:3988: error: structure has no member named `pedantic_hinting'
ttinterp.c: At top level:
ttinterp.c:3998: error: syntax error before "Compute_Point_Displacement"
ttinterp.c:4003: warning: return type defaults to `int'
ttinterp.c: In function `Compute_Point_Displacement':
ttinterp.c:4022: error: structure has no member named `pedantic_hinting'
ttinterp.c: At top level:
ttinterp.c:4043: error: syntax error before "Bool"
ttinterp.c: In function `Move_Zp2_Point':
ttinterp.c:4045: error: `exc' undeclared (first use in this function)
ttinterp.c:4047: error: `point' undeclared (first use in this function)
ttinterp.c:4047: error: `dx' undeclared (first use in this function)
ttinterp.c:4048: error: `touch' undeclared (first use in this function)
ttinterp.c:4054: error: `dy' undeclared (first use in this function)
ttinterp.c: In function `Ins_SHP':
ttinterp.c:4092: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SHC':
ttinterp.c:4130: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SHZ':
ttinterp.c:4181: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_SHPIX':
ttinterp.c:4235: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_MSIRP':
ttinterp.c:4268: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_MDAP':
ttinterp.c:4309: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_MIAP':
ttinterp.c:4351: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_MDRP':
ttinterp.c:4422: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_MIRP':
ttinterp.c:4509: error: structure has no member named `pedantic_hinting'
ttinterp.c:4554: error: structure has no member named `auto_flip'
ttinterp.c: In function `Ins_ALIGNRP':
ttinterp.c:4622: error: structure has no member named `pedantic_hinting'
ttinterp.c:4635: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_ISECT':
ttinterp.c:4692: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_ALIGNPTS':
ttinterp.c:4754: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_IP':
ttinterp.c:4813: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_UTP':
ttinterp.c:4868: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_DELTAP':
ttinterp.c:5147: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_DELTAC':
ttinterp.c:5184: error: structure has no member named `pedantic_hinting'
ttinterp.c: In function `Ins_GETINFO':
ttinterp.c:5255: error: structure has no member named `rotated'
ttinterp.c:5259: error: structure has no member named `stretched'
ttinterp.c: In function `Ins_UNKNOWN':
ttinterp.c:5275: error: structure has no member named `Active'
ttinterp.c:5300: error: structure has no member named `step_ins'
ttinterp.c: In function `RunIns':
ttinterp.c:5691: error: structure has no member named `step_ins'
ttinterp.c:5820: error: structure has no member named `step_ins'
ttinterp.c:5952: error: structure has no member named `pedantic_hinting'
ttinterp.c:5960: error: structure has no member named `pedantic_hinting'
ttinterp.c:5964: error: structure has no member named `pedantic_hinting'
ttinterp.c:5968: error: structure has no member named `pedantic_hinting'
ttinterp.c:5994: error: structure has no member named `auto_flip'
ttinterp.c:5998: error: structure has no member named `auto_flip'
ttinterp.c:6116: error: structure has no member named `pedantic_hinting'
ttinterp.c:6139: error: structure has no member named `step_ins'
ttinterp.c:6143: error: structure has no member named `step_ins'
ttinterp.c:6253: error: structure has no member named `Active'
ttinterp.c:6293: error: structure has no member named `step_ins'
ttinterp.c:6316: error: structure has no member named `instruction_trap'
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:14:
ttload.c: In function `Load_TrueType_Gasp':
ttload.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttload.c:406: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttload.c: At top level:
ttload.c:500: error: syntax error before "Bool"
ttload.c: In function `Load_TrueType_Metrics':
ttload.c:516: error: `vertical' undeclared (first use in this function)
ttload.c:525: error: `face' undeclared (first use in this function)
ttload.c: At top level:
ttload.c:628: error: syntax error before "Bool"
ttload.c: In function `Load_TrueType_Metrics_Header':
ttload.c:639: error: `vertical' undeclared (first use in this function)
ttload.c:641: error: `face' undeclared (first use in this function)
ttload.c: In function `Load_TrueType_Names':
ttload.c:883: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttload.c:949: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttload.c: In function `Load_TrueType_CMap':
ttload.c:1106: error: structure has no member named `loaded'
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:15:
ttobjs.c: In function `New_Context':
ttobjs.c:56: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttobjs.c: In function `Context_Load':
ttobjs.c:583: error: structure has no member named `instruction_trap'
ttobjs.c: At top level:
ttobjs.c:624: error: syntax error before "Bool"
ttobjs.c: In function `Context_Run':
ttobjs.c:629: error: `exec' undeclared (first use in this function)
ttobjs.c:655: error: `debug' undeclared (first use in this function)
ttobjs.c: At top level:
ttobjs.c:671: warning: excess elements in struct initializer
ttobjs.c:671: warning: (near initialization for `Default_GraphicsState')
ttobjs.c:672: warning: excess elements in struct initializer
ttobjs.c:672: warning: (near initialization for `Default_GraphicsState')
ttobjs.c: In function `Instance_Destroy':
ttobjs.c:704: error: structure has no member named `debug'
ttobjs.c:708: error: structure has no member named `debug'
ttobjs.c:731: error: structure has no member named `valid'
ttobjs.c: In function `Instance_Create':
ttobjs.c:765: error: structure has no member named `valid'
ttobjs.c:785: error: structure has no member named `rotated'
ttobjs.c:786: error: structure has no member named `stretched'
ttobjs.c: In function `Instance_Init':
ttobjs.c:838: error: structure has no member named `debug'
ttobjs.c:881: error: structure has no member named `instruction_trap'
ttobjs.c:912: error: structure has no member named `debug'
ttobjs.c:916: error: structure has no member named `valid'
ttobjs.c: In function `Instance_Reset':
ttobjs.c:949: error: structure has no member named `valid'
ttobjs.c:1005: error: structure has no member named `debug'
ttobjs.c:1023: error: structure has no member named `instruction_trap'
ttobjs.c:1034: error: structure has no member named `debug'
ttobjs.c:1046: error: structure has no member named `debug'
ttobjs.c:1051: error: structure has no member named `valid'
ttobjs.c: In function `Face_Destroy':
ttobjs.c:1128: error: structure has no member named `verticalInfo'
ttobjs.c:1132: error: structure has no member named `verticalInfo'
ttobjs.c: In function `TTObjs_Init':
ttobjs.c:1432: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttobjs.c:1433: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttobjs.c:1459: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ttobjs.c:1460: warning: dereferencing type-punned pointer will break
strict-aliasing rules
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:16:
ttraster.c: At top level:
ttraster.c:261: error: syntax error before "Bool"
ttraster.c:306: error: syntax error before "Bool"
ttraster.c:406: error: syntax error before "Bool"
ttraster.c: In function `Set_High_Precision':
ttraster.c:408: error: `High' undeclared (first use in this function)
ttraster.c:410: error: `raster' undeclared (first use in this function)
ttraster.c: At top level:
ttraster.c:443: error: syntax error before "New_Profile"
ttraster.c:444: warning: return type defaults to `int'
ttraster.c: In function `New_Profile':
ttraster.c:486: error: structure has no member named `fresh'
ttraster.c:487: error: structure has no member named `joint'
ttraster.c: At top level:
ttraster.c:506: error: syntax error before "End_Profile"
ttraster.c:507: warning: return type defaults to `int'
ttraster.c: In function `End_Profile':
ttraster.c:545: error: structure has no member named `joint'
ttraster.c: At top level:
ttraster.c:563: error: syntax error before "Insert_Y_Turn"
ttraster.c:564: warning: return type defaults to `int'
ttraster.c:614: error: syntax error before "Finalize_Profile_Table"
ttraster.c:615: warning: return type defaults to `int'
ttraster.c:741: error: syntax error before "Line_Up"
ttraster.c:744: warning: return type defaults to `int'
ttraster.c: In function `Line_Up':
ttraster.c:794: error: structure has no member named `joint'
ttraster.c:797: error: structure has no member named `joint'
ttraster.c:800: error: structure has no member named `joint'
ttraster.c:802: error: structure has no member named `fresh'
ttraster.c:805: error: structure has no member named `fresh'
ttraster.c: At top level:
ttraster.c:852: error: syntax error before "Line_Down"
ttraster.c:855: warning: return type defaults to `int'
ttraster.c: In function `Line_Down':
ttraster.c:856: error: syntax error before "result"
ttraster.c:859: error: `fresh' undeclared (first use in this function)
ttraster.c:859: error: structure has no member named `fresh'
ttraster.c:861: error: `result' undeclared (first use in this function)
ttraster.c:863: error: structure has no member named `fresh'
ttraster.c: At top level:
ttraster.c:884: error: syntax error before "Bezier_Up"
ttraster.c:885: warning: return type defaults to `int'
ttraster.c: In function `Bezier_Up':
ttraster.c:920: error: structure has no member named `joint'
ttraster.c:923: error: structure has no member named `joint'
ttraster.c:934: error: structure has no member named `fresh'
ttraster.c:937: error: structure has no member named `fresh'
ttraster.c:954: error: structure has no member named `joint'
ttraster.c:981: error: structure has no member named `joint'
ttraster.c: At top level:
ttraster.c:1013: error: syntax error before "Bezier_Down"
ttraster.c:1014: warning: return type defaults to `int'
ttraster.c: In function `Bezier_Down':
ttraster.c:1016: error: syntax error before "result"
ttraster.c:1023: error: `fresh' undeclared (first use in this function)
ttraster.c:1023: error: structure has no member named `fresh'
ttraster.c:1025: error: `result' undeclared (first use in this function)
ttraster.c:1027: error: structure has no member named `fresh'
ttraster.c: At top level:
ttraster.c:1048: error: syntax error before "Line_To"
ttraster.c:1049: warning: return type defaults to `int'
ttraster.c:1127: error: syntax error before "Bezier_To"
ttraster.c:1131: warning: return type defaults to `int'
ttraster.c:1241: error: syntax error before "Decompose_Curve"
ttraster.c:1243: error: syntax error before "Bool"
ttraster.c:1244: warning: return type defaults to `int'
ttraster.c: In function `Decompose_Curve':
ttraster.c:1253: error: syntax error before "on_curve"
ttraster.c:1255: error: `raster' undeclared (first use in this function)
ttraster.c:1255: error: `first' undeclared (first use in this function)
ttraster.c:1258: error: `flipped' undeclared (first use in this function)
ttraster.c:1260: error: `last' undeclared (first use in this function)
ttraster.c:1268: error: `on_curve' undeclared (first use in this function)
ttraster.c: At top level:
ttraster.c:1373: error: syntax error before "Convert_Glyph"
ttraster.c:1374: warning: return type defaults to `int'
ttraster.c: In function `Convert_Glyph':
ttraster.c:1382: error: structure has no member named `joint'
ttraster.c:1383: error: structure has no member named `fresh'
ttraster.c: In function `Vertical_Sweep_Span':
ttraster.c:1655: warning: implicit declaration of function `memset'
ttraster.c: At top level:
ttraster.c:2142: error: syntax error before "Draw_Sweep"
ttraster.c:2143: warning: return type defaults to `int'
ttraster.c:2392: error: syntax error before "Bool"
ttraster.c: In function `Render_Single_Pass':
ttraster.c:2397: error: `raster' undeclared (first use in this function)
ttraster.c:2406: error: `flipped' undeclared (first use in this function)
ttraster.c: In function `Render_Glyph':
ttraster.c:2496: error: structure has no member named `second_pass'
ttraster.c:2517: error: structure has no member named `second_pass'
ttraster.c: In function `Render_Gray_Glyph':
ttraster.c:2592: error: structure has no member named `second_pass'
ttraster.c:2620: error: structure has no member named `second_pass'
In file included from /usr/include/string.h:49,
                 from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/ttmmap.c:25,
                 from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:19:
/usr/include/strings.h: At top level:
/usr/include/strings.h:45: error: `index' used prior to declaration
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:19:
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/ttmmap.c:
In function `Allocate_Map':
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/ttmmap.c:375:
warning: dereferencing type-punned pointer will break strict-aliasing
rules
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/ttmmap.c:
In function `Release_Map':
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/ttmmap.c:405:
warning: dereferencing type-punned pointer will break strict-aliasing
rules
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/ttmmap.c:
In function `TT_Open_Stream':
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/ttmmap.c:484:
warning: dereferencing type-punned pointer will break strict-aliasing
rules
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/ttmmap.c:
In function `TT_Close_Stream':
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/ttmmap.c:511:
warning: dereferencing type-punned pointer will break strict-aliasing
rules
In file included from
/home/suresh/Trail-NX/nx-X11/extras/FreeType/lib/arch/unix/freetype.c:27:
ttextend.c: In function `TTExtend_Init':
ttextend.c:53: warning: dereferencing type-punned pointer will break
strict-aliasing rules
*** Error code 1

Stop in /home/suresh/Trail-NX/nx-X11/extras/FreeType/lib.
*** Error code 1

Stop in /home/suresh/Trail-NX/nx-X11/extras/FreeType/lib.
*** Error code 1

Stop in /home/suresh/Trail-NX/nx-X11/extras/FreeType.

--------------------------------- End of  Errors while runnging make
command ------------------------------

and for remaining configuration files , I am getting compilation
errors as above. I cannot able to trace the errors..  could u please
help me in this issue
FYI,
I am compiling all the above files under FreeBSD MACHINE with FreeBSD version

$ uname -a

5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
address@hidden:/usr/obj/usr/src/sys/GENERIC  i386

--------------------------------------------------------------------------------
With Best Regards

Chaganti Suresh Naidu
Software Engineer,
Singapore


-- 
With Best Regards

Chaganti Suresh Naidu
Software Engineer,
Singapore
H/P : +65 97874756




reply via email to

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