Re: [GnomeMeeting-devel-list] win32 build issues



thomas schorpp wrote:
> Julien PUYDT wrote:
> 
>>thomas schorpp wrote:
>>
>>
>>>meanwhile i tried win32 build in the background, didnt work out:
>>>
> 
> 
>>There should be a patch for vfw.cxx somewhere, which fixes those errors.
> 
> 
> no, vfw.h problem. mingw32 installation was too old. use at least 
> 
> ii  mingw32         3.4.4.20050522. Minimalist GNU win32 (cross) compiler
> 
> 
>>Snark
>>
>>
> 
> 
> tom

after editing the makefile for libxml2-2.6.22 theres a separator needed or make call fails*:

### libiconv
src/libiconv-$(LIBICONVVER)-bin.zip: binaries
	(cd src;wget -nv -N http://ovh.dl.sourceforge.net/gnuwin32/libiconv-$(LIBICONVVER)-bin.zip)
	touch $@
src/libiconv-$(LIBICONVVER)-lib.zip: binaries
	(cd src;wget -nv -N http://ovh.dl.sourceforge.net/gnuwin32/libiconv-$(LIBICONVVER)-lib.zip)
	touch $@

lib/libiconv.a: binaries src/libiconv-$(LIBICONVVER)-bin.zip src/libiconv-$(LIBICONVVER)-lib.zip 
	unzip -u src/libiconv-$(LIBICONVVER)-bin.zip
	unzip -u src/libiconv-$(LIBICONVVER)-lib.zip
	sed -i -e 's#^libdir=.*$$#libdir=$(BUILDROOT)/lib#g' -e 's#\ <-----------------*
$$##' lib/libiconv*.la lib/libcharset.la
	touch $@

BTW:

someone who managed to cross-build should say his environment.

with python2.3 headers:

make[4]: Entering directory `/home/schorpp/src/gmcvs_win32/build/libxml2-2.6.22/python'
if /bin/sh ../libtool --mode=compile --tag=CC i586-mingw32msvc-cc -mms-bitfields -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.3 -I../include -I../include -I../python  -DWIN32  -I/home/schorpp/src/gmcvs_win32/build/include -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT libxml.lo -MD -MP -MF ".deps/libxml.Tpo" -c -o libxml.lo libxml.c; \
then mv -f ".deps/libxml.Tpo" ".deps/libxml.Plo"; else rm -f ".deps/libxml.Tpo"; exit 1; fi
 i586-mingw32msvc-cc -mms-bitfields -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.3 -I../include -I../include -I../python -DWIN32 -I/home/schorpp/src/gmcvs_win32/build/include -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT libxml.lo -MD -MP -MF .deps/libxml.Tpo -c libxml.c  -DDLL_EXPORT -DPIC -o .libs/libxml.o
cc1: warning: -Wuninitialized is not supported without -O
In file included from /usr/include/python2.3/Python.h:48,
                 from libxml.c:14:
/usr/include/python2.3/pyport.h:118:24: sys/select.h: No such file or directory <------------------
In file included from /usr/include/python2.3/Python.h:75,
                 from libxml.c:14:
/usr/include/python2.3/intobject.h:41: warning: ISO C90 does not support `long long'
In file included from /usr/include/python2.3/Python.h:77,
                 from libxml.c:14:
/usr/include/python2.3/longobject.h:37: warning: ISO C90 does not support `long long'
/usr/include/python2.3/longobject.h:38: warning: ISO C90 does not support `long long'
/usr/include/python2.3/longobject.h:39: warning: ISO C90 does not support `long long'
/usr/include/python2.3/longobject.h:40: warning: ISO C90 does not support `long long'
/usr/include/python2.3/longobject.h:41: warning: ISO C90 does not support `long long'
/usr/include/python2.3/longobject.h:64: warning: redundant redeclaration of '_PyLong_NumBits'
/usr/include/python2.3/longobject.h:56: warning: previous declaration of '_PyLong_NumBits' was here
In file included from /usr/include/python2.3/Python.h:114,
                 from libxml.c:14:
/usr/include/python2.3/abstract.h:286: warning: redundant redeclaration of 'PyCallable_Check'
/usr/include/python2.3/object.h:395: warning: previous declaration of 'PyCallable_Check' was here
libxml.c:1743: warning: unused parameter 'severity'
libxml.c:1770: warning: unused parameter 'severity'
libxml.c:2670: warning: no previous prototype for 'libxml_xmlNodeRemoveNsDef'
make[4]: *** [libxml.lo] Error 1
make[4]: Leaving directory `/home/schorpp/src/gmcvs_win32/build/libxml2-2.6.22/python'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/schorpp/src/gmcvs_win32/build/libxml2-2.6.22/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/schorpp/src/gmcvs_win32/build/libxml2-2.6.22'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/schorpp/src/gmcvs_win32/build/libxml2-2.6.22'
make: *** [lib/libxml2.a] Error 2
schorpp tom1:~/src/gmcvs_win32/build$

same with libxml ...23

commenting out (/usr/include/python2.3/pyport.h:118:24:) #include <sys/select.h> does not help,
linker fails with hundreds of unreferenced symbols, then or anyway.

using 2.4 python headers compile fails long before on winsocket WSA undeclared types.

on which environment did you build the win32 snapshot?

cant get it on debian sarge...(partially etch-sid).

thx
y
tom









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