[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] error during make on AIX 4.3.3
- To: coldsync-hackers at lusars dot net
- Subject: Re: [coldsync-hackers] error during make on AIX 4.3.3
- From: Andrew Arensburger <arensb+CShackers at ooblick dot com>
- Date: Sat, 14 Dec 2002 00:39:45 -0500
- In-reply-to: <20021213001654.GB10806@dana.p90.net>; from s@p90.net on Thu, Dec 12, 2002 at 04:16:55PM -0800
- References: <20021212090234.GB12574@dana.p90.net> <20021212093548.A60065@baa.ooblick.com> <20021213001654.GB10806@dana.p90.net>
- Reply-to: coldsync-hackers at lusars dot net
- Resent-date: Wed, 22 Jan 2003 20:44:26 -0800
- Resent-from: jferg at newshell dot lusars.net
- Resent-message-id: <200301230444.h0N4iQ8Q031572@shell.lusars.net>
- Resent-to: coldsync-hackers-archive at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
- User-agent: Mutt/1.2.5.1i
On Thu, Dec 12, 2002 at 04:16:55PM -0800, Steve Scotten wrote:
> On Thu, Dec 12, 2002 at 09:35:48AM -0500, Andrew Arensburger wrote:
> > The problem here is that one of ColdSync's header files
> > ("config.h") has:
> >
> > #define _XOPEN_SOURCE_EXTENDED
> >
> > whereas /usr/include/standards.h evidently has
> >
> > #define _XOPEN_SOURCE_EXTENDED <something>
> >
> > If you could take a look there and let us know what the <something>
> > is, that would help.
>
> Just FYI, with gmake I get a warning about _XOPEN_SOURCE_EXTENDED but
> the process continues on.
>
> Just to be safe, I'll include the entire standards.h file below my
> sig. You can see from there whatever you need to know, and I'll be
> glad to provide any other information I can.
Judging by the 'make' output that you sent me in private mail,
this was the root of the problem. The fix is to apply the patch given
below (I'm about to commit this to the CVS tree).
Or, if you want to do things by hand, edit "config.h.in", and
change
#define _XOPEN_SOURCE_EXTENDED
to
#define _XOPEN_SOURCE_EXTENDED 1
If this works, you'll be able to move on to bigger and better problems.
> Next to see if it runs and then work on configuring and so on. I'll
> let you know if there's any weirdness (hahaha "if".... I crack myself
> up.... this *is* AIX, after all)
The best piece of advice I've been given about AIX is that you
should rid yourself of the notion that it's Unix. Just accept that
it's an extraterrestrial OS that just happens to support POSIX.
--
Andrew Arensburger This message *does* represent the
arensb@ooblick.com views of ooblick.com
Circular logic is self-validating. Therefore, it is correct.
diff -u -r1.44 config.h.in
--- config.h.in 23 Nov 2002 16:33:17 -0000 1.44
+++ config.h.in 14 Dec 2002 05:35:38 -0000
@@ -351,7 +351,7 @@
#ifndef _XOPEN_SOURCE_EXTENDED
/* Provides declaration for lstat() under DU, and strdup() under
Linux */
-# define _XOPEN_SOURCE_EXTENDED
+# define _XOPEN_SOURCE_EXTENDED 1
#endif /* _XOPEN_SOURCE_EXTENDED */
#if __GNUC__
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.