Compilation error 126 (linking)

Technical questions regarding the XTC tools and programming with XMOS.
steamboy
New User
Posts: 2
Joined: Tue Jul 06, 2010 8:29 am

Compilation error 126 (linking)

Post by steamboy »

Hello,

I try to include in my code the Xlog module, but I obtain this error message. As I have no idea about error 126, I am looking for help.

/usr/bin/sh: /c/Program Files (x86)/XMOS/DesktopTools/10.4/bin/xcc: Bad address
xmake: *** [XC2-v4.xe] Error 126

Thank for your help,
Best regards,
Christophe.


m_y
Experienced Member
Posts: 69
Joined: Mon May 17, 2010 10:19 am

Post by m_y »

That looks like the compiler front end failing. The number 126 is probably not significant.

What OS are you using? 10.4 tools? Could you also post the complete command that's failing, please?
lgushurst
Newbie
Posts: 1
Joined: Sat Sep 17, 2011 1:54 am

Post by lgushurst »

I had the same problem when going through the tutorials. I resolved it by removing the hyphens in the project name. I'm using windows vista 64 bit, so XC1A-Flashing-LED-Project became XC1AFlashingLEDProject.