| www.delorie.com/archives/browse.cgi | search |
| 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" <gerrit DOT haase AT t-online DOT de> |
| Organization: | Esse keine toten Tiere |
| To: | chang_shen AT att DOT net |
| Date: | Sun, 29 Apr 2001 13:01:12 +0200 |
| MIME-Version: | 1.0 |
| Subject: | Re: help: Glib under Cygwin |
| Reply-to: | gerrit DOT haase AT t-online DOT de |
| CC: | cygwin AT cygwin DOT com |
| Message-ID: | <3AEC1098.24710.8F091B57@localhost> |
| In-reply-to: | <20010406142434.NSCV1582.mtiwmhc28.worldnet.att.net@webmail.worldnet.att.net> |
| X-mailer: | Pegasus Mail for Win32 (v3.12cDE) |
| X-Hops: | 1 |
| X-Sender: | 320081107336-0001 AT t-dialin DOT net |
chang_shen AT att DOT net schrieb am 2001-04-06, 14:24:
> Hi, all:
> I am not sure Cygwin supports glib or not. I try to
> compile glib under cygwin (glib is needed for many many
> gnu tools). Below is what I got from configure and make
> log file. I also tried to change g_strsignal() as
> follows, but failed to compile.
>
> Any help is appreciated.
>
> const gchar* g_strsignal(int sig){
> extern const char* strsignal(int signum);
> return strsignal(sig);
> }
I have build glib without big problems.
I commented this passage out, and it works...
Maybe, it looks a little different in the newer versions,
but commenting out is not the worst solution.
diff -ur glib-1.2.8/gstrfuncs.c glib-1.2.8-patched/gstrfuncs.c
--- glib-1.2.8/gstrfuncs.c Mon Apr 17 17:05:16 2000
+++ glib-1.2.8-patched/gstrfuncs.c Sun Apr 29 12:52:02 2001
@@ -671,8 +671,8 @@
char *msg;
#ifdef HAVE_STRSIGNAL
- extern char *strsignal (int sig);
- return strsignal (signum);
+ /* extern char *strsignal (int sig);
+ return strsignal (signum);*/
#elif NO_SYS_SIGLIST
switch (signum)
{
gph
--
=^..^= gerrit DOT haase AT t-online DOT de
PGP-Key: 0x28A05137 [875C 745E 01CF 8A34 2767 BE39 305E 5261 28A0 5137]
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |