[ create a new paste ] login | about

Link: http://codepad.org/NSv7ZCHk    [ raw code | fork ]

Plain Text, pasted on Aug 5:
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
lj_opt_narrow.c(353) : warning C4244: 'initializing' : conversion from 'const unsigned __int32 ' to 'unsigned __int16 ',
 possible loss of data
lj_opt_narrow.c(428) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible
loss of data
lj_opt_narrow.c(437) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible
loss of data
lj_opt_split.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_opt_split.c(169) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(170) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(176) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(176) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(179) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(179) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(194) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(194) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(223) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(224) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(226) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(241) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(386) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(392) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(420) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(431) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(431) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(446) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(457) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(474) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(474) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(479) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(526) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(527) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(527) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(582) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(586) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(586) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(586) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(591) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(591) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(597) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(601) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(601) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(601) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(621) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(621) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(621) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(625) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(629) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(641) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_parse.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_parse.c(159) : error C2485: 'noinline' : unrecognized extended attribute
lj_parse.c(164) : error C2485: 'noinline' : unrecognized extended attribute
lj_parse.c(1080) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible loss of data

lj_parse.c(1186) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible loss of data

lj_parse.c(1233) : error C2485: 'noinline' : unrecognized extended attribute
lj_record.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_snap.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_state.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_str.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_str.c(33) : warning C4013: '_byteswap_ulong' undefined; assuming extern returning int
lj_tab.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
Generating Code...
Compiling...
lj_trace.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_trace.c(386) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of data

lj_udata.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_vmevent.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_vmmath.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_aux.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_base.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_bit.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_debug.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_ffi.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_cdata.h(47) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of data
lj_cdata.h(56) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of data
lib_init.c
lib_io.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_jit.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_math.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_math.c(112) : error C2485: 'noinline' : unrecognized extended attribute
lib_os.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_package.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_string.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_table.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
Generating Code...

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>link /nologo /DLL /out:lua51.dll lj_*.obj lib_*.obj
   Creating library lua51.lib and object lua51.exp
lib_package.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_string.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_table.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_aux.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_jit.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_os.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_carith.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_cconv.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_lib.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_str.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_tab.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_ctype.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_meta.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_state.obj : error LNK2001: unresolved external symbol _lj_err_msg
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_argt
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_argt
lib_jit.obj : error LNK2001: unresolved external symbol _lj_err_argt
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_argt
lj_carith.obj : error LNK2001: unresolved external symbol _lj_err_argt
lj_lib.obj : error LNK2001: unresolved external symbol _lj_err_argt
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_argt
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_arg
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_arg
lib_string.obj : error LNK2001: unresolved external symbol _lj_err_arg
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_arg
lj_lib.obj : error LNK2001: unresolved external symbol _lj_err_arg
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_arg
lib_debug.obj : error LNK2001: unresolved external symbol _lj_err_arg
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_argv
lj_cconv.obj : error LNK2001: unresolved external symbol _lj_err_argv
lj_lib.obj : error LNK2001: unresolved external symbol _lj_err_argv
lj_api.obj : error LNK2001: unresolved external symbol __BitScanReverse
lj_crecord.obj : error LNK2001: unresolved external symbol __BitScanReverse
lj_opt_fold.obj : error LNK2001: unresolved external symbol __BitScanReverse
lj_tab.obj : error LNK2001: unresolved external symbol __BitScanReverse
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_argtype
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_argtype
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_argtype
lib_package.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_string.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_table.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_jit.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_os.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_dispatch.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_aux.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_debug.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_ccall.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_cconv.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_cdata.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_str
lj_state.obj : error LNK2001: unresolved external symbol _lj_err_str
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_str
lj_api.obj : error LNK2001: unresolved external symbol _lj_lex_cleanup
lj_api.obj : error LNK2001: unresolved external symbol _lj_parse
lj_api.obj : error LNK2001: unresolved external symbol _lj_bcread
lj_api.obj : error LNK2001: unresolved external symbol _lj_lex_setup
lj_api.obj : error LNK2001: unresolved external symbol _lj_bcwrite
lib_string.obj : error LNK2001: unresolved external symbol _lj_bcwrite
lj_crecord.obj : error LNK2001: unresolved external symbol _lj_cparse
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_cparse
lj_state.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_trace.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_vm.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lib_ffi.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_ffrecord.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_gc.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_opt_loop.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_opt_split.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_gc.obj : error LNK2001: unresolved external symbol _lj_err_mem
lj_ir.obj : error LNK2001: unresolved external symbol @lj_math_random_step@4
lj_meta.obj : error LNK2001: unresolved external symbol _lj_err_optype
lj_meta.obj : error LNK2001: unresolved external symbol _lj_err_comp
lj_meta.obj : error LNK2001: unresolved external symbol _lj_err_optype_call
lj_opt_fold.obj : error LNK2001: unresolved external symbol __byteswap_ulong
lj_str.obj : error LNK2001: unresolved external symbol __byteswap_ulong
lj_opt_fold.obj : error LNK2001: unresolved external symbol __byteswap_uint64
lj_state.obj : error LNK2001: unresolved external symbol _lj_lex_init
lj_state.obj : error LNK2001: unresolved external symbol _lj_alloc_destroy
lj_state.obj : error LNK2001: unresolved external symbol _lj_alloc_f
lib_aux.obj : error LNK2001: unresolved external symbol _lj_alloc_f
lj_trace.obj : error LNK2001: unresolved external symbol _lj_asm_trace
lj_trace.obj : error LNK2001: unresolved external symbol _lj_asm_patchexit
lib_aux.obj : error LNK2001: unresolved external symbol _lj_alloc_create
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_callermsg
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_callermsg
lib_base.obj : error LNK2001: unresolved external symbol _lua_error
lib_base.obj : error LNK2001: unresolved external symbol _luaL_where
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_run
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_clib_index
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_clib_unload
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_clib_load
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_clib_default
lib_init.obj : error LNK2001: unresolved external symbol _luaopen_math
lib_io.obj : error LNK2001: unresolved external symbol _luaL_argerror
lib_string.obj : error LNK2001: unresolved external symbol _luaL_argerror
lib_jit.obj : error LNK2001: unresolved external symbol _luaL_error
lib_package.obj : error LNK2001: unresolved external symbol _luaL_error
lua51.dll : fatal error LNK1120: 40 unresolved externals

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>if exist lua51.dll.manifest mt /nologo -manifest lua51.dll.manifest -outp
utresource:lua51.dll;2

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>cl /nologo /c /MD /O2 /W3 /D_CRT_SECURE_NO_DEPRECATE luajit.c
luajit.c

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>link /nologo /out:luajit.exe luajit.obj lua51.lib
luajit.obj : error LNK2001: unresolved external symbol _lua_error
luajit.obj : error LNK2001: unresolved external symbol _luaL_where
luajit.exe : fatal error LNK1120: 2 unresolved externals

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>if exist luajit.exe.manifest mt /nologo -manifest luajit.exe.manifest -ou
tputresource:luajit.exe

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>del *.obj *.manifest buildvm.exe

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>lj_opt_narrow.c(353) : warning C4244: 'initializing' : conversion from 'const unsigned __int32 ' to 'unsigned __int16 ',
 possible loss of data
