Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 18:00:49 +0800
From:      Suresh Naidu <sureshnaidu.chaganti@gmail.com>
To:        freebsd-x11@freebsd.org, nxdevelopers@nomachine.com, nxusers@nomachine.com, nxannounce@nomachine.com
Subject:   (Help Me!) Problem in Compiling Nx Src on FreeBSD Machine of version 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:)
Message-ID:  <a2dc0f2f0502280200b7ffb1b@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi Guys 

I am facing few errors while compiling Nx src can Any one please help
me in the below issue.

I am giving detail explanation ( with errors printed) about the errors
I got step by Step please go through the errors if necessary and
please do let me know any solution.

FYI, 
I am using FreeBSD machine for compiling the below src, and FreeBSD version is  
5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:)

After Untar I noticed .... 11 CONFIGURE SCRIPTS and MAKE FILES , which
can be executed I have executed all the 11 CONFIGURE SCRIPTS and MAKE
files and explained u all the output for ur reference

I have downloaded following tarballs from the http://www.nomachine.com/sources
NX-OSS Sources

NOTE: IF I am worng with the following procedure please do let me know
the correct way to compile NX SRC on FreeBSD machine


----------Start of  TAR BALLS  List -------

1. nxagent-1.4.0-65.tar.gz  
2. nxdarwin-1.4.0-3.tar.gz    
3. nxauth-1.4.0-2.tar.gz     
4. nxwin-1.4.0-4.tar.gz
5. nxcomp-1.4.0-31.tar.gz    
6. nx-X11-1.4.0-10.tar.gz
7. nxcompext-1.4.0-3.tar.gz  

8. nxviewer-1.4.0-5.tar.gz
9. nxdesktop-1.4.0-61.tar.gz  
10. nxspool-1.4.0-4.tar.gz    
11.nxesd-1.4.0-1.tar.gz      
12.nxssh-1.4.0-22.tar.gz     
13. nxproxy-1.4.0-3.tar.gz     
14. nxuexec-1.4.0-13.tar.gz
15. nxscripts-1.4.0-3.tar.gz  

----------Start of  TAR BALLS  List -------

out of 15 tar balls I was in need of first 7 tar balls and
I have untar all the 7 tar balls I got the directories as.

$ ls  -l
total 10
drwxr-xr-x  10 600    200   512 Feb 28 09:58 nx-X11
drwxr-xr-x   3 600    200  5632 Feb 28 14:24 nxcomp
drwxr-xr-x   3 10004  100  1024 Feb 28 10:33 nxcompext

and I found all the configure scripts location by using the command ...
$ find . | grep configure$

then  I got output as 

--- Start of finding the configure file loc ---

1. ./nx-X11/extras/expat/configure
2. ./nx-X11/programs/xterm/configure
3. ./nx-X11/extras/freetype2/configure
4. ./nx-X11/extras/FreeType/contrib/ttf2bdf/configure
5. ./nx-X11/extras/FreeType/contrib/ttf2pfb/configure
6. ./nx-X11/extras/FreeType/contrib/ttf2pk/configure
7. ./nx-X11/extras/FreeType/contrib/ttfbanner/configure
8. ./nx-X11/extras/FreeType/configure
9. ./nx-X11/extras/freetype2/builds/unix/configure
10. ./nxcomp/configure
11. ./nxcompext/configure

------ Start of finding the configure file loc -----

1 . configure script executed successfully and I can also do MAKE and
MAKE INSTALL works fine..

2. configure script executed successfully (./nx-X11/programs/xterm/configure)
                   $ make 
                   $ make install 
        also executed successfully!
3. Configure script ( ./nx-X11/extras/freetype2/configure ) executed
successfully
                   $ gmake
                   $ gmake install 
          also executed successfully!

 
4. when I try to run
(./nx-X11/extras/FreeType/contrib/ttf2bdf/configure) script it gives
the following output

----4.  Start Of configure scipt output ----

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.

----- 4. End of configure script output -----

5 . when I try to run
(./nx-X11/extras/FreeType/contrib/ttf2pfb/configure) script it gives
the following output

----5.  Start Of configure scipt output ----
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... 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 how to run the C preprocessor... gcc -E
checking for TT_Init_FreeType in -lttf... no
configure: error: Can't find ttf library! Compile FreeType first.
----- 5. End of configure script output -----

6. as same as above asking to compile FreeType First

7. as same as above asking to compile FreeType First

8. then I did 
     
    $ cd  ./nx-X11/extras/FreeType/
    $ ./configure

then it gives the following output
----- 8. Start of configure script output -----

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
*** bug-libtool@gnu.org

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
----- 8. End of configure script output -----

then again I tried with the following command

$ make

---- 8. Start of Make command ouput ----

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.

---- 8. End of Make command ouput --------

then Finally I cannot able to compile the src. I was strucked since
long back ..

9. only configure script (
./nx-X11/extras/freetype2/builds/unix/configure) executed no make file
was generated or created to run ...

10.  configurescript (./nxcomp/configure ) successfull

---- 10. Start of configure command ouput ----

checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether compiler needs -Wno-deprecated... yes
checking whether compiler accepts -Wmissing-declarations and
-Wnested-externs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Cygwin32 environment... no
checking for Darwin environment... no
checking for Solaris environment... no
checking for FreeBSD environment... yes
checking for in_addr_t... yes
compiling version 1.4.0
enabling dynamic linking of PNG library
enabling dynamic linking of JPEG library
enabling dynamic linking of Z library
disabling production of debug symbols
disabling info output in the log file
disabling valgrind memory checker workarounds
configure: creating ./config.status
config.status: creating Makefile

---- 10. End of configure command ouput ----

 then I tried the command 

  $make
---- 10. Start of Make command ouput ----

g++ -c -O3 -Wno-deprecated -I/usr/local/include -DIN_ADDR_T=in_addr_t
-DVERSION=\"1.4.0\"  -I/usr/X11R6/include -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\"   -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes   Loop.cpp
In file included from /usr/include/c++/3.3/ios:48,
                 from /usr/include/c++/3.3/istream:44,
                 from /usr/include/c++/3.3/fstream:45,
                 from /usr/include/c++/3.3/backward/fstream.h:32,
                 from Loop.cpp:35:
/usr/include/c++/3.3/bits/localefwd.h:58:34: macro "isspace" passed 2
arguments, but takes just 1
In file included from /usr/include/c++/3.3/ios:48,
                 from /usr/include/c++/3.3/istream:44,
                 from /usr/include/c++/3.3/fstream:45,
                 from /usr/include/c++/3.3/backward/fstream.h:32,
                 from Loop.cpp:35:
/usr/include/c++/3.3/bits/localefwd.h:58: error: `std::isspace' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:58: error: template declaration of `bool
   std::isspace'
/usr/include/c++/3.3/bits/localefwd.h:58: error: `template<class _CharT> bool
   std::isspace' redeclared as different kind of symbol
/usr/include/ctype.h:79: error: previous declaration of `int isspace(int)'
/usr/include/c++/3.3/bits/localefwd.h:62:34: macro "isprint" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:62: error: `std::isprint' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:62: error: template declaration of `bool
   std::isprint'
/usr/include/c++/3.3/bits/localefwd.h:62: error: `template<class _CharT> bool
   std::isprint' redeclared as different kind of symbol
/usr/include/ctype.h:77: error: previous declaration of `int isprint(int)'
/usr/include/c++/3.3/bits/localefwd.h:66:34: macro "iscntrl" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:66: error: `std::iscntrl' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:66: error: template declaration of `bool
   std::iscntrl'
/usr/include/c++/3.3/bits/localefwd.h:66: error: `template<class _CharT> bool
   std::iscntrl' redeclared as different kind of symbol
/usr/include/ctype.h:73: error: previous declaration of `int iscntrl(int)'
/usr/include/c++/3.3/bits/localefwd.h:70:34: macro "isupper" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:70: error: `std::isupper' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:70: error: template declaration of `bool
   std::isupper'
/usr/include/c++/3.3/bits/localefwd.h:70: error: `template<class _CharT> bool
   std::isupper' redeclared as different kind of symbol
/usr/include/ctype.h:80: error: previous declaration of `int isupper(int)'
/usr/include/c++/3.3/bits/localefwd.h:74:34: macro "islower" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:74: error: `std::islower' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:74: error: template declaration of `bool
   std::islower'
