[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile 1.5.2 problems on cygwin

From: Neil Jerram
Subject: Re: guile 1.5.2 problems on cygwin
Date: 05 Oct 2001 19:51:24 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Gerrit" == Gerrit P Haase <address@hidden> writes:

    Gerrit> Hi, I wanted to build guile on cygwin.  I had some
    Gerrit> problems with this.  First: ====== After compiling
    Gerrit> successful, i got problems with regex: A guile script from
    Gerrit> lilypond causes this error.  $ ./as2text
    Gerrit> /usr/share/guile/1.5.2/ice-9/getopt-long.scm:252:32: In
    Gerrit> procedure scm_allocate_string in expression (make-regexp
    Gerrit> "^-([a-zA-Z]+)(.*)"):
    Gerrit> /usr/share/guile/1.5.2/ice-9/getopt-long.scm:252:32:
    Gerrit> Argument 1 out of range: 168560832

Can you debug this a bit more using gdb?  168560832 is A0C08C0 in hex,
which looks rather like a flags field, so perhaps scm_make_regexp is
somehow mixing up its variables?

    Gerrit> Second: ======= I tried 1.4 and also 1.5.2 from a recent
    Gerrit> snapshot.  There are some defines in 1.5.2 (not in 1.4)
    Gerrit> which are for mingw32 but they don't fit for cygwin.

    Gerrit> In particular: ============== #ifdef HAVE_WINSOCK2_H

The existing occurrences of HAVE_WINSOCK2_H in the source look rather
messy, so I think it's worth understanding the problem a bit further.
Given that you do have winsock2 on your system, why does including it
cause problems?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]