[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] CS3 and FreeBSD 5.X
- To: coldsync-hackers at lusars dot net
- Subject: Re: [coldsync-hackers] CS3 and FreeBSD 5.X
- From: Tuc at Beach House <tuc at tucs-beachin-obx-house dot com>
- Date: Thu, 8 Apr 2004 23:24:04 -0400 (EDT)
- In-reply-to: <20040409030147.GE20122@carrot.ooblick.com> from "Andrew Arensburger" at Apr 08, 2004 11:01:47 PM
- Reply-to: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
>
> On Thu, Apr 08, 2004 at 10:40:58PM -0400, Tuc at Beach House wrote:
> > > On Thu, Apr 08, 2004 at 10:00:12AM -0400, Tuc at Beach House wrote:
> > > > I've tried both the beta 4, and tried to try the CVS (Theres no
> > > > ./configure) and it won't compile :
> > >
> > > You need to first create the 'configure' script by running
> > > 'autoconf'.
> > >
> > Thanks...
> >
> > Ran 2.5.7, but still get :
> >
> > gcc -Wall -ansi -pedantic -g -O2 -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c PConnection_serial.c
> > PConnection_serial.c: In function `serial_accept':
> > PConnection_serial.c:402: warning: implicit declaration of function `usleep'
>
> This doesn't make sense. It looks as if you have a bogus
> config.h or something.
>
How can it be bogus?
>
> usleep() is in <unistd.h> under 4.8. Have they moved it in
> 5.0? That seems unlikely.
>
himinbjorg# grep -i usleep `locate unistd.h`
/usr/include/unistd.h:int usleep(useconds_t);
/usr/obj/usr/src/i386/usr/include/unistd.h:int usleep(useconds_t);
/usr/src/contrib/libstdc++/include/c_shadow/unistd.h: using _C_legacy::usleep;
/usr/src/include/unistd.h:int usleep(useconds_t);
>
> Or are you perhaps defining _POSIX_SOURCE or
> something weird?
>
Not on purpose!
himinbjorg# cd coldsync-3.0-pre4
himinbjorg# grep POSIX_SOURCE *
configure:# example, in the case of _POSIX_SOURCE, which is predefined and required
himinbjorg# grep POSIX_SOURCE */*
autom4te.cache/output.0:# example, in the case of _POSIX_SOURCE, which is predefined and required
himinbjorg# grep POSIX_SOURCE */*/*
himinbjorg# grep POSIX_SOURCE */*/*/*
himinbjorg# grep POSIX_SOURCE */*/*/*/*
himinbjorg# grep POSIX_SOURCE */*/*/*/*/*
>
> The other errors you're getting look similar, so I suspect
> that if you fix this, the others will go away as well.
>
So what else can I do to fix this... (Oh, I'm no programmer, not by
a long shot).
Tuc
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.