PDA

View Full Version : Error - Unable to find symbol name in string table



MichelJasmin
- 28th November 2014, 01:26
Hello everyone,

MPLAB has suddently stopped compiling my projets, all of them! I get the error "Unable to find symbol name in string table". Tried to Google it and found this:

All COFF file errors indicate an internal error in the file’s contents. Please contact Microchip support



I've tried to uninstall/re-install MPLAB & PBP3 without success. Here is what I get exactly:



CLEAN SUCCESSFUL (total time: 63ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Michel Jasmin/MPLABXProjects/Dummy.X'
make -f nbproject/Makefile-default.mk dist/default/production/Dummy.X.production.hex
make[2]: Entering directory 'C:/Users/Michel Jasmin/MPLABXProjects/Dummy.X'
gnumkdir -p build/default/production
"C:\PBP3\pbpx.exe" -ampasmx -k# -os -p16f690 Dummy.pbp
make[2]: *** [build/default/production/Dummy\.cof] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
PICBASIC PRO(TM) Compiler 3.0.7.2, (c) 1998, 2013 microEngineering Labs, Inc.
All Rights Reserved.
Error - Unable to find symbol name in string table.
Errors : 1

nbproject/Makefile-default.mk:91: recipe for target 'build/default/production/Dummy\.cof' failed
make[2]: Leaving directory 'C:/Users/Michel Jasmin/MPLABXProjects/Dummy.X'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Michel Jasmin/MPLABXProjects/Dummy.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

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




The 3 failures points to :



${MKDIR} ${OBJECTDIR}

${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/Dummy.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}

${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf



Does anyone encouter this?

Demon
- 28th November 2014, 01:50
make[2]: *** [build/default/production/Dummy\.cof] Error 1


I've never seen backslash in file names, is that even allowed?

Robert


Edit: shouldn't these be slashes?

"C:\PBP3\pbpx.exe" -ampasmx -k# -os -p16f690 Dummy.pbp

MichelJasmin
- 28th November 2014, 02:52
I saw it too, maybe its a part of a regular expression...

I've opened a webticket on microchip.com, I have no expectation on this...

richard
- 28th November 2014, 03:29
for what its worth mine looks like this

make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Users/rc/Documents/xc8/pbppwm.X'
make -f nbproject/Makefile-default.mk dist/default/production/pbppwm.X.production.hex
make[2]: Entering directory `C:/Users/rc/Documents/xc8/pbppwm.X'
gnumkdir -p build/default/production
"C:\PBP3\pbpx.exe" -ampasmx -k# -os -p18f45k20 pbppwm.pbp
PICBASIC PRO(TM) Compiler 3.0.7.4, (c) 1998, 2013 microEngineering Labs, Inc.
All Rights Reserved.
gnumkdir -p dist/default/production
cp pbppwm.HEX dist/default/production/pbppwm.X.production.hex
cp pbppwm.COF dist/default/production/pbppwm.X.production.cof
rm -f pbppwm.COF
make[2]: Leaving directory `C:/Users/rc/Documents/xc8/pbppwm.X'
make[1]: Leaving directory `C:/Users/rc/Documents/xc8/pbppwm.X'
BUILD SUCCESSFUL (total time: 5s)
Loading code from C:/Users/rc/Documents/xc8/pbppwm.X/dist/default/production/pbppwm.X.production.hex...
Loading symbols from C:/Users/rc/Documents/xc8/pbppwm.X/dist/default/production/pbppwm.X.production.cof...
Loading completed


I find the pbp source file must !!! be in the source folder of the project or it all goes pear shaped

overall I find mplabx not worth the effort for pbp files , its just my two cents worth

MichelJasmin
- 28th November 2014, 03:51
Richard: what IDE are you using? I really don't like mplabx

richard
- 28th November 2014, 04:23
I bought MicroCode Studio Plus with plans to use the icd but my laptop has no serial ports and I have nothing but trouble getting usb/serial adapters to work reliably with the icd ,4 times out of 5 I get connection timeout and then even if I get it to connect the connection drops out after a while (tried about 4 different ones all had issues). so I gave up on source level debugging and just use MicroCode Studio for pbp now . I find it adequate.
there is also FineLineIDE kicking around it seemed promising if one is interested in learning something new, I think I have enough on my plate for now