Re: Glib-Object-Introspection on Windows

2015-05-17 Thread Torsten Schoenfeld
On 17.05.2015 15:34, Daniel Kasak wrote:
 dlltool --def Introspection.def --output-exp dll.exp
 [ LD blib\arch\auto\Glib\Object\Introspection\Introspection.xs.dll ]
 GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x4a80): undefined 
 referenc
 e to `SvGVariant'
 GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x6bed): undefined 
 referenc
 e to `newSVGVariant_noinc'
 GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x70d1): undefined 
 referenc
 e to `newSVGVariant'

Sounds like I forgot to add the GVariant converters to the win32 linker
export list.  Try with this commit:
https://git.gnome.org/browse/perl-Glib/commit/?id=f4d391727c0ad56a31b5fab916691960deed36b9.
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list


Re: Glib-Object-Introspection on Windows

2015-05-17 Thread Daniel Kasak
Thanks a LOT for the quick response Torsten. My Windows VM is sitting
@ home, waiting for me to try out your patch. I tried connecting from
work, but my connection isn't fast enough to make it feasible :/

Dan

On Mon, May 18, 2015 at 3:56 AM, Torsten Schoenfeld kaffeeti...@gmx.de wrote:
 On 17.05.2015 15:34, Daniel Kasak wrote:
 dlltool --def Introspection.def --output-exp dll.exp
 [ LD blib\arch\auto\Glib\Object\Introspection\Introspection.xs.dll ]
 GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x4a80): undefined 
 referenc
 e to `SvGVariant'
 GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x6bed): undefined 
 referenc
 e to `newSVGVariant_noinc'
 GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x70d1): undefined 
 referenc
 e to `newSVGVariant'

 Sounds like I forgot to add the GVariant converters to the win32 linker
 export list.  Try with this commit:
 https://git.gnome.org/browse/perl-Glib/commit/?id=f4d391727c0ad56a31b5fab916691960deed36b9.
 ___
 gtk-perl-list mailing list
 gtk-perl-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtk-perl-list
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list


Glib-Object-Introspection on Windows

2015-05-17 Thread Daniel Kasak
Hi all.

I'm trying to build GIO-0.029 on Windows. I've previously been able to
build version 0.025 like this from a cmd.exe shell:

set CC=gcc
set GI_TYPELIB_PATH=c:\jewelkit\c\lib\girepository-1.0
Makefile.PL
dmake
dmake test
dmake install

With version 0.029, I get:

C:\gtk3_build\source\Glib-Object-Introspection-0.029dmake
cp lib/Glib/Object/Introspection.pm blib\lib\Glib\Object/Introspection.pm
cp build/IFiles.pm blib\arch/Glib\Object\Introspection/Install/Files.pm
Running Mkbootstrap for Glib::Object::Introspection ()
C:\jewelkit\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Introspecti
on.bs
[ XS GObjectIntrospection.xs ]
[ CC GObjectIntrospection.c ]
C:\jewelkit\perl\bin\perl.exe -MExtUtils::Mksymlists \
 -e Mksymlists('NAME'=\Glib::Object::Introspection\, 'DLBASE' = 'Intros
pection', 'DL_FUNCS' = {  }, 'FUNCLIST' = [], 'IMPORTS' = {  }, 'DL_VARS' =
[]);
dlltool --def Introspection.def --output-exp dll.exp
[ LD blib\arch\auto\Glib\Object\Introspection\Introspection.xs.dll ]
GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x4a80): undefined referenc
e to `SvGVariant'
GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x6bed): undefined referenc
e to `newSVGVariant_noinc'
GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x70d1): undefined referenc
e to `newSVGVariant'
C:/jewelkit/c/bin/../lib/gcc/i686-w64-mingw32/4.8.3/../../../../i686-w64-mingw32
/bin/ld.exe: GObjectIntrospection.o: bad reloc address 0x124 in section `.rdata'

collect2.exe: error: ld returned 1 exit status
dmake:  Error code 129, while making 'blib\arch\auto\Glib\Object\Introspection\I
ntrospection.xs.dll'

C:\gtk3_build\source\Glib-Object-Introspection-0.029

Does anyone know what the problem is?

It's taken over a day to get to this point ... and there's a new
Windows release coming very soon after this is fixed ... :)

Dan
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list