Compilation errors

I would be very grateful if anyone could give me any advice that you can with the following problem.

In compiling the Thot Editor, having created the Target directory (Step 2) and in attempting to build all with the "gmake all" command, I encounter the following errors in the script:
 
[root@localhost objects]# gmake all

gmake[1]: Entering directory `/usr/local/Thot/objects/tools'

gmake[2]: Entering directory `/usr/local/Thot/objects/tools/mkdep'

gmake[2]: Nothing to be done for `all'.

gmake[2]: Leaving directory `/usr/local/Thot/objects/tools/mkdep'

gmake[2]: Entering directory `/usr/local/Thot/objects/tools/cextract-1.7'

gmake[2]: Nothing to be done for `all'.

gmake[2]: Leaving directory `/usr/local/Thot/objects/tools/cextract-1.7'

gmake[1]: Leaving directory `/usr/local/Thot/objects/tools'

gmake[1]: Entering directory `/usr/local/Thot/objects/tablelib'

gcc -g -O -Wall -DHAVE_CONFIG_H -I.. -I../../tablelib/f -I../../thotlib/include

-I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/inter

nals/f -I../../schemas -I../../schemasOPERA -I../../libjpeg -I../../libpng -I../

../libpng/zlib -I -I/usr/X11R6/include -c ../../tablelib/table.c -o table.o

In file included from ../../thotlib/include/thot_sys.h:28,

from ../../tablelib/table.c:28:

../../thotlib/include/sysdep.h:1006: warning: `strchr' redefined

/usr/include/bits/string2.h:376: warning: this is the location of the previous d

efinition

../../tablelib/table.c: In function `CreateSimpleCol':

../../tablelib/table.c:620: warning: suggest explicit braces to avoid ambiguous

`else'

../../tablelib/table.c:563: warning: suggest explicit braces to avoid ambiguous

`else'

../../tablelib/table.c: In function `CreateSimpleRaw':

../../tablelib/table.c:689: warning: suggest explicit braces to avoid ambiguous

`else'

../../tablelib/table.c: In function `SearchAndCreateTable':

../../tablelib/table.c:1000: warning: suggest explicit braces to avoid ambiguous

`else'

../../tablelib/table.c: In function `TableSelection':

../../tablelib/table.c:1145: warning: suggest explicit braces to avoid ambiguous

`else'

../../tablelib/table.c: In function `PasteCells':

../../tablelib/table.c:1253: warning: suggest explicit braces to avoid ambiguous

`else'

../../tablelib/table.c: In function `PasteSibling':

../../tablelib/table.c:1520: warning: suggest explicit braces to avoid ambiguous

`else'

../../tablelib/table.c: In function `CheckExtension':

../../tablelib/table.c:1731: warning: suggest explicit braces to avoid ambiguous

`else'

../../tablelib/table.c:1727: warning: suggest explicit braces to avoid ambiguous

`else'

../../tablelib/table.c:1787: warning: suggest explicit braces to avoid ambiguous

`else'

gcc -g -O -Wall -DHAVE_CONFIG_H -I.. -I../../tablelib/f -I../../thotlib/include

-I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/inter

nals/f -I../../schemas -I../../schemasOPERA -I../../libjpeg -I../../libpng -I../

../libpng/zlib -I -I/usr/X11R6/include -c ../../tablelib/table2.c -o table2.o

In file included from ../../thotlib/include/thot_sys.h:28,

from ../../tablelib/table2.c:28:

../../thotlib/include/sysdep.h:1006: warning: `strchr' redefined

/usr/include/bits/string2.h:376: warning: this is the location of the previous d

efinition

/usr/bin/ar rc libThotTable.a table.o table2.o

ranlib libThotTable.a

gmake[1]: Leaving directory `/usr/local/Thot/objects/tablelib'

gmake[1]: Entering directory `/usr/local/Thot/objects/thotlib'

gcc -g -O -Wall -DHAVE_CONFIG_H -I.. -I../../thotlib/include -I../../thotlib/in

ternals/var -I../../thotlib/internals/h -I../../thotlib/internals/f -I../../sche

mas -I../../schemasOPERA -I../../libjpeg -I../../libpng -I../../libpng/zlib -I

-I/usr/X11R6/include -c ../../thotlib/base/fileaccess.c -o base/fileaccess.o

In file included from ../../thotlib/include/thot_sys.h:28,

from ../../thotlib/base/fileaccess.c:16:

../../thotlib/include/sysdep.h:1006: warning: `strchr' redefined

/usr/include/bits/string2.h:376: warning: this is the location of the previous d

efinition

../../thotlib/base/fileaccess.c: In function `CopyDocIdent':

../../thotlib/base/fileaccess.c:433: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c: In function `MakeCompleteName':

../../thotlib/base/fileaccess.c:537: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c:543: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c:554: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c: In function `GetPictureFileName':

../../thotlib/base/fileaccess.c:584: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c:587: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c:592: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c: In function `GetDocIdent':

../../thotlib/base/fileaccess.c:749: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c: In function `GetDocName':

../../thotlib/base/fileaccess.c:765: void value not ignored as it ought to be

gmake[1]: *** [base/fileaccess.o] Error 1

gmake[1]: Leaving directory `/usr/local/Thot/objects/thotlib'

gmake[1]: Entering directory `/usr/local/Thot/objects/batch'

