Bug 18492 - `_SC_GETPW_R_SIZE_MAX' undeclared (first use in this function)
Summary: `_SC_GETPW_R_SIZE_MAX' undeclared (first use in this function)
Status: CLOSED WONTFIX
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: 1.2.x
Hardware: PowerPC Mac OS X (All)
: medium normal
Assignee: Havoc Pennington
QA Contact: John (J5) Palmieri
URL: http://trac.macports.org/ticket/17198
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-11 17:36 UTC by Ryan Schmidt
Modified: 2010-12-30 05:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ryan Schmidt 2008-11-11 17:36:18 UTC
dbus 1.2.4 doesn't seem to want to compile on Mac OS X 10.3.9 Panther (PowerPC). Here's what happens:

 /usr/bin/gcc-3.3 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\"/mp/var/lib/dbus/machine-id\" -DDBUS_SYSTEM_CONFIG_FILE=\"/mp/etc/dbus-1/system.conf\" -DDBUS_SESSION_CONFIG_FILE=\"/mp/etc/dbus-1/session.conf\" -I/mp/include -O2 -no-cpp-precomp -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -fno-common -MT dbus-sysdeps-unix.lo -MD -MP -MF .deps/dbus-sysdeps-unix.Tpo -c dbus-sysdeps-unix.c  -fno-common -DPIC -o .libs/dbus-sysdeps-unix.o
dbus-sysdeps-unix.c: In function `fill_user_info':
dbus-sysdeps-unix.c:1494: error: `_SC_GETPW_R_SIZE_MAX' undeclared (first use in this function)
dbus-sysdeps-unix.c:1494: error: (Each undeclared identifier is reported only once
dbus-sysdeps-unix.c:1494: error: for each function it appears in.)
make[3]: *** [dbus-sysdeps-unix.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

It compiles fine on Mac OS X 10.4.11 Tiger (PowerPC). Anything I can do to make it work on Panther?
Comment 1 Thiago Macieira 2008-11-11 23:39:08 UTC
Build a universal package on Tiger with the 10.3 SDK, then deploy on Panther.

But we should verify if we can do without this constant.

Why was this bug assigned to me?
Comment 2 Ryan Schmidt 2008-11-12 00:12:04 UTC
(In reply to comment #1)
> Build a universal package on Tiger with the 10.3 SDK, then deploy on Panther.

Building on Tiger with the 10.3 SDK is no different than building on Panther; it fails with the same error message.

> Why was this bug assigned to me?

I didn't do it on purpose; the bug tracker did so automatically.
Comment 3 Mike McQuaid 2010-12-30 03:21:47 UTC
Panther is very old now, I think this can be closed.
Comment 4 Ralf Habacker 2010-12-30 05:01:25 UTC
closed because outdated


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.