Linking Executable error when debug in 64Bit: #main.o: undefined symbol

When looking for fastest DataView grid i have noticing pidog solution as einhugur solution is only for old realbasic?.

I think if i am not mistaken it’s been two times i have encountered such issues.

I have reported few hours ago in here <https://xojo.com/issue/54495>. Perhaps you could take a look and see if it’s crashes in some of your machine?, Only need to open “dataview1.13.3.xojo_binary_project” project, setting the architecture and run the project.

The “EddiesElectronics” example is compiled fine for x64 Windows binary. As pidog DataView grid is encrypted unless you get the source, perhaps that’s should pin point it?, somehow Xojo compiler mismatch something in the process of compilation?.

Why i am more believe on Xojo bugs on compiler or linker are i have more narrowing it down into baremetal Windows installation without anything extra in it and yet it still failed. From searching on feedback cases i can see only around 3 people including me who has these matter.

The wisest solution would be remote debug or support but it’s out my league for Xojo reimbursement.

Been long day for me, sleepless night in thinking that’s a hardware problem.

Hi Aditya,
What are the other three case numbers?

An old favourite is ‘Turn off your anti-virus software and try XYZ’. Never been my favourite, but when you are short of options maybe it’s worth a shot.
Any automated backup software running? If so, try turning that off as well.

I don’t think you mention it anywhere, but are you able to Run your project?

Unfortunately I am out for most of tomorrow.

There is some IDE logging information that can be viewed with third party tools.
By far the most common is DebugView: https://docs.microsoft.com/en-us/sysinternals/downloads/debugview
I have no idea if it will show anything useful for this issue, but again, when short on options it’s worth a shot.

Have you tried looking for error reports in the Windows EventViewer?
References: https://en.wikipedia.org/wiki/Event_Viewer
and: https://www.howtogeek.com/123646/htg-explains-what-the-windows-event-viewer-is-and-how-you-can-use-it/

[quote=418757:@Robin Lauryssen-Mitchell]Hi Aditya,
What are the other three case numbers?

An old favourite is ‘Turn off your anti-virus software and try XYZ’. Never been my favourite, but when you are short of options maybe it’s worth a shot.
Any automated backup software running? If so, try turning that off as well.

I don’t think you mention it anywhere, but are you able to Run your project?

Unfortunately I am out for most of tomorrow.[/quote]
#51989 , mine, and if i am not mistaken one more that i have found when searching on feedback.

Please read my reply above, already done it, there is no 3rd party antivirus installed apart than only plain windows defender, already tried to disable, adding xojo installation folder into windows defender exclusion list, and adding temporary folder also into exclusion list. Tried also adding xojo.exe, lld exe with turned off all of anti exploit in windows defender.

Already tried debug view running it as administrator but there are no ‘interesting’ stuff being logged :

