* Building on SGI with IRIX 6.2
@ 2000-11-13 2:44 Reiner Suikat
2000-11-13 4:16 ` Endre M. Lidal
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Reiner Suikat @ 2000-11-13 2:44 UTC (permalink / raw)
To: sourcenav
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building on SGI with IRIX 6.2
2000-11-13 2:44 Building on SGI with IRIX 6.2 Reiner Suikat
@ 2000-11-13 4:16 ` Endre M. Lidal
2000-11-13 4:19 ` Ben Elliston
2000-11-13 8:42 ` Syd Polk
2 siblings, 0 replies; 4+ messages in thread
From: Endre M. Lidal @ 2000-11-13 4:16 UTC (permalink / raw)
To: Reiner Suikat; +Cc: sourcenav
On Mon, 13 Nov 2000, 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:
[... errors ...]
>
> Any idea? Do I need a more recent version of gcc? Even better, is there a
> binary for SGI available somewhere?
>
When I compiled Sourcenav 4.5.2 for Irix (Irix 6.5 on an Onyx2) I had to
use the most recent gcc (version 2.95.2), SGI's CC and gcc v.2.8.1 gave
errors.
I do not now of any SGI binaries of Sourcenav, but You can find
the latest precompiled (and install packed) gcc for SGI at
http://freeware.sgi.com/
Hope this helps you.
endre
--
Endre M. Lidal (endre@cmr.no)
Scientist, Advanced Computing
Christian Michelsen Research AS (www.cmr.no)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building on SGI with IRIX 6.2
2000-11-13 2:44 Building on SGI with IRIX 6.2 Reiner Suikat
2000-11-13 4:16 ` Endre M. Lidal
@ 2000-11-13 4:19 ` Ben Elliston
2000-11-13 8:42 ` Syd Polk
2 siblings, 0 replies; 4+ messages in thread
From: Ben Elliston @ 2000-11-13 4:19 UTC (permalink / raw)
To: Reiner Suikat; +Cc: sourcenav
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).
Is the configure script locating SGI's shipping version of lex?
If you install GNU flex does the problem go away?
Ben
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building on SGI with IRIX 6.2
2000-11-13 2:44 Building on SGI with IRIX 6.2 Reiner Suikat
2000-11-13 4:16 ` Endre M. Lidal
2000-11-13 4:19 ` Ben Elliston
@ 2000-11-13 8:42 ` Syd Polk
2 siblings, 0 replies; 4+ messages in thread
From: Syd Polk @ 2000-11-13 8:42 UTC (permalink / raw)
To: Reiner Suikat; +Cc: sourcenav
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-11-13 8:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-13 2:44 Building on SGI with IRIX 6.2 Reiner Suikat
2000-11-13 4:16 ` Endre M. Lidal
2000-11-13 4:19 ` Ben Elliston
2000-11-13 8:42 ` Syd Polk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).