/usr/include/c++/3.3/bits/localefwd.h:74: error: `template<class _CharT> bool
   std::islower' redeclared as different kind of symbol
/usr/include/ctype.h:76: error: previous declaration of `int islower(int)'
/usr/include/c++/3.3/bits/localefwd.h:78:34: macro "isalpha" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:78: error: `std::isalpha' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:78: error: template declaration of `bool
   std::isalpha'
/usr/include/c++/3.3/bits/localefwd.h:78: error: `template<class _CharT> bool
   std::isalpha' redeclared as different kind of symbol
/usr/include/ctype.h:72: error: previous declaration of `int isalpha(int)'
/usr/include/c++/3.3/bits/localefwd.h:82:34: macro "isdigit" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:82: error: `std::isdigit' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:82: error: template declaration of `bool
   std::isdigit'
/usr/include/c++/3.3/bits/localefwd.h:82: error: `template<class _CharT> bool
   std::isdigit' redeclared as different kind of symbol
/usr/include/ctype.h:74: error: previous declaration of `int isdigit(int)'
/usr/include/c++/3.3/bits/localefwd.h:86:34: macro "ispunct" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:86: error: `std::ispunct' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:86: error: template declaration of `bool
   std::ispunct'
/usr/include/c++/3.3/bits/localefwd.h:86: error: `template<class _CharT> bool
   std::ispunct' redeclared as different kind of symbol
/usr/include/ctype.h:78: error: previous declaration of `int ispunct(int)'
/usr/include/c++/3.3/bits/localefwd.h:90:35: macro "isxdigit" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:90: error: `std::isxdigit' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:90: error: template declaration of `bool
   std::isxdigit'
/usr/include/c++/3.3/bits/localefwd.h:90: error: `template<class _CharT> bool
   std::isxdigit' redeclared as different kind of symbol
/usr/include/ctype.h:81: error: previous declaration of `int isxdigit(int)'
/usr/include/c++/3.3/bits/localefwd.h:94:34: macro "isalnum" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:94: error: `std::isalnum' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:94: error: template declaration of `bool
   std::isalnum'
/usr/include/c++/3.3/bits/localefwd.h:94: error: `template<class _CharT> bool
   std::isalnum' redeclared as different kind of symbol
/usr/include/ctype.h:71: error: previous declaration of `int isalnum(int)'
/usr/include/c++/3.3/bits/localefwd.h:98:34: macro "isgraph" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:98: error: `std::isgraph' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:98: error: template declaration of `bool
   std::isgraph'
/usr/include/c++/3.3/bits/localefwd.h:98: error: `template<class _CharT> bool
   std::isgraph' redeclared as different kind of symbol
/usr/include/ctype.h:75: error: previous declaration of `int isgraph(int)'
/usr/include/c++/3.3/bits/localefwd.h:102:34: macro "toupper" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:102: error: `std::toupper' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:102: error: template declaration of `
   _CharT std::toupper'
/usr/include/c++/3.3/bits/localefwd.h:102: error: `template<class _CharT>
   _CharT std::toupper' redeclared as different kind of symbol
/usr/include/ctype.h:83: error: previous declaration of `int toupper(int)'
/usr/include/c++/3.3/bits/localefwd.h:106:34: macro "tolower" passed 2
arguments, but takes just 1
/usr/include/c++/3.3/bits/localefwd.h:106: error: `std::tolower' declared as an
   `inline' variable
/usr/include/c++/3.3/bits/localefwd.h:106: error: template declaration of `
   _CharT std::tolower'
/usr/include/c++/3.3/bits/localefwd.h:106: error: `template<class _CharT>
   _CharT std::tolower' redeclared as different kind of symbol
/usr/include/ctype.h:82: error: previous declaration of `int tolower(int)'
In file included from /usr/include/c++/3.3/bits/basic_ios.h:44,
                 from /usr/include/c++/3.3/ios:51,
                 from /usr/include/c++/3.3/istream:44,
                 from /usr/include/c++/3.3/fstream:45,
                 from /usr/include/c++/3.3/backward/fstream.h:32,
                 from Loop.cpp:35:
/usr/include/c++/3.3/bits/locale_facets.h:197:53: macro "toupper"
passed 2 arguments, but takes just 1
In file included from /usr/include/c++/3.3/bits/basic_ios.h:44,
                 from /usr/include/c++/3.3/ios:51,
                 from /usr/include/c++/3.3/istream:44,
                 from /usr/include/c++/3.3/fstream:45,
                 from /usr/include/c++/3.3/backward/fstream.h:32,
                 from Loop.cpp:35:
/usr/include/c++/3.3/bits/locale_facets.h:197: error: syntax error before `
   const'
