Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: cpan module installation in strawberry perl

by syphilis (Archbishop)
on Oct 12, 2016 at 17:22 UTC ( [id://1173869]=note: print w/replies, xml ) Need Help??


in reply to Re: cpan module installation in strawberry perl
in thread cpan module installation in strawberry perl

dmake.exe: Error code 129, while making 'Curve25519.o'

The problem lies with the symbol "OUT".
Consider this C program:
#include <windows.h> int main(void) { int OUT = 7; return 0; }
If you attempt to compile that program on Windows, you get:
try.c: In function 'main': try.c:4:10: error: expected identifier or '(' before '=' token int OUT = 7; ^
I think that's a pretty good indication that OUT is a special symbol on Windows.
The program builds fine if windows.h is not included but, of course, windows.h is included for the xs file.

Simplest solution would be to replace the symbol "OUT" with something that's not going to clash.
(I'll add that to the bug report unless someone else beats me to it.)

Cheers,
Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1173869]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found