[m-users.] Compiler trouble

Noah Scott Goldman noahsg at badmousedriver.xyz
Mon Aug 8 11:20:42 AEST 2016


Whoa, that is a lot of error messages! I've attached the output.


On 2016-08-07 20:17, Julien Fischer wrote:
>
> On Sun, 7 Aug 2016, Noah Scott Goldman wrote:
>
>>
>> I get this message:
>>
>> cl : Command line warning D9024 : unrecognized source file type 
>> 'hello.exe', object file assumed
>>
>> LINK : fatal error LNK1149: output filename matches input filename
>> 'C:\Users\McPhee\Me\Personal_files\Programs\Mercury\Hello\hello.exe'
>>
>> ...So it thinks hello.exe is the input file?
>
> There cannot be a space between '-Fe' and 'hello.exe', it should be
> '-Fehello.exe'.
>
> Julien.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20160807/b89c5924/attachment.html>
-------------- next part --------------
LINK : warning LNK4001: no object files specified; libraries used
libmer_rt.lib(mercury_type_info.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_rt.lib(mercury_runtime_util.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_rt.lib(mercury_memory_handlers.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_rt.lib(mercury_getopt.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_rt.lib(mercury_trace_base.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_rt.lib(mercury_wrapper.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_rt.lib(mercury_misc.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_rt.lib(mercury_regs.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_std.lib(io.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_std.lib(benchmarking.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_std.lib(robdd.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_std.lib(table_builtin.obj) : error LNK2001: unresolved external symbol ___iob_func
libmer_std.lib(io.obj) : error LNK2019: unresolved external symbol _vfprintf referenced in function _ML_fprintf
libmer_rt.lib(mercury_misc.obj) : error LNK2001: unresolved external symbol _vfprintf
libmer_rt.lib(mercury_memory_zones.obj) : error LNK2001: unresolved external symbol _sprintf
libmer_rt.lib(mercury_float.obj) : error LNK2001: unresolved external symbol _sprintf
libmer_rt.lib(mercury_bitmap.obj) : error LNK2001: unresolved external symbol _sprintf
libmer_rt.lib(mercury_deep_copy.obj) : error LNK2001: unresolved external symbol _sprintf
libmer_rt.lib(mercury_deconstruct.obj) : error LNK2001: unresolved external symbol _sprintf
libmer_std.lib(io.obj) : error LNK2001: unresolved external symbol _sprintf
libmer_std.lib(float.obj) : error LNK2001: unresolved external symbol _sprintf
libmer_rt.lib(mercury_trace_base.obj) : error LNK2001: unresolved external symbol _sprintf
libmer_rt.lib(mercury_ho_call.obj) : error LNK2001: unresolved external symbol _sprintf
libmer_std.lib(io.obj) : error LNK2019: unresolved external symbol _vsprintf referenced in function _mercury_io_error
libmer_rt.lib(mercury_float.obj) : error LNK2001: unresolved external symbol _sscanf
libmer_std.lib(lexer.obj) : error LNK2001: unresolved external symbol _sscanf
libmer_std.lib(parsing_utils.obj) : error LNK2001: unresolved external symbol _sscanf
libmer_std.lib(string.obj) : error LNK2001: unresolved external symbol _sscanf
libmer_rt.lib(mercury_wrapper.obj) : error LNK2001: unresolved external symbol _sscanf
libmer_rt.lib(mercury_tabling.obj) : error LNK2019: unresolved external symbol _printf referenced in function _MR_table_type_back
libmer_rt.lib(mercury_layout_util.obj) : error LNK2001: unresolved external symbol _printf
libmer_rt.lib(mercury_memory_handlers.obj) : error LNK2001: unresolved external symbol _printf
libmer_std.lib(region_builtin.obj) : error LNK2001: unresolved external symbol _printf
libmer_std.lib(table_builtin.obj) : error LNK2001: unresolved external symbol _printf
libmer_rt.lib(mercury_trace_base.obj) : error LNK2001: unresolved external symbol _printf
libmer_rt.lib(mercury_wrapper.obj) : error LNK2001: unresolved external symbol _printf
libmer_rt.lib(mercury_trace_base.obj) : error LNK2019: unresolved external symbol __snprintf referenced in function _MR_trace_record_label_exec_counts
libmer_rt.lib(mercury_wrapper.obj) : error LNK2001: unresolved external symbol __snprintf
libmer_rt.lib(mercury_string.obj) : error LNK2019: unresolved external symbol _vsnprintf referenced in function _MR_make_string
libcmt.lib(vsnprintf.obj) : error LNK2001: unresolved external symbol _vsnprintf
libgc.lib(misc.obj) : error LNK2019: unresolved external symbol __vsnprintf referenced in function _GC_printf
libcmt.lib(vsnprintf.obj) : error LNK2001: unresolved external symbol __vsnprintf
hello.exe : fatal error LNK1120: 9 unresolved externals


More information about the users mailing list