lj_opt_narrow.c(428) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible
loss of data
lj_opt_narrow.c(437) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible
loss of data
lj_opt_split.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_opt_split.c(169) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(170) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(176) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(176) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(179) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(179) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(194) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(194) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(223) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(224) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(226) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(241) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(386) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(392) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(420) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(431) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(431) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(446) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(457) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(474) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(474) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(479) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(526) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(527) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(527) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(582) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(586) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(586) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(586) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(591) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(591) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(597) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(601) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(601) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(601) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(621) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(621) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(621) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(625) : warning C4244: 'function' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible l
oss of data
lj_opt_split.c(629) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_opt_split.c(641) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of
data
lj_parse.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_parse.c(159) : error C2485: 'noinline' : unrecognized extended attribute
lj_parse.c(164) : error C2485: 'noinline' : unrecognized extended attribute
lj_parse.c(1080) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible loss of data

lj_parse.c(1186) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int8 ', possible loss of data

lj_parse.c(1233) : error C2485: 'noinline' : unrecognized extended attribute
lj_record.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_snap.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_state.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_str.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_str.c(33) : warning C4013: '_byteswap_ulong' undefined; assuming extern returning int
lj_tab.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
Generating Code...
Compiling...
lj_trace.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_trace.c(386) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of data

lj_udata.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_vmevent.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_vmmath.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_aux.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_base.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_bit.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_debug.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_ffi.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lj_cdata.h(47) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of data
lj_cdata.h(56) : warning C4244: '=' : conversion from 'unsigned __int32 ' to 'unsigned __int16 ', possible loss of data
lib_init.c
lib_io.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_jit.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_math.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_math.c(112) : error C2485: 'noinline' : unrecognized extended attribute
lib_os.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_package.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_string.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
lib_table.c
lj_def.h(236) : warning C4013: '_BitScanForward' undefined; assuming extern returning int
lj_def.h(241) : warning C4013: '_BitScanReverse' undefined; assuming extern returning int
Generating Code...

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>link /nologo /DLL /out:lua51.dll lj_*.obj lib_*.obj
   Creating library lua51.lib and object lua51.exp
