Re: Linking problem when compiling under MinGW



Ratcliffe, Jeffrey (Peters) kirjoitti:
I've got Glib-1.140, Cairo-1.01, and Gtk2-1.140 compiled with
MinGW. I had to do some tricks:

I can't even get this far.

dmake was complaining with Glib-1.140 that it couldn't find closing
"'" until I removed them all (and then where necessary escaped the "
that were enclosed).

Are you surely using latest dmake.exe in cmd.exe? (sounds a bit like my
problems which I had when I used ming32-make...)


I then had to remove the copyright notice making build/podindex
because otherwise the line was too long.

Now I get:

C:\Perl\bin\perl.exe -I blib\lib -I blib\arch -MGlib::GenPod -MGlib
-e "add_types (\"doctypes\");  $Glib::GenPod::MAIN_MOD=\"Glib\";
xsdoc2pod(\"build/doc.pl\", \"blib\lib\", \"build/podindex\");" 
loaded 8 extra types from doctypes Magic number checking on storable
file failed at ..\..\lib\Storable.pm (autosplit into
..\..\lib\auto\Storable\fd_retrieve.al) line 349, at build/doc.pl
line 22

Compilation failed in require at blib\lib/Glib/GenPod.pm line 217. 
dmake.exe:  Error code 9, while making 'build/podindex'

I've got ActivePerl 5.8.8.819.

My Perl is compiled with MinGW (that was easy) and the same dmake.exe
(and C compiler) that I use for the modules. I'm not sure which make and
compiler ActiveState uses. Are you stuck with ActivePerl?

Ari


Any ideas?

Jeff


-- 
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka / Geoinformation and positioning
Teknillinen Korkeakoulu / Helsinki University of Technology
tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma



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