[quote]00000001 0.00000000 [12176] Error opening process:
00000002 0.00139160 [12176] Xojo.exe
00000003 0.00232490 [12176]
00000004 1.00063372 [12176] Error opening process:
00000005 1.00210130 [12176] Xojo.exe
00000006 1.00342751 [12176]
00000007 1.99884796 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000008 1.99980378 [12176]
00000009 3.00059485 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000010 3.00245905 [12176]
00000011 4.00308132 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000012 4.00396729 [12176]
00000013 4.99354458 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000014 4.99492645 [12176]
00000015 5.67000294 [6976] pre build
00000016 5.99516058 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000017 5.99657774 [12176]
00000018 6.99818897 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000019 6.99843359 [12176]
00000020 7.99597931 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000021 7.99628305 [12176]
00000022 8.99234581 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000023 8.99255466 [12176]
00000024 9.72417831 [6976] C:\Program Files\Xojo\Xojo 2018r4\Xojo Resources\Win32\lld.exe: error: could not open C:\Users\echelon\AppData\Local\Temp\xojo scratch 6976\dataview1.13.3.xojo_binary_project [EFCBA1EC]\Windows_x86_64\/App.o: no such file or directory
00000025 9.72417831 [6976] C:\Program Files\Xojo\Xojo 2018r4\Xojo Resources\Win32\lld.exe: error: could not open C:\Users\echelon\AppData\Local\Temp\xojo scratch 6976\dataview1.13.3.xojo_binary_project [EFCBA1EC]\Windows_x86_64\/FileTypes1.o: no such file or directory
00000026 9.72417831 [6976] C:\Program Files\Xojo\Xojo 2018r4\Xojo Resources\Win32\lld.exe: error: could not open C:\Users\echelon\AppData\Local\Temp\xojo scratch 6976\dataview1.13.3.xojo_binary_project [EFCBA1EC]\Windows_x86_64\/colorPicker.o: no such file or directory
00000027 9.72417831 [6976] C:\Program Files\Xojo\Xojo 2018r4\Xojo Resources\Win32\lld.exe: error: C:\Users\echelon\AppData\Local\Temp\xojo scratch 6976\dataview1.13.3.xojo_binary_project [EFCBA1EC]\Windows_x86_64\/MainMenuBar.o: The file was not recognized as a valid object file
00000028 9.99866581 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000029 9.99897766 [12176]
00000030 10.01647663 [6976] Command “RunApp” handled by First Responder handled command
00000031 10.99092770 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000032 10.99133492 [12176]
00000033 11.99929523 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000034 12.00009346 [12176]
00000035 12.99939537 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000036 12.99956322 [12176]
00000037 13.99495792 [12176] C:\Program Files\Xojo\Xojo 2018r4\Xojo.exe
00000038 13.99602222 [12176]
00000039 15.00049400 [12176] Error opening process:
00000040 15.00235844 [12176] Xojo.exe
00000041 15.00337410 [12176]
00000042 15.99706268 [12176] Error opening process:
00000043 15.99806213 [12176] Xojo.exe
00000044 15.99829483 [12176]
00000045 17.18636322 [12176] Error opening process:
00000046 17.19171715 [12176] Xojo.exe
00000047 17.19303131 [12176]
00000048 18.17914581 [12176] Error opening process:
00000049 18.18236542 [12176] Xojo.exe
00000050 18.18745041 [12176]
00000051 19.18152237 [12176] Error opening process:
00000052 19.18729019 [12176] Xojo.exe
00000053 19.18856049 [12176] [/quote]

@Aditya Nugraha - have you tried launching the IDE from a cmd.exe window?

I was already tried but retrying it now :

  • Administrator command prompt resulting the same error.
  • Normal user command prompt resulting the same error.

Also tried :
Moving out temporary windows folder (%TEMP & %TMP% env variables) into other drives which are :

  • Mechanical HDD Drive connected through Sata 6G connection into the motherboard, the same thing.
  • Mechanical HDD Drive connected through an external enclosure into USB 3.0, the same thing

Changing my region from English - Indonesia into English U.S with the same result
Modified some of my bios settings to look for any wrongly setup bios settings

The strange thing is for the aforementioned example project, it’s probably the only example project that is ‘incompatible’ with my workstation.

If it’s because of Windows or hardware failures, why :

  • Other examples project managed to build into x64 Windows binaries.
  • The Xojo error log is remain consistence about failure to compile between Windows 10 x64 1803 (RS4), 1809(RS5) and RS6 (Prerelease)
  • Moving out windows’s temporary folder to other drives will work if my SSD is failing.
  • Untouched plain clean Windows installation will works.
  • Memory test passed
  • Able to play AAA games
  • Able to compile Non-Xojo large project such as QT 5.12
  • Not experiencing any Windows BSOD, GSOD

@Greg O’Lone
Thanks Greg for joining in, it’s been three days already, i hope you will able to track down the causes.

I was more curious if any error messages appeared in the window actually

@Greg O’Lone

