delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/07/10:05:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Can't compile glib with cygwin: Error 139 in make
From: Andres Moya <Andres DOT Moya AT hispalinux DOT es>
To: cygwin AT cygwin DOT com
Organization: Hispalinux
Message-Id: <1044630329.2659.131.camel@cebollino.micasa.es>
Mime-Version: 1.0
Date: 07 Feb 2003 16:05:29 +0100

--=-wxvymVo9yfvJZSwmaF8N
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello.

I'm trying to compile glib 2.2.0 or 2.2.1 in Cygwin, and had some
problems. The last one is one that I cannot handle :-P

1) At first place, the compiler complained about not finding
libkernel32.a and libuser32.a. I fixed it by declaring the environment
variable LDFLAGS=-L/lib/w32api

2) Then, it gave an error in module "glib" about an undefined reference
to _WinMain AT 16. The Cygwin FAQ tells to try adding an empty main()
function. I added it to some source file of glib, and apparently worked.

Is there any other way to solve these two by changing Cygwin settings,
and without affecting glib?

3) In module gobject, the make stops with a strange error. Here is the
extracted output:

-----------------------------------------------------------------------
Making all in gobject
make[2]: Entering directory `/home/andres/glib-2.2.0-linux/gobject'

[...some stuff...]

creating glib-genmarshal.exe
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
&& ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal
./gmarshal.list --header >> xgen-gmh \
&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
&& (cmp -s xgen-gmh ./gmarshal.h || cp xgen-gmh ./gmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gmarshal.h
make[2]: *** [stamp-gmarshal.h] Error 139
make[2]: Leaving directory `/home/andres/glib-2.2.0-linux/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andres/glib-2.2.0-linux'
make: *** [all-recursive-am] Error 2
-----------------------------------------------------------------------


The Error 139 is caused by the executable ./glib-genmarshal doing a core
dump (I have executed it by hand, and also does the core dump).

Actually, glib-genmarshal is a generated script, that in turn executes
./.libs/lt-glib-genmarshal.exe.exe (with two ".exe") :-?. This
executable has been compiled from the source by the same makefile.

What can I do to continue investigating?

I attach the output of cygcheck -s -v -r. I'm executing Windows XP
inside a vmware box, on Linux Mandrake 9.0.

-- 
Andres Moya <Andres DOT Moya AT hispalinux DOT es>
Hispalinux

--=-wxvymVo9yfvJZSwmaF8N
Content-Disposition: attachment; filename=cygcheck.out
Content-Type: text/plain; name=cygcheck.out; charset=us-ascii
Content-Transfer-Encoding: quoted-printable


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Feb 07 15:02:23 2003

Windows XP Professional Ver 5.1 Build 2600=20

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	c:\WINDOWS\system32
	c:\WINDOWS
	c:\WINDOWS\System32\Wbem
	c:\Archivos de programa\Microsoft SQL Server\80\Tools\Binn\
	c:\archivos de programa\python21
	c:\Archiv~1\MySQL\bin

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME =3D `C:\cygwin\home\andres'
MAKE_MODE =3D `unix'
PWD =3D `/home/andres/glib-2.2.1'
USER =3D `andres'

ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users'
APPDATA =3D `C:\Documents and Settings\andres\Datos de programa'
CLIENTNAME =3D `Console'
COMMONPROGRAMFILES =3D `C:\Archivos de programa\Archivos comunes'
COMPUTERNAME =3D `TOCINO'
COMSPEC =3D `C:\WINDOWS\system32\cmd.exe'
HOMEDRIVE =3D `C:'
HOMEPATH =3D `\Documents and Settings\andres'
LDFLAGS =3D `-L/lib/w32api'
LOGONSERVER =3D `\\TOCINO'
NUMBER_OF_PROCESSORS =3D `1'
OLDPWD =3D `/home/andres/glib-2.2.1/glib'
OS =3D `Windows_NT'
PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE =3D `x86'
PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 4 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL =3D `6'
PROCESSOR_REVISION =3D `0402'
PROGRAMFILES =3D `C:\Archivos de programa'
PROMPT =3D `$P$G'
PS1 =3D `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SESSIONNAME =3D `Console'
SHLVL =3D `1'
SYSTEMDRIVE =3D `C:'
SYSTEMROOT =3D `C:\WINDOWS'
TEMP =3D `c:\DOCUME~1\andres\CONFIG~1\Temp'
TERM =3D `cygwin'
TMP =3D `c:\DOCUME~1\andres\CONFIG~1\Temp'
USERDOMAIN =3D `TOCINO'
USERNAME =3D `andres'
USERPROFILE =3D `C:\Documents and Settings\andres'
WINDIR =3D `C:\WINDOWS'
_ =3D `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) =3D `/cygdrive'
  cygdrive flags =3D 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) =3D `C:\cygwin'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) =3D `C:\cygwin/bin'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) =3D `C:\cygwin/lib'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                   =20
c:  hd  NTFS    4988Mb  76% CP CS UN PA FC    =20
d:  cd           N/A    N/A                   =20
e:  cd  CDFS     753Mb 100%    CS UN           BACKUP DOCS
x:  net FAT     7711Mb  90% CP    UN          =20
y:  net NTFS    7798Mb  94%          PA        ???
z:  net NTFS    7798Mb  94%          PA        ???

C:\cygwin      /          system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  user    binmode,cygdrive

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

   58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygbz2-1.dll" v0.0 ts=3D2002/5/7 8:33
    6k 2002/06/24 C:\cygwin\bin\cygcharset-1.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygcharset-1.dll" v0.0 ts=3D2002/6/24 20:23
  136k 2002/10/17 C:\cygwin\bin\cygexpat-0.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygexpat-0.dll" v0.0 ts=3D2002/10/17 17:21
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform5.dll" v0.0 ts=3D2001/4/25 7:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform6.dll" v0.0 ts=3D2002/1/9 7:03
   19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyggdbm.dll" v0.0 ts=3D2002/2/20 4:05
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cyghistory4.dll" v0.0 ts=3D2001/1/7 5:34
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cyghistory5.dll" v0.0 ts=3D2002/10/10 19:28
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygiconv-2.dll" v0.0 ts=3D2002/6/24 20:24
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=3D4.0 img=3D1.0 sys=3D4.=
0
                  "cygintl-1.dll" v0.0 ts=3D2001/12/13 10:28
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=3D4.0 img=3D1.0 sys=3D4.=
0
                  "cygintl-2.dll" v0.0 ts=3D2002/9/20 5:13
   32k 2003/01/04 C:\cygwin\bin\cygltdl-3.dll - os=3D4.0 img=3D1.0 sys=3D4.=
0
                  "cygltdl-3.dll" v0.0 ts=3D2003/1/4 8:47
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu5.dll" v0.0 ts=3D2001/4/25 7:27
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu6.dll" v0.0 ts=3D2002/1/9 7:03
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses++5.dll" v0.0 ts=3D2001/4/25 7:29
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses++6.dll" v0.0 ts=3D2002/1/9 7:03
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cygncurses5.dll" v0.0 ts=3D2001/4/25 7:17
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cygncurses6.dll" v0.0 ts=3D2002/1/9 7:03
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=3D4.0 img=3D1.0 sys=3D4.=
0
                  "cygpanel5.dll" v0.0 ts=3D2001/4/25 7:27
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=3D4.0 img=3D1.0 sys=3D4.=
0
                  "cygpanel6.dll" v0.0 ts=3D2002/1/9 7:03
   40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpcre.dll" v0.0 ts=3D2001/11/21 23:15
   39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygpcreposix.dll" v0.0 ts=3D2001/11/21 23:15
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygreadline4.dll" v0.0 ts=3D2001/1/7 5:34
  127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygreadline5.dll" v0.0 ts=3D2002/10/10 19:28
  633k 2002/07/22 C:\cygwin\bin\cygxml2-2.dll - os=3D4.0 img=3D1.0 sys=3D4.=
0
                  "cygxml2-2.dll" v0.0 ts=3D2002/7/22 8:29
   50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygz.dll" v0.0 ts=3D2002/3/12 5:38
  885k 2003/01/24 C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygwin1.dll" v0.0 ts=3D2003/1/24 3:31
    Cygwin DLL version info:
        DLL version: 1.3.19
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 71
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:=20
        Build date: Thu Jan 23 21:31:48 EST 2003
        CVS tag: cygwin-1-3-19-1
        Shared id: cygwin1S3

  653k 1998/10/30 c:\Archiv~1\MySQL\bin\cygwinb19.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygwinb19.dll" v0.0 ts=3D1998/7/15 19:50

Cygwin Package Information
Last downloaded files to: c:\temp\cygwin
Last downloaded files from: ftp://ftp.rediris.es/mirror/cygwin

Package             Version            =20
_update-info-dir    00130-1            =20
ash                 20020731-1         =20
autoconf            2.54-1             =20
autoconf-devel      2.57-1             =20
autoconf-stable     2.13-4             =20
automake            1.7.1-1            =20
automake-devel      1.7.2-1            =20
automake-stable     1.4p5-5            =20
base-files          1.1-1              =20
base-passwd         1.0-1              =20
bash                2.05b-8            =20
binutils            20021117-1         =20
bzip2               1.0.2-2            =20
cygwin              1.3.19-1           =20
diff                1.0-1              =20
diffutils           2.8.1-1            =20
expat               1.95.5-1           =20
file                3.37-1             =20
fileutils           4.1-1              =20
findutils           4.1.7-4            =20
gawk                3.1.1-5            =20
gcc                 3.2-3              =20
gcc-mingw           20020817-5         =20
gdbm                1.8.0-4            =20
gettext             0.11.5-1           =20
gettext-devel       0.11.5-1           =20
grep                2.5-1              =20
gzip                1.3.3-4            =20
less                378-1              =20
libbz2_1            1.0.2-2            =20
libcharset1         1.8-2              =20
libiconv            1.8-2              =20
libiconv2           1.8-2              =20
libintl1            0.10.40-1          =20
libintl2            0.11.5-1           =20
libltdl3            20030103-1         =20
libncurses5         5.2-1              =20
libncurses6         5.2-8              =20
libreadline4        4.1-2              =20
libreadline5        4.3-2              =20
libtool             20020705-1         =20
libtool-devel       20030103-1         =20
libtool-stable      1.4.3-1            =20
libxml2             2.4.23-1           =20
login               1.7-1              =20
m4                  1.4-1              =20
make                3.79.1-7           =20
mingw-runtime       2.3-1              =20
mktemp              1.4-1              =20
ncurses             5.2-8              =20
pcre                3.7-1              =20
perl                5.6.1-2            =20
pkgconfig           0.14.0-1           =20
readline            4.3-2              =20
sed                 4.0.5-1            =20
sh-utils            2.0.15-3           =20
tar                 1.13.25-1          =20
termcap             20020930-1         =20
terminfo            5.2-3              =20
texinfo             4.2-4              =20
textutils           2.0.21-1           =20
vim                 6.1-2              =20
w32api              2.1-1              =20
which               1.5-1              =20
zlib                1.1.4-1            =20

Use -h to see help about each section


--=-wxvymVo9yfvJZSwmaF8N
Content-Type: text/plain; charset=us-ascii

--
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/
--=-wxvymVo9yfvJZSwmaF8N--

- Raw text -


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