insight/360: Build under solaris 10 sparc

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

insight/360: Build under solaris 10 sparc

syseng

>Number:         360
>Category:       insight
>Synopsis:       Build under solaris 10 sparc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 04 15:53:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Chris Quayle
>Release:        6.8-1
>Organization:
>Environment:
Solaris 10 Sparc
>Description:
Perhaps more of a report, rather than a serous bug...

Building insight 6.8-1, with gmake, gcc, etc, Get several warnings about a #pragma ident, which are ignored and the build continues, until we get to:

In file included from /usr/local/src/Insight-6.8.1/insight-6.8-1/tk/generic/tk.h:96,
                 from /usr/local/src/Insight-6.8.1/insight-6.8-1/itcl/itk/generic/itk.h:61,
                 from .././gdb/gdbtk/generic/gdbtk.c:46:
/usr/openwin/include/X11/Xlib.h:39: warning: ignoring #pragma ident
gmake[2]: *** [gdbtk.o] Error 1
gmake[1]: *** [all-gdb] Error 2
gmake: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/src/Insight-6.8.1/insight-6.8-1/gdb'
gmake[1]: Leaving directory `/usr/local/src/Insight-6.8.1/insight-6.8-1'

which is just like the earlier #pragma ident warnings, but the build halts. Tracked down to a line in /usr/openwin/X11/Xlib.h:

#pragma ident "@(#)Xlib.h 1.12 04/07/14 SMI".

Temporarily commented out, the build completes fine and insight installs without a problem. I wonder if there is a more tidy solution ?. Since the earlier similar warnings didn't halt the build, it looks like a configure / makefile issue, but I don't have enough osf makefile knowledge to attempt a more tidy fix.

Other than that, everything looks good and many thanks to all those who have worked hard on this  project. Still need 6.1 for angel support, but this version will be used to talk to openocd via the local network...

Regards,

Chris


 
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: