delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/10/03:32:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
To: "Joshua" <happycloud AT undream DOT com>
Date: Wed, 10 Oct 2001 09:30:31 +0200
MIME-Version: 1.0
Subject: Re: compile php 4.05 or 4.06 module?
Reply-to: cygwin AT cygwin DOT com
CC: cygwin AT cygwin DOT com
Message-ID: <3BC41537.30039.31C00C67@localhost>
In-reply-to: <GJEHLFJEMNLAKEBLCEHACEGCCAAA.happycloud@undream.com>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001 AT t-dialin DOT net

Joshua schrieb am 2001-10-09, 20:01:

>Great! That took care of that part. Now on to the next :)
>
>I get 'undefined reference to errno' in:

Look for a header which is included by all the ffected files
or put an include in every of them, s.th. like this:
/*==================*/
#ifdef __CYGWIN__
#include <errno.h>
#endif

And if you have problems with h_errno do that:
==============================================
#ifndef __CYGWIN__
extern int h_errno
#endif

or so:
=====
#ifdef  __CYGWIN__
extern __declspec(dllimport) int h_errno;
#else
extern int h_errno;
#endif /* __CYGWIN__ */

>ext/mysql/libmysql/my_error.c
>ext/mysql/libmysql/my_malloc.c
>ext/mysql/libmysql/my_lib.c
>ext/mysql/libmysql/my_once.c
>
>Thanks!
>
>I just can't wait to see what's after that :)
>
>Joshua
>
>
>
>in reply to...
>
>for UNARY;
>http://www.cygwin.com/ml/cygwin/
>search w/ 'php unary'
>look at stripes msg (the maintainer)
>http://sources.redhat.com/ml/cygwin/2001-06/msg01107.html
>quick n dirty fix
>http://sources.redhat.com/ml/cygwin/2001-09/msg00038.html
>what we are looking for..
>http://sources.redhat.com/ml/cygwin/2001-09/msg00008.html
>
>for BUF;
>i went through my sources of php 4.0.6 i forget what i did,
>but here is the diff of filestat that i changed;
><snip>
>$ find /usr/src/php-4.0.6 | grep filestat
>/usr/src/php-4.0.6/ext/standard/filestat.c
>/usr/src/php-4.0.6/ext/standard/php_filestat.h
>/usr/src/php-4.0.6/ext/standard/filestat.o
>/usr/src/php-4.0.6/ext/standard/filestat.c~
>/usr/src/php-4.0.6/ext/standard/filestat.lo
>
>swan AT BRONCO /usr/src/php-4.0.6
>$ diff /usr/src/php-4.0.6/ext/standard/filestat.c~
>/usr/src/php-4.0.6/ext/standard/filestat.c
>41a42,45
>> #if defined(__CYGWIN__)
>> #include <sys/vfs.h>
>> #else
>>
>47a52,53
>> #endif
>>
></snip>
>
>----- Original Message -----
>From: "Joshua" <happycloud AT undream DOT com>
>To: <cygwin AT cygwin DOT com>
>Sent: Wednesday, October 10, 2001 9:28 AM
>Subject: compile php 4.05 or 4.06 module?
>
>
>> Has anyone compiled the php 4.06 module succesfully? If yes, can you share
>> how you did that seemingly incredible feat?
>>
>> When I did, I encountered make errors about unary stuff in datetime.c
>which
>> I fixed only to encounter another error about 'buf' not having a size or
>> something in line 15t of filestat.c. I have no idea how to fix that.
>Anyone?
>>
>> Thanks
>>
>> Joshua
>>
>>
>> --
>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>> Bug reporting:         http://cygwin.com/bugs.html
>> Documentation:         http://cygwin.com/docs.html
>> FAQ:                   http://cygwin.com/faq/
>>
>>
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>
>



-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019