Thread Parrot::Interpreter Win32 ActivePerl 5.8.8 (7 answers)
Opened by MatthiasW at 2008-09-22 19:31

MatthiasW
 2008-10-01 14:43
#115063 #115063
User since
2008-01-27
367 Artikel
BenutzerIn
[default_avatar]
@murphy, Danke, das ret_true() Beispiel hat super funktioniert!

Bei Parrot::Embed bekomme ich beim kompilieren der Embed.c sehr viele warning: ... redefined und warning: this is the location of the previous definition Warnungen.
Ich habs trotzdem mal mit libparrot.lib, perl58.lib und ws2_32.lib zusammengelinkt.
Anscheinend fehlt in der Embed.dll nachdem linken immer boot_Parrot__Embed, sodass ich es nicht verwenden kann. Ich denke das hängt mit den Warnungen beim kompilieren zusammen, vielleicht kann mir da ja noch jemand bei helfen.

Hier die gcc-Ausgabe:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
C:\parrot-0.7.1\ext\Parrot-Embed>gcc -IC:\Perl\lib\CORE -IC:\parrot-0.7.1\include -c Embed.c
In file included from C:/Perl/lib/CORE/perl.h:38,
from Embed.xs:6:
C:/Perl/lib/CORE/config.h:3810:1: warning: "_" redefined
In file included from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/parrot.h:260:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32.h:64:1: warning: "CONTEXT" redefined
In file included from C:/parrot-0.7.1/include/parrot/global_setup.h:18,
from C:/parrot-0.7.1/include/parrot/parrot.h:275,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/interpreter.h:279:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32.h:237:1: warning: "isnan" redefined
In file included from config/gen/platform/generic/math.h:14,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h:380:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:17:1: warning: "MUTEX_INIT" redefined
In file included from config/gen/platform/win32/threads.h:9,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thr_windows.h:32:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:20:1: warning: "MUTEX_DESTROY" redefined
In file included from config/gen/platform/win32/threads.h:9,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thr_windows.h:33:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:55:1: warning: "COND_INIT" redefined
In file included from config/gen/platform/win32/threads.h:9,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thr_windows.h:35:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:63:1: warning: "COND_SIGNAL" redefined
In file included from config/gen/platform/win32/threads.h:9,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thr_windows.h:75:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:70:1: warning: "COND_BROADCAST" redefined
In file included from config/gen/platform/win32/threads.h:9,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thr_windows.h:81:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:77:1: warning: "COND_WAIT" redefined
In file included from config/gen/platform/win32/threads.h:9,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thr_windows.h:46:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:91:1: warning: "COND_DESTROY" redefined
In file included from config/gen/platform/win32/threads.h:9,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thr_windows.h:41:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:98:1: warning: "DETACH" redefined
In file included from config/gen/platform/win32/threads.h:9,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thr_windows.h:94:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:195:1: warning: "JOIN" redefined
In file included from config/gen/platform/win32/threads.h:9,
from C:/parrot-0.7.1/include/parrot/parrot.h:273,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thr_windows.h:87:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:2611,
from Embed.xs:6:
C:/Perl/lib/CORE/win32thread.h:204:1: warning: "YIELD" redefined
In file included from C:/parrot-0.7.1/include/parrot/pmc.h:18,
from C:/parrot-0.7.1/include/parrot/parrot.h:296,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/thread.h:65:1: warning: this is the location of the previous definition
In file included from Embed.xs:6:
C:/Perl/lib/CORE/perl.h:2990:1: warning: "__attribute__malloc__" redefined
In file included from C:/parrot-0.7.1/include/parrot/register.h:17,
from C:/parrot-0.7.1/include/parrot/interpreter.h:140,
from C:/parrot-0.7.1/include/parrot/global_setup.h:18,
from C:/parrot-0.7.1/include/parrot/parrot.h:275,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/compiler.h:81:1: warning: this is the location of the previous definition
In file included from Embed.xs:6:
C:/Perl/lib/CORE/perl.h:2993:1: warning: "__attribute__nonnull__" redefined
In file included from C:/parrot-0.7.1/include/parrot/register.h:17,
from C:/parrot-0.7.1/include/parrot/interpreter.h:140,
from C:/parrot-0.7.1/include/parrot/global_setup.h:18,
from C:/parrot-0.7.1/include/parrot/parrot.h:275,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/compiler.h:84:1: warning: this is the location of the previous definition
In file included from Embed.xs:6:
C:/Perl/lib/CORE/perl.h:2996:1: warning: "__attribute__noreturn__" redefined
In file included from C:/parrot-0.7.1/include/parrot/register.h:17,
from C:/parrot-0.7.1/include/parrot/interpreter.h:140,
from C:/parrot-0.7.1/include/parrot/global_setup.h:18,
from C:/parrot-0.7.1/include/parrot/parrot.h:275,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/compiler.h:87:1: warning: this is the location of the previous definition
In file included from Embed.xs:6:
C:/Perl/lib/CORE/perl.h:2999:1: warning: "__attribute__pure__" redefined
In file included from C:/parrot-0.7.1/include/parrot/register.h:17,
from C:/parrot-0.7.1/include/parrot/interpreter.h:140,
from C:/parrot-0.7.1/include/parrot/global_setup.h:18,
from C:/parrot-0.7.1/include/parrot/parrot.h:275,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/compiler.h:93:1: warning: this is the location of the previous definition
In file included from Embed.xs:6:
C:/Perl/lib/CORE/perl.h:3002:1: warning: "__attribute__unused__" redefined
In file included from C:/parrot-0.7.1/include/parrot/register.h:17,
from C:/parrot-0.7.1/include/parrot/interpreter.h:140,
from C:/parrot-0.7.1/include/parrot/global_setup.h:18,
from C:/parrot-0.7.1/include/parrot/parrot.h:275,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/compiler.h:96:1: warning: this is the location of the previous definition
In file included from Embed.xs:6:
C:/Perl/lib/CORE/perl.h:3005:1: warning: "__attribute__warn_unused_result__" redefined
In file included from C:/parrot-0.7.1/include/parrot/register.h:17,
from C:/parrot-0.7.1/include/parrot/interpreter.h:140,
from C:/parrot-0.7.1/include/parrot/global_setup.h:18,
from C:/parrot-0.7.1/include/parrot/parrot.h:275,
from Embed.xs:2:
C:/parrot-0.7.1/include/parrot/compiler.h:99:1: warning: this is the location of the previous definition

MfG
perl -E'*==*",s;;%ENV=~m,..$,,$&+42;e,$==f;$"++for+ab..an;@"=qw,u t,,print+chr;sub f{split}say"@{=} me"'

View full thread Parrot::Interpreter Win32 ActivePerl 5.8.8