gcc -DCPP="gcc -E" -g -O -Wall -DHAVE_CONFIG_H -I.. -I../../batch/f -I../../tho

tlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../t

hotlib/internals/f -I../../schemas -I../../schemasOPERA -I../../libjpeg -I../../

libpng -I../../libpng/zlib -I -I/usr/X11R6/include -c ../../batch/../thotlib/ba

se/compilmsg.c -o ../thotlib/base/compilmsg.o

In file included from ../../thotlib/include/thot_sys.h:28,

from ../../batch/../thotlib/base/compilmsg.c:15:

../../thotlib/include/sysdep.h:1006: warning: `strchr' redefined

/usr/include/bits/string2.h:376: warning: this is the location of the previous d

efinition

gcc -DCPP="gcc -E" -g -O -Wall -DHAVE_CONFIG_H -I.. -I../../batch/f -I../../tho

tlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../t

hotlib/internals/f -I../../schemas -I../../schemasOPERA -I../../libjpeg -I../../

libpng -I../../libpng/zlib -I -I/usr/X11R6/include -c ../../batch/parser.c -o p

arser.o

In file included from ../../thotlib/include/thot_sys.h:28,

from ../../batch/parser.c:27:

../../thotlib/include/sysdep.h:1006: warning: `strchr' redefined

/usr/include/bits/string2.h:376: warning: this is the location of the previous d

efinition

../../batch/parser.c: In function `GetNextToken':

../../batch/parser.c:369: warning: suggest explicit braces to avoid ambiguous `e

lse'

../../batch/parser.c: In function `InitSyntax':

../../batch/parser.c:952: void value not ignored as it ought to be

../../batch/parser.c:1032: warning: suggest explicit braces to avoid ambiguous `

else'

../../batch/parser.c:945: warning: `currule' might be used uninitialized in this

function

gmake[1]: *** [parser.o] Error 1

gmake[1]: Leaving directory `/usr/local/Thot/objects/batch'

[root@localhost objects]# gmake all

gmake[1]: Entering directory `/usr/local/Thot/objects/tools'

gmake[2]: Entering directory `/usr/local/Thot/objects/tools/mkdep'

gmake[2]: Nothing to be done for `all'.

gmake[2]: Leaving directory `/usr/local/Thot/objects/tools/mkdep'

gmake[2]: Entering directory `/usr/local/Thot/objects/tools/cextract-1.7'

gmake[2]: Nothing to be done for `all'.

gmake[2]: Leaving directory `/usr/local/Thot/objects/tools/cextract-1.7'

gmake[1]: Leaving directory `/usr/local/Thot/objects/tools'

gmake[1]: Entering directory `/usr/local/Thot/objects/tablelib'

gmake[1]: Nothing to be done for `all'.

gmake[1]: Leaving directory `/usr/local/Thot/objects/tablelib'

gmake[1]: Entering directory `/usr/local/Thot/objects/thotlib'

gcc -g -O -Wall -DHAVE_CONFIG_H -I.. -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/in

ternals/h -I../../thotlib/internals/f -I../../schemas -I../../schemasOPERA -I../../libjpeg -I../../libpng -I..

from ../../thotlib/base/fileaccess.c:16:

../../thotlib/include/sysdep.h:1006: warning: `strchr' redefined

/usr/include/bits/string2.h:376: warning: this is the location of the previous definition

../../thotlib/base/fileaccess.c: In function `CopyDocIdent':

../../thotlib/base/fileaccess.c:433: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c: In function `MakeCompleteName':

../../thotlib/base/fileaccess.c:537: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c:543: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c:554: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c: In function `GetPictureFileName':

../../thotlib/base/fileaccess.c:584: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c:587: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c:592: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c: In function `GetDocIdent':

../../thotlib/base/fileaccess.c:749: void value not ignored as it ought to be

../../thotlib/base/fileaccess.c: In function `GetDocName':

../../thotlib/base/fileaccess.c:765: void value not ignored as it ought to be

gmake[1]: *** [base/fileaccess.o] Error 1

gmake[1]: Leaving directory `/usr/local/Thot/objects/thotlib'

gmake[1]: Entering directory `/usr/local/Thot/objects/batch'

gcc -DCPP="gcc -E" -g -O -Wall -DHAVE_CONFIG_H -I.. -I../../batch/f -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f -I../../schemas -I../../schemasOPERA -I../../libjpeg -I../../libpng -I../../libpng/zlib -I -I/usr/X11R6/include -c ../../batch/parser.c -o parser.o

In file included from ../../thotlib/include/thot_sys.h:28,

from ../../batch/parser.c:27:

../../thotlib/include/sysdep.h:1006: warning: `strchr' redefined

/usr/include/bits/string2.h:376: warning: this is the location of the previous definition

../../batch/parser.c: In function `GetNextToken':

../../batch/parser.c:369: warning: suggest explicit braces to avoid ambiguous `else'

../../batch/parser.c: In function `InitSyntax':

../../batch/parser.c:952: void value not ignored as it ought to be

../../batch/parser.c:1032: warning: suggest explicit braces to avoid ambiguous `else'

../../batch/parser.c:945: warning: `currule' might be used uninitialized in this function

gmake[1]: *** [parser.o] Error 1

gmake[1]: Leaving directory `/usr/local/Thot/objects/batch'

[root@localhost objects]# 

Received on Tuesday, 19 September 2000 02:50:48 UTC