[Bug 22968] New: weird build error on macosx 10.4.11 (darwin 8)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 27 20:00:48 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=22968

           Summary: weird build error on macosx 10.4.11 (darwin 8)
           Product: Telepathy
           Version: unspecified
          Platform: PowerPC
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: jackfink at users.sourceforge.net


libtool: compile:  /sw/bin/gcc-4 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
-I/sw/include -Wall -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -Os -c gibber-tcp-transport.c -o
gibber-tcp-transport.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC   --mode=compile /sw/bin/gcc-4 -std=gnu99
-DHAVE_CONFIG_H -I. -I../..   -I/sw/include -Wall -Wdeclaration-after-statement
-Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -Os -c -o
gibber-unix-transport.lo gibber-unix-transport.c
libtool: compile:  /sw/bin/gcc-4 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
-I/sw/include -Wall -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -Os -c gibber-unix-transport.c  -fno-common -DPIC -o
.libs/gibber-unix-transport.o
gibber-unix-transport.c: In function 'gibber_unix_transport_send_credentials':
gibber-unix-transport.c:207: error: invalid application of 'sizeof' to
incomplete type 'struct ucred'
gibber-unix-transport.c:225: error: invalid application of 'sizeof' to
incomplete type 'struct ucred'
gibber-unix-transport.c:227: error: 'SCM_CREDENTIALS' undeclared (first use in
this function)
gibber-unix-transport.c:227: error: (Each undeclared identifier is reported
only once
gibber-unix-transport.c:227: error: for each function it appears in.)
gibber-unix-transport.c:230: error: dereferencing pointer to incomplete type
gibber-unix-transport.c:231: error: dereferencing pointer to incomplete type
gibber-unix-transport.c:232: error: dereferencing pointer to incomplete type
gibber-unix-transport.c: In function 'gibber_unix_transport_read':
gibber-unix-transport.c:259: error: invalid application of 'sizeof' to
incomplete type 'struct ucred'
gibber-unix-transport.c:272: error: 'SO_PASSCRED' undeclared (first use in this
function)
gibber-unix-transport.c:329: error: dereferencing pointer to incomplete type
gibber-unix-transport.c:330: error: dereferencing pointer to incomplete type
gibber-unix-transport.c:331: error: dereferencing pointer to incomplete type
make[4]: *** [gibber-unix-transport.lo] Error 1


it's gcc4.3, but the same occurs with 4.0.1.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list