Problem porting X application from IRIX 5.3 to IRIX 6.4

Problem porting X application from IRIX 5.3 to IRIX 6.4

Post by Bill Fros » Sat, 04 Oct 1997 04:00:00



In porting C code containing the statement:

                if (!XStoreColor (......

the IRIX 6.4 cc compiler generates the error message:

        .... error(1041): expression must have arithmetic or pointer
type

The following difference was noted in the /usr/include/X11/Xlib.h file:

                v 5.3: external XStoreColor ( ......

                v 6.4: external void XStoreColor ( .......

Does this indicate a change in the X library?

 
 
 

Problem porting X application from IRIX 5.3 to IRIX 6.4

Post by Reto Korad » Tue, 07 Oct 1997 04:00:00



> The following difference was noted in the /usr/include/X11/Xlib.h file:

>                 v 5.3: external XStoreColor ( ......

>                 v 6.4: external void XStoreColor ( .......

> Does this indicate a change in the X library?

Even according to a very old Xlib book, XStoreColor never returned
a value. Like many other functions, it was just carelessly defined in
the older header files, and now they cleaned it up.
--


 
 
 

1. IrisGL problem: IRIX 5.3 --> IRIX 6.2

I have a number of interactive graphics applications that were
programmed for IrisGL from 1990 to 1993. I do not have the resources at
present to port them to OpenGL and these programs are still very
useful. One application is in Fortran; all the others in C. They are
currently running on my SGI Indigo^2 running IRIX 5.3. I had no
problems in going from IRIX 4.something to IRIX 5.0. However, I cannot
find the appropriate libraries for linking when I compile in IRIX 6.2.
The 5.3 binaries DO NOT RUN on 6.2

I use: -lgl_s -lm -lfm_s
under 5.3 without problems. Using 6.2, I get error messages that gl_s
and fm_s do not exist. I cannot find equivalent libraries.

Please note that I am not a professional programmer although I have
some programming skills. Any help would be greatly appreciated.

Michael Zuker -------------------------------
Institute for Biomedical Computing --------- ,__o
Washington University in St. Louis -------  -\_<,

http://www.ibc.wustl.edu/~zuker/.cgi -------------

2. REQ: 3DMax Models Help

3. glPixelZoom problem on Irix 6.4

4. Finding patterns.........WHERE ????

5. Irix 5.3 DISPLAY Problem

6. Applescripting an action to happen.

7. Problem with mpeg-player on IRIX 5.3

8. animation on mac II

9. Galileo Installation Problem under IRIX 5.3

10. IRIX 5.3 on an Impact -- X Windows problems

11. problem with movieplayer (IRIX 5.3)

12. Autocad Release 13 Display Problems/Irix 5.3/Sgi Indy

13. Problem with OpenInventor, IRIX 5.3 and personal iris.