It’s one line error, when i am right clicking in the error and choosing copy then it’s being expanded in the clipboard or when pasting it into a text editor.

The screenshot :

Addition, when searching in Windows event viewer, i could not found anything of “lld.exe” or “xojo.exe” related entries.

Sorry… I meant “error messages in the cmd.exe window”

Nothing too because of perhaps Xojo is GUI application rather than Windows console application?

[quote=418838:@Aditya Nugraha]Nothing too because of perhaps Xojo is GUI application rather than Windows console application?
[/quote]
Not necessarily. The IDE does write some warning messages to stdout from time to time. Usually they are harmless, but sometimes will shed some light in a difficult problem.

Hi Aditya,
I realise that closing the Feedback case is going be upsetting. But we really cannot provide hardware and/or operating system support beyond “It might be XYZ, try ABC”. In addition you have mentioned that you have been able to build your project successfully on other machines. This really does look like an issue specific to that one machine.

@Robin Lauryssen-Mitchell
I have updated the case and found out the culprit finally. But AFAIK looks like it need to be fixed by Xojo team :-(.

Is your PC overclocked?
Did you use the sata cables that came with your mobo?
Can you try swapping out the cable to the disk with C: on?

@
I don’t overclocking my CPU, only default settings from the bios about CPU performance. Currently my CPU running at stock/default clock which is 2.59 GHz.
My storage itself is not the form of SATA, but it’s a PCIe NVMe - M.2, i have closing the theory of my storage being the issue because of i was already tried booting into a windows 10 x64 1809 pro inside a mechanical 2.5" notebook hard drive within HDD external enclosure in which connected through a USB into the motherboard and yet it still failed.

Also have tried to disable Meltdown & spectre mitigation from windows (confirmed disabled by the inspectre application), and yet still failed unless i am disabled Hyper-Threading for the CPU from within the bios.

Ah nice, same here re: cpu speed & storage, it was just a guess as I’ve seen issues in those areas in the past.

I’m just reading up Skylake chip issues regarding hyper threading.

It might be an edge case in the compile chain somewhere that is triggering the issue.

SKZ6

https://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/6th-gen-x-series-spec-update.pdf

I would have hoped that a latest BIOS update would get around the issue.

I think this will be a chicken egg thing , all side (Intel, Microsoft, Xojo) will be able to provide somekind of work-around about these matter.

I have tried to logged this issue into Microsoft feedback app, for some weird reason it’s not being logged, i couldn’t found the reported issue in my issue part of the feddback app, it’s just like i don’t report anything.

Because of i don’t have any private channel into either Microsoft, Intel or Asus, it will be long and tedious process to report it from the beginning again, i was tried to contact Asus Indonesia, instead of understanding the issue, the supports only doing scripted replies and blaming it on customer, or straight into RMA process.

I am sure that with Xojo credibility, at-least one or more of Xojo’s engineer team is having those private line/channel into aforementioned companies.

I am really hoping for Xojo to taking the good will and make some kind of workaround in their compiler/linker code for this matter.

It’s not my choosing of my problematic case for happening at really not choice-able timeframe (holiday, end of the year).

At least you’ve found a way around it for the time being so you can get on with coding :slight_smile:

Yes that’s correct, Xojo’s community is really something :-), thanks to you and all for trying to help and pointing into right direction.

Meanwhile, i will retry to contact Asus, hopefully it will be different this time.

Just found out Xojo compiler has failed to compiling Bkeeney’s Chinook ARGen Example :frowning: which my work quite un-usable. The error about Chinook ARGen Example is :

[quote]Linking Executable
C:\Program Files\Xojo\Xojo 2018r4\Xojo Resources\Win32\lld.exe: error: C:\Users\echelon\AppData\Local\Temp\xojo scratch 6924\ChinookARGen [974F2B33]\Windows_x86_64\/Data.o: The file was not recognized as a valid object file[/quote]

This is the last time i am using Intel platform!