/usr/include/c++/3.3/bits/locale_facets.h:201: error: syntax error before `('
   token
/usr/include/c++/3.3/bits/locale_facets.h:201: error: syntax error before `)'
   token
/usr/include/c++/3.3/bits/locale_facets.h:202: error: non-member function `int
   std::__tolower(...)' cannot have `const' method qualifier
/usr/include/c++/3.3/bits/locale_facets.h: In function `int std::__tolower(...)
   ':
/usr/include/c++/3.3/bits/locale_facets.h:202: error: invalid use of `this' in
   non-member function
/usr/include/c++/3.3/bits/locale_facets.h:202: error: `__c' undeclared (first
   use this function)
/usr/include/c++/3.3/bits/locale_facets.h:202: error: (Each undeclared
   identifier is reported only once for each function it appears in.)
/usr/include/c++/3.3/bits/locale_facets.h: At global scope:
/usr/include/c++/3.3/bits/locale_facets.h:204: error: syntax error before `*'
   token
/usr/include/c++/3.3/bits/locale_facets.h:205:53: macro "tolower"
passed 2 arguments, but takes just 1
/usr/include/c++/3.3/bits/locale_facets.h:209: error: syntax error before `)'
   token
/usr/include/c++/3.3/bits/locale_facets.h:40:1: unterminated #ifndef
In file included from /usr/include/c++/3.3/ios:51,
                 from /usr/include/c++/3.3/istream:44,
                 from /usr/include/c++/3.3/fstream:45,
                 from /usr/include/c++/3.3/backward/fstream.h:32,
                 from Loop.cpp:35:
/usr/include/c++/3.3/bits/basic_ios.h:36:1: unterminated #ifndef
In file included from /usr/include/c++/3.3/istream:44,
                 from /usr/include/c++/3.3/fstream:45,
                 from /usr/include/c++/3.3/backward/fstream.h:32,
                 from Loop.cpp:35:
/usr/include/c++/3.3/ios:39:1: unterminated #ifndef
In file included from /usr/include/c++/3.3/fstream:45,
                 from /usr/include/c++/3.3/backward/fstream.h:32,
                 from Loop.cpp:35:
/usr/include/c++/3.3/istream:39:1: unterminated #ifndef
In file included from /usr/include/c++/3.3/backward/fstream.h:32,
                 from Loop.cpp:35:
/usr/include/c++/3.3/fstream:40:1: unterminated #ifndef
In file included from Loop.cpp:35:
/usr/include/c++/3.3/backward/fstream.h:28:1: unterminated #ifndef
*** Error code 1

Stop in /home/suresh/Trail-NX/nxcomp.

---- 10. End of Make command ouput ----

11. configure executed successfully ( ./nxcompext/configure ) 

--- 11. Start of configure Script -----

checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Cygwin32 environment... no
checking for SunOS environment... no
checking for FreeBSD environment... yes
enabling dynamic linking of PNG library
disabling production of debug symbols
disabling info output in the log file
disabling valgrind memory checker workarounds
compiling version 1.4.0
configure: creating ./config.status
config.status: creating Makefile

--- 11. End of configure Script -----

 and then I tried the following command

   $ make

--- 11. Start of MAke Script -----

gcc -c -O3 -I/usr/local/include -DVERSION=\"1.4.0\" 
-I/usr/X11R6/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-D__USE_MALLOC  -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes  -Wmissing-declarations -Wnested-externs -I.
-I../nxcomp  -I../nx-X11/lib/X11 -I../nx-X11/include
-I../nx-X11/programs/Xserver/include Clean.c
Clean.c: In function `NXCleanInPlaceImage':
Clean.c:681: error: `SA_NOMASK' undeclared (first use in this function)
Clean.c:681: error: (Each undeclared identifier is reported only once
Clean.c:681: error: for each function it appears in.)
*** Error code 1

Stop in /home/suresh/Trail-NX/nxcompext.

--- 11. End of MAke Script -----

#########################################################################

The above all steps are done sequentially .. by seeing the above steps
and errors can any one help me in this issue.

Thanks and Best Regards
Suresh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a2dc0f2f0502280200b7ffb1b>