Building on SGI with IRIX 6.2

Syd Polk spolk@redhat.com
Mon Nov 13 08:42:00 GMT 2000


It looks like you need GNU flex and bison as well, instead of the lex and yacc
that ship with SGI.

Reiner Suikat wrote:
> 
> Hello,
> 
> I'm trying to build Sourcenav 4.5.2 on an SGI Indigo 2 workstation running
> IRIX 6.2. I had no success using SGI's compiler, but did get a lot farther
> with gcc (version 2.8.1).
> 
> Unfortunately, it doesn't work all the way, it breaks here:
> gcc -DHAVE_CONFIG_H -I. -I../../../SN452-source/snavigator/hyper -I.. -Wall
> -fwritable-strings  -I../../../SN452-source/snavigator/misc/libutils -I/usr/
> people/suikat/SN452-source/tk8.1/generic -I/usr/people/suikat/SN452-source/t
> k8.1/generic/../unix -I/usr/people/suikat/SN452-source/tk8.1/generic/../win
> -I/usr/people/suikat/SN452-source/tcl8.1/generic  -I../../../SN452-source/sn
> avigator/../db/include -I../../../SN452-source/snavigator/db -I../../../SN45
> 2-source/snavigator/../libgui/src    -g -O2 -c tcl_high.c
> ../../../SN452-source/snavigator/hyper/tcl_high.l: In function
> `tcl_highlight_lex':
> ../../../SN452-source/snavigator/hyper/tcl_high.l:55: warning: subscript has
> type `char'
> ../../../SN452-source/snavigator/hyper/tcl_high.l: In function
> `flush_lex_scanner':
> ../../../SN452-source/snavigator/hyper/tcl_high.l:280: `YY_FLUSH_BUFFER'
> undeclared (first use in this function)
> ../../../SN452-source/snavigator/hyper/tcl_high.l:280: (Each undeclared
> identifier is reported only once
> ../../../SN452-source/snavigator/hyper/tcl_high.l:280: for each function it
> appears in.)
> ../../../SN452-source/snavigator/hyper/tcl_high.l: At top level:
> ../../../SN452-source/snavigator/hyper/tcl_high.l:561: warning: `yyunput'
> defined but not used
> ../../../SN452-source/snavigator/hyper/tcl_high.l:812: warning:
> `yy_push_state' defined but not used
> ../../../SN452-source/snavigator/hyper/tcl_high.l:839: warning:
> `yy_pop_state' defined but not used
> ../../../SN452-source/snavigator/hyper/tcl_high.l:848: warning:
> `yy_top_state' defined but not used
> tcl_high.c:239: warning: `yy_flex_strcpy' declared `static' but never
> defined
> make[3]: *** [tcl_high.o] Error 1
> make[3]: Leaving directory `/usr/people/suikat/tmp/snavigator/hyper'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/people/suikat/tmp/snavigator'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/usr/people/suikat/tmp/snavigator'
> make: *** [all-snavigator] Error 2
> 
> Any idea? Do I need a more recent version of gcc? Even better, is there a
> binary for SGI available somewhere?
> 
> Thanks
> 
> Reiner


More information about the Sourcenav mailing list