lib_package.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_string.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_table.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_aux.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_jit.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lib_os.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_carith.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_cconv.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_lib.obj : error LNK2001: unresolved external symbol _lj_err_callerv
lj_str.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_tab.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_ctype.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_meta.obj : error LNK2001: unresolved external symbol _lj_err_msg
lj_state.obj : error LNK2001: unresolved external symbol _lj_err_msg
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_argt
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_argt
lib_jit.obj : error LNK2001: unresolved external symbol _lj_err_argt
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_argt
lj_carith.obj : error LNK2001: unresolved external symbol _lj_err_argt
lj_lib.obj : error LNK2001: unresolved external symbol _lj_err_argt
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_argt
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_arg
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_arg
lib_string.obj : error LNK2001: unresolved external symbol _lj_err_arg
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_arg
lj_lib.obj : error LNK2001: unresolved external symbol _lj_err_arg
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_arg
lib_debug.obj : error LNK2001: unresolved external symbol _lj_err_arg
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_argv
lj_cconv.obj : error LNK2001: unresolved external symbol _lj_err_argv
lj_lib.obj : error LNK2001: unresolved external symbol _lj_err_argv
lj_api.obj : error LNK2001: unresolved external symbol __BitScanReverse
lj_crecord.obj : error LNK2001: unresolved external symbol __BitScanReverse
lj_opt_fold.obj : error LNK2001: unresolved external symbol __BitScanReverse
lj_tab.obj : error LNK2001: unresolved external symbol __BitScanReverse
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_argtype
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_argtype
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_argtype
lib_package.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_string.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_table.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_jit.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_os.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_dispatch.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_aux.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_caller
lib_debug.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_ccall.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_cconv.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_cdata.obj : error LNK2001: unresolved external symbol _lj_err_caller
lj_api.obj : error LNK2001: unresolved external symbol _lj_err_str
lj_state.obj : error LNK2001: unresolved external symbol _lj_err_str
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_str
lj_api.obj : error LNK2001: unresolved external symbol _lj_lex_cleanup
lj_api.obj : error LNK2001: unresolved external symbol _lj_parse
lj_api.obj : error LNK2001: unresolved external symbol _lj_bcread
lj_api.obj : error LNK2001: unresolved external symbol _lj_lex_setup
lj_api.obj : error LNK2001: unresolved external symbol _lj_bcwrite
lib_string.obj : error LNK2001: unresolved external symbol _lj_bcwrite
lj_crecord.obj : error LNK2001: unresolved external symbol _lj_cparse
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_cparse
lj_state.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_trace.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_vm.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lib_ffi.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_ffrecord.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_gc.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_opt_loop.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_opt_split.obj : error LNK2001: unresolved external symbol @lj_err_throw@8
lj_gc.obj : error LNK2001: unresolved external symbol _lj_err_mem
lj_ir.obj : error LNK2001: unresolved external symbol @lj_math_random_step@4
lj_meta.obj : error LNK2001: unresolved external symbol _lj_err_optype
lj_meta.obj : error LNK2001: unresolved external symbol _lj_err_comp
lj_meta.obj : error LNK2001: unresolved external symbol _lj_err_optype_call
lj_opt_fold.obj : error LNK2001: unresolved external symbol __byteswap_ulong
lj_str.obj : error LNK2001: unresolved external symbol __byteswap_ulong
lj_opt_fold.obj : error LNK2001: unresolved external symbol __byteswap_uint64
lj_state.obj : error LNK2001: unresolved external symbol _lj_lex_init
lj_state.obj : error LNK2001: unresolved external symbol _lj_alloc_destroy
lj_state.obj : error LNK2001: unresolved external symbol _lj_alloc_f
lib_aux.obj : error LNK2001: unresolved external symbol _lj_alloc_f
lj_trace.obj : error LNK2001: unresolved external symbol _lj_asm_trace
lj_trace.obj : error LNK2001: unresolved external symbol _lj_asm_patchexit
lib_aux.obj : error LNK2001: unresolved external symbol _lj_alloc_create
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_callermsg
lib_io.obj : error LNK2001: unresolved external symbol _lj_err_callermsg
lib_base.obj : error LNK2001: unresolved external symbol _lua_error
lib_base.obj : error LNK2001: unresolved external symbol _luaL_where
lib_base.obj : error LNK2001: unresolved external symbol _lj_err_run
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_clib_index
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_clib_unload
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_clib_load
lib_ffi.obj : error LNK2001: unresolved external symbol _lj_clib_default
lib_init.obj : error LNK2001: unresolved external symbol _luaopen_math
lib_io.obj : error LNK2001: unresolved external symbol _luaL_argerror
lib_string.obj : error LNK2001: unresolved external symbol _luaL_argerror
lib_jit.obj : error LNK2001: unresolved external symbol _luaL_error
lib_package.obj : error LNK2001: unresolved external symbol _luaL_error
lua51.dll : fatal error LNK1120: 40 unresolved externals

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>if exist lua51.dll.manifest mt /nologo -manifest lua51.dll.manifest -outp
utresource:lua51.dll;2

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>cl /nologo /c /MD /O2 /W3 /D_CRT_SECURE_NO_DEPRECATE luajit.c
luajit.c

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>link /nologo /out:luajit.exe luajit.obj lua51.lib
luajit.obj : error LNK2001: unresolved external symbol _lua_error
luajit.obj : error LNK2001: unresolved external symbol _luaL_where
luajit.exe : fatal error LNK1120: 2 unresolved externals

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>if exist luajit.exe.manifest mt /nologo -manifest luajit.exe.manifest -ou
tputresource:luajit.exe

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>del *.obj *.manifest buildvm.exe

C:\Users\User\Desktop\LuaJIT-2.0.0-beta8\src>


Create a new paste based on this one


Comments: