[xorg-bugzilla-noise] [Bug 1020] New: Build failure in libSM on AIX
(missing function declaration)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 9 09:49:03 PDT 2004
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=1020
Summary: Build failure in libSM on AIX (missing function
declaration)
Product: xorg
Version: CVS_head
Platform: All
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: Lib/other
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: mcnichol at austin.ibm.com
Here is the compiler message:
xlc -c -O -D__STR31__ -DNDEBUG -I../.. -I../../exports/include -
DSYSV -DAIXV3 -DAIXV4 -DAIXV5 -D_ALL_SOURCE -I../../lib/xtrans -
DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6 -DICE_t -
DSHAREDCODE -bM\:SRE sm_manager.c
"sm_manager.c", line 174.12: 1506-068 (S) Operation between types "char*"
and "int" is not allowed.
make: The error code from the last command is 1.
Here is a possible patch:
*** xc/lib/SM/sm_manager.c.orig Mon May 24 14:06:58 2004
--- xc/lib/SM/sm_manager.c Mon Aug 9 10:26:29 2004
***************
*** 164,178 ****
}
char *
SmsClientHostName (smsConn)
SmsConn smsConn;
{
! return (_IceTransGetPeerNetworkId (smsConn->iceConn->trans_conn));
}
--- 164,181 ----
}
+ /* Using private API from libICE. */
+ extern char *_IceGetPeerName (IceConn /* iceConn */);
+
char *
SmsClientHostName (smsConn)
SmsConn smsConn;
{
! return (_IceGetPeerName (smsConn->iceConn));
}
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list