/usr/include/sys/cg2reg.h and Solaris 7?

/usr/include/sys/cg2reg.h and Solaris 7?

Post by Chin Fa » Mon, 25 Oct 1999 04:00:00



I was trying to build X11R6.4 on a Solaris 7 box (5/99 with most
recommended patches).  The make world went on fine until it was
trying to build the server:

sunCfb.c:304: sys/cg2reg.h: No such file or directory
*** Error code 1

I checked the pkginfo output, and indeed there is nothing related
to cg2, only cg6:

system      SUNWcg6        GX (cg6) Device Driver
system      SUNWcg6h       GX (cg6) Header Files

Even most of our Sun boxes have been running Solaris 7 for a while,
we still have a couple boxes running Solaris 2.6, so I got on one,
looked into /usr/include/sys, and found a copy of cg2reg.h. I made
a copy of it back to the build machine and finished the build.

Interestingly, on the Solaris 2.6 box that I got the file from,
I saw nothing related to cg2 either. pkginfo output is almost
identical to the build box running Solaris 7.

I am curious whether anyone knows that is it true that in Solaris 7,
the /usr/include/sys/cg2reg.h is no longer available?

Regards,

Chin Fang

 
 
 

/usr/include/sys/cg2reg.h and Solaris 7?

Post by Casper H.S. Dik - Network Security Engine » Mon, 25 Oct 1999 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>I was trying to build X11R6.4 on a Solaris 7 box (5/99 with most
>recommended patches).  The make world went on fine until it was
>trying to build the server:
>sunCfb.c:304: sys/cg2reg.h: No such file or directory
>*** Error code 1

Those frambuffers are no longer supported in Solaris 7 so the
includes re gone.  You'll need to disable building support for thse
adaptors in X11R6 or copy them from an older release.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

1. /usr/include vs /usr/include/sys

Hi,

I'm wondering why some header files are found in both /usr/include and
/usr/include/sys.  I get the feeling that the include files in the
/sys directory are more platform specific, is this correct?  For
example on AIX /usr/include/time.h specifies the nanosleep() function
as defined by POSIX, but /usr/include/sys/time.h doesn't (it does
however have an nsleep() function).  What gives?

Thanks.

2. Consultants wanted...

3. gettimeofday prototype in /usr/include/sys/time.h on Solaris 2.4

4. LINUX/NT connectivity

5. Solaris 2.5: Missing /usr/include/sys/fbio.h ??

6. Word Perfect 8 seems slow

7. One more time: /usr/include/linux, /usr/include/asm

8. weird error message

9. Help - clashes between /usr/include and /usr/include/linux

10. /usr/include/string.h and /usr/include/strings.h

11. Help - clashes between /usr/include and /usr/include/linux

12. Can't compile minicom (/usr/include/sys missing *.h files)

13. Problem with System Header "/usr/include/sys/stat.h"