----- Original Message ----- From: "Fabio D'Alfonso"

So I am moving the stuff to integrate with my activestate 5.14.2. The problem I have is that for a module UUID there is no version for windows starting from late 5.8 (and i is not a trouble free module).

I see that my MinGW port of gcc-4.5.2 (which can easily be used with ActivePerl) contains a 'libuuid.a'.
There's no uuid/uuid.h, but basetyps.h defines uuid_t to UUID.

This gave me some hope that UUID-0.02 could be built on Windows by simply replacing (in UUID.xs)
#include <uuid/uuid.h>
with
#include <basetyps.h>
but, alas, having done that I'm getting hammered during 'dmake' with:

###############################
UUID.xs: In function 'do_generate':
UUID.xs:17:2: error: incompatible type for argument 3 of 'Perl_sv_setpvn'
C:\MinGW\perl\lib\CORE/proto.h:3988:20: note: expected 'const char * const' but
argument is of type 'UUID'
UUID.xs: In function 'do_parse':
UUID.xs:37:8: error: incompatible type for argument 3 of 'Perl_sv_setpvn'
C:\MinGW\perl\lib\CORE/proto.h:3988:20: note: expected 'const char * const' but
argument is of type 'UUID'
dmake:  Error code 129, while making 'UUID.o'
###############################

In addition, there's no 'uuid_generate' function to be found in any of the MinGW headers or libraries, afaict. (Do you mean that this module did actually build on native Windows at some stage ?)

Btw, there's no problem with UUID-0.02 on Cygwin - if that's an option for you.

Cheers,
Rob

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to