Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 19, 2024, 09:05:40 09:05


Login with username, password and session length


Pages: 1 ... 5 6 7 8 9 10 11 [12]
Print
Author Topic: XC8 Compilers - Discussion  (Read 225801 times)
0 Members and 2 Guests are viewing this topic.
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 643
-Receive: 177


« Reply #275 on: March 02, 2024, 10:13:28 10:13 »

I Just checked the PICC side to be honest.

Can you share the "corrupted" file to ... check ?

or share the project so that can try same checking...

take care

X!
Logged

-> An Apple a Day does not Let U become a Macintosh!
jaikumar
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 47
-Receive: 18


« Reply #276 on: March 04, 2024, 05:29:55 05:29 »

Hi,

I have attached the AVR ATTiny412 project.
The source file is simple generated file.
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 643
-Receive: 177


« Reply #277 on: March 04, 2024, 10:02:41 10:02 »

It get compiled with just one warning on Xide 6.20.

There should be some issue on your side i think.


take care,
X!
Logged

-> An Apple a Day does not Let U become a Macintosh!
jaikumar
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 47
-Receive: 18


« Reply #278 on: March 05, 2024, 05:06:07 05:06 »

Hi,

I installed version 6.20 MPLABX.
Getting this error below:
Keep getting
note: Please reinstall the compiler

Could it be because files are not patched properly.
Could you please reply with steps required to patch properly.

Code:

make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make  -f nbproject/Makefile-default.mk dist/default/production/MPLABXProjects.production.hex
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe"  -mcpu=ATtiny412 -c  -x c -D__ATtiny412__   -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/main.o.d" -MT "build/default/production/main.o.d" -MT build/default/production/main.o -o build/default/production/main.o main.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
main.c:1:0: warning: Detected corrupt executable file
  /*
 ^
main.c:1:0: note: Please reinstall the compiler
main.c:1:0: warning: Detected corrupt executable file
main.c:1:0: note: Please reinstall the compiler
main.c: In function 'main':
main.c:42:5: error: 'sdfsf' undeclared (first use in this function)
     sdfsf
     ^
main.c:42:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:44:5: error: expected ';' before 'while'
     while(1)
     ^
make[2]: *** [nbproject/Makefile-default.mk:162: build/default/production/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mcc_generated_files/system/src/protected_io.S:1:0: warning: Detected corrupt executable file
 /**
 ^
mcc_generated_files/system/src/protected_io.S:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/protected_io.S:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/protected_io.S:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/config_bits.c:1:0: warning: Detected corrupt executable file
 /**
 ^
mcc_generated_files/system/src/config_bits.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/config_bits.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/config_bits.c:1:0: note: Please reinstall the compiler
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -c  -mcpu=ATtiny412  -x assembler-with-cpp -D__ATtiny412__   -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default  -gdwarf-3 -mno-const-data-in-progmem -Wa,--defsym=__MPLAB_BUILD=1   -MD -MP -MF "build/default/production/mcc_generated_files/system/src/protected_io.o.d" -MT "build/default/production/mcc_generated_files/system/src/protected_io.o.d" -MT build/default/production/mcc_generated_files/system/src/protected_io.o -o build/default/production/mcc_generated_files/system/src/protected_io.o  mcc_generated_files/system/src/protected_io.S
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe"  -mcpu=ATtiny412 -c  -x c -D__ATtiny412__   -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/config_bits.o.d" -MT "build/default/production/mcc_generated_files/system/src/config_bits.o.d" -MT build/default/production/mcc_generated_files/system/src/config_bits.o -o build/default/production/mcc_generated_files/system/src/config_bits.o mcc_generated_files/system/src/config_bits.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
mcc_generated_files/system/src/system.c:1:0: warning: Detected corrupt executable file
 /**
 ^
mcc_generated_files/system/src/system.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/system.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/system.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/clock.c:1:0: warning: Detected corrupt executable file
 /**
 ^
mcc_generated_files/system/src/clock.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/clock.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/clock.c:1:0: note: Please reinstall the compiler
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe"  -mcpu=ATtiny412 -c  -x c -D__ATtiny412__   -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/system.o.d" -MT "build/default/production/mcc_generated_files/system/src/system.o.d" -MT build/default/production/mcc_generated_files/system/src/system.o -o build/default/production/mcc_generated_files/system/src/system.o mcc_generated_files/system/src/system.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe"  -mcpu=ATtiny412 -c  -x c -D__ATtiny412__   -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/clock.o.d" -MT "build/default/production/mcc_generated_files/system/src/clock.o.d" -MT build/default/production/mcc_generated_files/system/src/clock.o -o build/default/production/mcc_generated_files/system/src/clock.o mcc_generated_files/system/src/clock.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
mcc_generated_files/system/src/interrupt.c:1:0: warning: Detected corrupt executable file
 /**
 ^
mcc_generated_files/system/src/interrupt.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/interrupt.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/interrupt.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/pins.c:1:0: warning: Detected corrupt executable file
 /**
 ^
mcc_generated_files/system/src/pins.c:1:0: note: Please reinstall the compiler
mcc_generated_files/system/src/pins.c:1:0: warning: Detected corrupt executable file
mcc_generated_files/system/src/pins.c:1:0: note: Please reinstall the compiler
make[1]: *** [nbproject/Makefile-default.mk:85: .build-conf] Error 2
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
make: *** [nbproject/Makefile-impl.mk:39: .build-impl] Error 2
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe"  -mcpu=ATtiny412 -c  -x c -D__ATtiny412__   -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/interrupt.o.d" -MT "build/default/production/mcc_generated_files/system/src/interrupt.o.d" -MT build/default/production/mcc_generated_files/system/src/interrupt.o -o build/default/production/mcc_generated_files/system/src/interrupt.o mcc_generated_files/system/src/interrupt.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'
make[2]: Entering directory 'C:/Users/jaikumar/MPLABXProjects'
"H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe"  -mcpu=ATtiny412 -c  -x c -D__ATtiny412__   -mdfp="D:/Microchip/MPLABX/v6.20/packs/Microchip/ATtiny_DFP/3.1.260/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/pins.o.d" -MT "build/default/production/mcc_generated_files/system/src/pins.o.d" -MT build/default/production/mcc_generated_files/system/src/pins.o -o build/default/production/mcc_generated_files/system/src/pins.o mcc_generated_files/system/src/pins.c
make[2]: Leaving directory 'C:/Users/jaikumar/MPLABXProjects'

BUILD FAILED (exit value 2, total time: 2s)


Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 643
-Receive: 177


« Reply #279 on: March 05, 2024, 07:58:46 07:58 »

Check Reply #141.

.... "the renamed file can stay in the same directly" before apply the "final solution".

take care,
X!
Logged

-> An Apple a Day does not Let U become a Macintosh!
Pages: 1 ... 5 6 7 8 9 10 11 [12]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC