Ask a Question related to Sun Solaris, Design and Development.
-
Markus Breuer #1
BuildEnvironment trouble after applying SUN-Patch
Since applying on of suns latests os-patches we got many trouble with
our build-platform. Sun replaced the name of on internal structure. In
sight of a developer this change is okay, the modifications are
transparent. But as result the c++ compiler now generates other
symbolnames, so we cannot create patches for our software. INstead of
this we have to build the whole software packet. This is an problem,
when supporting older software...
The patch changes this file:
9,10c9,10> diff types.h /usr/include/sys/types.h
< * Copyright (c) 1996-2001 by Sun Microsystems, Inc.
< * All rights reserved.
---rights reserved.> * Copyright 1996-2002 by Sun Microsystems, Inc. All16c16> * Use is subject to license terms.
< #pragma ident "@(#)types.h 1.67 01/07/07 SMI"
---397c397> #pragma ident "@(#)types.h 1.68 02/06/10 SMI"
< typedef struct {
---404c404> typedef struct _pthread_attr {
< typedef struct {
---411c411> typedef struct _pthread_mutexattr {
< typedef struct {
---418c418> typedef struct _pthread_condattr {
< typedef struct {
---426c426> typedef struct _once {
< typedef struct {
---In short words: sun replaced a real structure by a typedef to another> typedef struct _pthread_rwlockattr {
structure. e.g.: struct Foo {} <==> typedef struct Other { ... } Foo;
Some of our third-party libraries use c++ templates like
template<class T>
class Foo {};
with T = Foo (struct Foo)
This leads us to a number of questions to be prepared of future problems:
* Why were these changes made?
* Is Sun aware of this problem?
* Is there a possible workaround or what actions does Sun suggest to
take care of such problems? What procedere does Sun suggest regarding
administration of a build system in respect to this problem and similar
problems that might occure in general?
* Is this a "happened once" case or should we be prepared
that such changed can happen again?
* Is it possibe to correctly and easily identify patches that
could be harmfull?
regards, markus
Markus Breuer Guest
-
Applying Patch
Today I applied patches to update ColdFusion 7 to version 7.02. After restarting the services the ColdFusion sites run. However, I can no longer... -
After applying patch still can't make scaleTo work!
:frown; I take user names from database query and corresponding numbers. I want to output user names by vertical, so I use "horizontalbar" in... -
GPO not applying!
I don't know what is going on! I have configured the Active Directory perfectly. Now all the problem is that the GPO's are not applying. The clients... -
Diff file trouble applying?
I've got a diff file that I think is a patch for a bunch of file in a directory. How do I apply this file? I thought it was #patch... -
VisualAge 6 installation trouble on aix 5.2, gcc trouble too :)
I've installed gcc 3.x from UCLA site. and I got this error - In file included from test.c:23: /usr/include/pthread.h:554: error: parse error...



Reply With Quote

