This is the mail archive of the
cygwin
mailing list for the Cygwin project.
compilation error
- From: Zoltan Kota <s dot mako at gmx dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 12 Jun 2004 11:20:18 +0200 (CEST)
- Subject: compilation error
Hi,
I would like to compile a python module under cygwin.
It fails with the following error:
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-DG_LOG_DOMAIN="BibTeX" -I/opt/gnome2/include/glib-2.0
-I/opt/gnome2/lib/glib-2.0/include -I/usr/include/python2.3 -c
bibtexmodule.c -o build/temp.cygwin-1.5.10-i686-2.3/bibtexmodule.o
bibtexmodule.c:63: error: initializer element is not constant
bibtexmodule.c:63: error: (near initialization for
`PyBibtexSource_Type.ob_type')
bibtexmodule.c:85: error: initializer element is not constant
bibtexmodule.c:85: error: (near initialization for
`PyBibtexField_Type.ob_type')
error: command 'gcc' failed with exit status 1
I have found a lot of hits by google on 'initializer element is not
constant', but I totally confused what to do with this.
I have a very fresh cygwin installation with gcc 3.3.1.
Any help are appreciated.
Thanks
Zoltan
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/