compcode command not found

Discussion to talk about software related topics only.
Post Reply
RebootExpert
Posts: 89
Joined: Fri Oct 09, 2020 2:57 pm

compcode command not found

Post by RebootExpert »

I am using NANO and Eclipse 3.5.0 (not command line) on Windows, and I am encountering the exact same issue described in this post: viewtopic.php?p=13875&hilit=compcode#p13875. Despite following all the suggestions in the post, I haven't been able to resolve the issue. The project built successfully for me before, but I’m not sure why it suddenly stopped working.

And then I imported the example TCP\TcpServerSimple and successfully built it with the target platform set to MODM7AE70. However, when I switch the target platform to either NANO or MOD5441X, I encounter a "compcode" error in the build console.
Invoking: GNU C/C++ Linker
Finished building: abc.elf

Invoking: GNU Objcopy
Finished building: abc.s19

Building target: abc.bin
Invoking: NB Compcode
/1.0/bin/sh: compcode: command not found
make: *** [makefile:73: abc.bin] Error 127

"make -j8 all" terminated with exit code 2. Build might be incomplete.
RebootExpert
Posts: 89
Joined: Fri Oct 09, 2020 2:57 pm

Re: compcode command not found

Post by RebootExpert »

I installed the latest version 3.5.3 and recreated the same TCP/TCPServerSimple example, but I'm encountering the same compcode error, albeit with a different error code: 126 that is permission denied.

I suspect that the path /cygdrive/c/nburn/pcbin/compcode might be incorrect, but I have no idea where the cygdrive comes from.
Invoking: GNU C/C++ Linker
Finished building: test.elf

Invoking: GNU Objcopy
Finished building: test.s19

Building target: test.bin
Invoking: NB Compcode
/1.0/bin/sh: /cygdrive/c/nburn/pcbin/compcode: Permission denied
make: *** [makefile:73: test.bin] Error 126

"make -j8 all" terminated with exit code 2. Build might be incomplete.
RebootExpert
Posts: 89
Joined: Fri Oct 09, 2020 2:57 pm

Re: compcode command not found

Post by RebootExpert »

It turns out that our IT department has blocked the compcode.exe. They reached out to me for more specific details about this executable
User avatar
TomNB
Posts: 579
Joined: Tue May 10, 2016 8:22 am

Re: compcode command not found

Post by TomNB »

Hello,

Thank you very much for the quick follow up on that issue!
User avatar
TomNB
Posts: 579
Joined: Tue May 10, 2016 8:22 am

Re: compcode command not found

Post by TomNB »

That is the utility that compresses the image and processes it for storage in the flash memory.
RebootExpert
Posts: 89
Joined: Fri Oct 09, 2020 2:57 pm

Re: compcode command not found

Post by RebootExpert »

Since the compcode.exe utility in the /nburn/pcbin directory was already removed by the IT antivirus in version 3.5.0 and 3.5.3, and I have versions 3.3.3 to 3.4.0 installed, could I simply copy the utility from the other version to avoid reinstalling 3.5.0? Or is the compcode.exe utility version-specific?

I will attempt to rebuild the project after they mark it as an exception utility
User avatar
TomNB
Posts: 579
Joined: Tue May 10, 2016 8:22 am

Re: compcode command not found

Post by TomNB »

Hello. I think they should be the same.
RebootExpert
Posts: 89
Joined: Fri Oct 09, 2020 2:57 pm

Re: compcode command not found

Post by RebootExpert »

I copied it from 3.4.0 it build successfully now.
Post Reply