🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1347

Re: Re: 3.1 is now available

#1347
From: Yalamanchi Prasad
Date: Wed, 16 Dec 1992 14:49
98 lines
3729 bytes
In article AA20677@hkueee.hku.hk, leo%hkueee.hku.hk@FORSYTHE.STANFORD.EDU () writes:
>franklin@gator.sps.mot.com writes:
>->
>->>I have down loaded IV 3.1 from sgi.com.  Could not compile on SUN4 !! I may b
>e
>->missing
>->>
>->>something or doing something wrong.
>->>
>->>Has any one been able to compile 3.1 on SUN4?  Like to hear from you.
>->>
>->>Thanks
>->>
>->>prasady@hou.amoco.com
>->
>->I can get everything to build except ibuild, iclass and idemo.
>->Platform: Sparc II
>->OS:       Sun)S 4.1.2
>->Compiler: Sun C++ 2.0FCS/4.0 (09/29/89)
>->
>->**************************** This is what happens ****************************
>**
>->**
>    [Error messages deleted]
>
>->Any help would be appreciated
>->
>->--Malcolm
>->
>->
>->--
>->------------------------------------------------------------------------------
>--
>->Malcolm L. Franklin                email:   Malcolm_Franklin@chdasic.sps.mot.c
>om
>->Motorola ASIC CAD                  Phone:   (602) 821-4371
>->CAE Systems                        Fax:     (602) 821-4963
>->------------------------------------------------------------------------------
>--
>->
>Our platform configuration:
>Sparc 2, SunOS 4.1.1, AT&T Cfront 3.0.1, IV 3.1
>
>We encountered similar problems in compiling iclass.c when lots of errors
>appeared complaining the header file iv/src/include/IV-2_6/InterViews/box.h.
>
>The words "major" and "minor" seem to be the culprits.  After changing these
>words to others, the compilation proceeds.  Here is what we have done to box.h
>
>$ diff box.h box.h.orig
>53c53
><     virtual void GetActual(int& major_int, int& minor_int);
>---
>>     virtual void GetActual(int& major, int& minor);
>57c57
><       Interactor*, Coord major_int, int len, int thick, int minor_int
>---
>>       Interactor*, Coord major, int len, int thick, int minor
>89c89
><     void GetActual(int& major_int, int& minor_int);
>---
>>     void GetActual(int& major, int& minor);
>115c115
><     void GetActual(int& major_int, int& minor_int);
>---
>>     void GetActual(int& major, int& minor);
>
>BTW, could any C/C++ guru be kind enough to let me know whether "major" and
>"minor" are undocumented reserved words.
>
>leo@hkueee.hku.hk
>Leo Chow
>Dept of Electrical and Electronic Engg
>University of Hong Kong


There is one more problem !!! I get the following errors compiling IV-3.1 on SUN4

with AT&T 2.0 CC  :

CC  ../import.c:
"../import.c", line 99: error: bad argument  1 type for fopen(): const char * ( char * expected)
"../import.c", line 186: error: two initializers for ivCommand
"../import.c", line 186: warning:  ed not used
"../import.c", line 292: error: bad argument  1 type for fopen(): const char * ( char * expected)
"../import.c", line 327: error: bad argument  1 type for fopen(): const char * ( char * expected)
"../import.c", line 376: error: bad argument  1 type for fopen(): const char * ( char * expected)
5 errors
cc   -c -I/sysprod2/lang/CC/sun4/incl -I../../../.././src/include  -PIC
*** Error code 1
make: Warning: Target `all' not remade because of errors
Current working directory ........./iv3.1/iv/src/lib/Unidraw/SUN4


Appreciate any help.  Thanks so far !


prasady@hou.amoco.com
Technical Details
Message-ID: <1992Dec16.144908.4554@hou.amoco.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!noc.msc.net!uc.msc.edu!apctrc!wsc!palsun18!zpvy0a
References: <9212161929.AA20677@hkueee.hku.hk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!noc.msc.net!uc.msc.edu!apctrc!wsc!palsun18!zpvy0a
From: zpvy0a@hou.amoco.com (Yalamanchi Prasad)
Subject: Re: Re: 3.1 is now available
Message-ID: <1992Dec16.144908.4554@hou.amoco.com>
Sender: news@hou.amoco.com
Reply-To: zpvy0a@hou.amoco.com
Organization: Amoco
References: <9212161929.AA20677@hkueee.hku.hk>
Date: Wed, 16 Dec 1992 14:49:08 GMT
Lines: 99