I am trying to port a program from Micropascal Pro for PIC for the Ready for Pic board (compiled and working successfully) to Micropascal Pro for PIC32 for the PIC32MZ. The program syntax seems to compile without errors, but I receive errors related to unresolved external libraries, in particular _Lib_USB_MZ_HS.c
The compiler seems to find the _Lib_USB_MZ.emcl file, which is in the appropriate USES folder. There is no _Lib_USB_MZ.mpas file to add as source.
For further information, I've appended the compiler log file and attached the program file. Any help would be greatly appreciated!
Venkat Chandrasekhar
Compiler log file:
______________________
0 1 mPPIC32.exe -MSF -DBG -pP32MZ1024EFH064 -Y -DL -SSA -EBASE 0x9FC01000 -INTDEF MV_SRS7_IS32 -O11111114 -fo200 -N"C:\home\chandra\MikroPascal Pic files\PIC32PLL\PIC32PLL.mpp32" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroPascal PRO for PIC32\Defs\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroPascal PRO for PIC32\Uses\" -SP"C:\home\chandra\MikroPascal Pic files\PIC32PLL\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroPascal PRO for PIC32\Packages\FAT32 Library\Uses\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroPascal PRO for PIC32\Packages\FT800\Uses\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroPascal PRO for PIC32\Packages\FT810\Uses\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroPascal PRO for PIC32\Packages\FT812\Uses\" -SP"C:\Users\Public\Documents\Mikroelektronika\mikroPascal PRO for PIC32\Examples\Extra Boards\DAC (SPI)\" "__Lib_CP0.emcl" "__Lib_Math.emcl" "__Lib_MathDouble_MZ_EF.emcl" "__Lib_System_MZ_EF.emcl" "__Lib_SoftResetDma.emcl" "__Lib_Delays.emcl" "__Lib_CType.emcl" "__Lib_String.emcl" "__Lib_CStdlib.emcl" "__Lib_MemManager.emcl" "__Lib_Conversions_EF.emcl" "__Lib_Time.emcl" "__Lib_Trigon_EF.emcl" "__Lib_Trigonometry.emcl" "__Lib_Button.emcl" "__Lib_Keypad4x4.emcl" "__Lib_Manchester.emcl" "__Lib_OneWire.emcl" "__Lib_PS2.emcl" "__Lib_Sound.emcl" "__Lib_SoftI2C.emcl" "__Lib_SoftSPI.emcl" "__Lib_SoftUART.emcl" "__Lib_ADC_24ch_2_MZ.emcl" "__Lib_ETHERNET.emcl" "__Lib_FLASH_MZ.emcl" "__Lib_I2C_1345_MZ.emcl" "__Lib_PWM_MZ.emcl" "__Lib_SPI_1234.emcl" "__Lib_UART_123456_MZ.emcl" "__Lib_CAN_12.emcl" "__Lib_PPS_P32MZ_64CAN.emcl" "__Lib_USB_MZ_HS.emcl" "__Lib_PortExpander.emcl" "__Lib_CANSPI.emcl" "__Lib_CF.emcl" "__Lib_CFFat16.emcl" "__Lib_GlcdFonts.emcl" "__Lib_Glcd_MZ.emcl" "__Lib_LcdConsts.emcl" "__Lib_Lcd.emcl" "__Lib_Mmc.emcl" "__Lib_MmcFat16.emcl" "__Lib_MmcFat16_Defs.emcl" "__Lib_RS485.emcl" "__Lib_S1D13700.emcl" "__Lib_T6963C.emcl" "__Lib_T6963C_Consts.emcl" "__Lib_SPIGlcd.emcl" "__Lib_SPILcd.emcl" "__Lib_SPILcd8.emcl" "__Lib_SPIT6963C.emcl" "__Lib_SPIT6963C_Const.emcl" "__Lib_EthEnc24j600.emcl" "__Lib_EthEnc28j60.emcl" "__Lib_TFT.emcl" "__Lib_TFT_Defs.emcl" "__Lib_TouchPanel_TFT.emcl" "__Lib_TouchPanel.emcl" "__Lib_BitReverseComplex.emcl" "__Lib_FFT.emcl" "__Lib_FirRadix.emcl" "__Lib_IirRadix.emcl" "__Lib_Matrices.emcl" "__Lib_Q15_EF.emcl" "__Lib_Q31_EF.emcl" "__Lib_TwiddleFactors.emcl" "__Lib_Vectors.emcl" "__Lib_STMPE610.emcl" "__Lib_FAT32_Types_MZ.emcl" "__Lib_FAT32_Driver_MZ.emcl" "__Lib_FAT32_Defs_MZ.emcl" "__Lib_FAT32_MZ.emcl" "__Lib_FT800_Types_MZ.emcl" "__Lib_FT800_Defs_MZ.emcl" "__Lib_FT800_MZ.emcl" "__Lib_FT810_Types_MZ.emcl" "__Lib_FT810_Defs_MZ.emcl" "__Lib_FT810_MZ.emcl" "__Lib_FT812_Types_MZ.emcl" "__Lib_FT812_Defs_MZ.emcl" "__Lib_FT812_MZ.emcl" "PIC32PLL.mpas"
diagnostics: 0 133 Compilation Started C:\home\chandra\MikroPascal Pic files\PIC32PLL\PIC32PLL.mpas
hint: 1 1015 Hint: Compiling unit "C:\home\chandra\MikroPascal Pic files\PIC32PLL\PIC32PLL.mpas" PIC32PLL.mpas
hint: 163 1021 Hint: interrupt handler (Timer1Interrupt at 0x0004) PIC32PLL.mpas
warning: 415 1509 Warning: Implicit typecast performed from "dword" to "real" PIC32PLL.mpas
warning: 284 1520 variable 'buffer' might not have been initialized PIC32PLL.mpas
hint: 203 1011 Hint: Variable "ChangeOnlyLowWord" has been eliminated by optimizer PIC32PLL.mpas
hint: 266 1011 Hint: Variable "buffer4" has been eliminated by optimizer PIC32PLL.mpas
hint: 527 1010 Hint: Unit "PIC32PLL.mpas" has been recompiled PIC32PLL.mpas
diagnostics: 0 134 Compiled Successfully C:\home\chandra\MikroPascal Pic files\PIC32PLL\PIC32PLL.mpas
diagnostics: 0 139 All files Compiled in 78 ms
error: 0 360 Unresolved extern 'hidInit0' __Lib_USB_MZ_HS.c
error: 0 360 Unresolved extern 'configDescriptor1' __Lib_USB_MZ_HS.c
error: 0 360 Unresolved extern 'device_dsc' __Lib_USB_MZ_HS.c
error: 0 360 Unresolved extern 'stringDescriptors' __Lib_USB_MZ_HS.c
error: 0 360 Unresolved extern 'hidInit0' __Lib_USB_MZ_HS.c
error: 0 360 Unresolved extern 'configDescriptor1' __Lib_USB_MZ_HS.c
error: 0 360 Unresolved extern 'device_dsc' __Lib_USB_MZ_HS.c
error: 0 360 Unresolved extern 'stringDescriptors' __Lib_USB_MZ_HS.c
error: 0 453 Unsuccessful linking 'PIC32PLL.mpp32' Unsuccessful linking 'PIC32PLL.mpp32'
error: 0 102 Finished (with errors): 22 May 2018, 19:40:29 PIC32PLL.mpp32
Problem compiling: unresolved externals
mikroC, mikroBasic and mikroPascal PRO for Microchip’s 32-bit PIC MCUs
Author
Message
-
- Posts: 1
- Joined: 23 May 2018 01:48
- filip.grujcic
- Posts: 822
- Joined: 14 May 2018 08:34
Re: Problem compiling: unresolved externals
#2 Post by filip.grujcic » 24 May 2018 08:10
Hello,
I believe you opened a ticket regarding this issue on our helpdesk, so let us continue there.
Regards,
I believe you opened a ticket regarding this issue on our helpdesk, so let us continue there.
Regards,
Filip Grujcic
Return to “PIC32 PRO Compilers”
Jump to
- NECTO Studio
- ↳ IDE
- ↳ IDE General
- ↳ IDE Beta Testing
- ↳ IDE Wish List
- ↳ ARM AI Compilers
- ↳ mikroC AI for ARM
- ↳ mikroC AI for ARM General
- ↳ mikroC AI for ARM Beta Testing
- ↳ mikroC AI for ARM Wish List
- ↳ PIC AI compilers
- ↳ mikroC AI for PIC
- ↳ mikroC AI for PIC General
- ↳ mikroC AI for PIC Beta Testing
- ↳ mikroC AI for PIC Wish List
- ↳ PIC32 AI Compilers
- ↳ mikroC AI for PIC32
- ↳ mikroC AI for PIC32 General
- ↳ mikroC AI for PIC32 Beta Testing
- ↳ mikroC AI for PIC32 Wish List
- ↳ dsPIC AI Compilers
- ↳ mikroC AI for dsPIC
- ↳ mikroC AI for dsPIC General
- ↳ mikroC AI for dsPIC Beta Testing
- ↳ mikroC AI for dsPIC Wish List
- ↳ AVR AI Compilers
- ↳ mikroC AI for AVR
- ↳ mikroC AI for AVR General
- ↳ mikroC AI for AVR Beta Testing
- ↳ mikroC AI for AVR Wish List
- ↳ Additional Software
- ↳ Visual TFT AI
- ↳ Visual TFT AI General
- ↳ Visual TFT AI Beta Testing
- ↳ Visual TFT AI Wish List
- PRO Compilers
- ↳ PIC PRO Compilers
- ↳ PIC Compilers General
- ↳ mikroC PRO for PIC
- ↳ mikroC PRO for PIC General
- ↳ mikroC PRO for PIC Beta Testing
- ↳ mikroC PRO for PIC Wish List
- ↳ mikroBasic PRO compiler for PIC
- ↳ mikroBasic PRO for PIC General
- ↳ mikroBasic PRO for PIC Beta Testing
- ↳ mikroBasic PRO for PIC Wish List
- ↳ mikroPascal PRO for PIC
- ↳ mikroPascal PRO for PIC General
- ↳ mikroPascal PRO for PIC Beta Testing
- ↳ mikroPascal PRO for PIC Wish List
- ↳ dsPIC PRO Compilers
- ↳ dsPIC Compilers General
- ↳ mikroC PRO for dsPIC30/33 and PIC24
- ↳ mikroC PRO for dsPIC30/33 and PIC24 General
- ↳ mikroC PRO for dsPIC30/33 and PIC24 Beta Testing
- ↳ mikroC PRO for dsPIC30/33 and PIC24 Wish List
- ↳ mikroBasic PRO for dsPIC30/33 and PIC24
- ↳ mikroBasic PRO for dsPIC30/33 and PIC24 General
- ↳ mikroBasic PRO for dsPIC30/33 and PIC24 Beta Testing
- ↳ mikroBasic PRO for dsPIC30/33 and PIC24 Wish List
- ↳ mikroPascal PRO for dsPIC30/33 and PIC24
- ↳ mikroPascal PRO for dsPIC30/33 and PIC24 General
- ↳ mikroPascal PRO for dsPIC30/33 and PIC24 Beta Testing
- ↳ mikroPascal PRO for dsPIC30/33 and PIC24 Wish List
- ↳ PIC32 PRO Compilers
- ↳ PIC32 Compilers General
- ↳ mikroC PRO for PIC32
- ↳ mikroC PRO for PIC32 General
- ↳ mikroC PRO for PIC32 Beta Testing
- ↳ mikroC PRO for PIC32 Wish List
- ↳ mikroBasic PRO for PIC32
- ↳ mikroBasic PRO for PIC32 General
- ↳ mikroBasic PRO for PIC32 Beta Testing
- ↳ mikroBasic PRO for PIC32 Wish List
- ↳ mikroPascal PRO for PIC32
- ↳ mikroPascal PRO for PIC32 General
- ↳ mikroPascal PRO for PIC32 Beta Testing
- ↳ mikroPascal PRO for PIC32 Wish List
- ↳ AVR PRO Compilers
- ↳ AVR Compilers General
- ↳ mikroC PRO for AVR
- ↳ mikroC PRO for AVR General
- ↳ mikroC PRO for AVR Beta Testing
- ↳ mikroC PRO for AVR Wish List
- ↳ mikroBasic PRO compiler for AVR
- ↳ mikroBasic PRO for AVR General
- ↳ mikroBasic PRO for AVR Beta Testing
- ↳ mikroBasic PRO for AVR Wish List
- ↳ mikroPascal PRO for AVR
- ↳ mikroPascal PRO for AVR General
- ↳ mikroPascal PRO for AVR Beta Testing
- ↳ mikroPascal PRO for AVR Wish List
- ↳ FT90x PRO Compilers
- ↳ FT90x Compilers General
- ↳ mikroC PRO for FT90x
- ↳ mikroC PRO for FT90x General
- ↳ mikroC PRO for FT90x Beta Testing
- ↳ mikroC PRO for FT90x Wish List
- ↳ mikroBasic PRO compiler for FT90x
- ↳ mikroBasic PRO for FT90x General
- ↳ mikroBasic PRO for FT90x Beta Testing
- ↳ mikroBasic PRO for FT90x Wish List
- ↳ mikroPascal PRO for FT90x
- ↳ mikroPascal PRO for FT90x General
- ↳ mikroPascal PRO for FT90x Beta Testing
- ↳ mikroPascal PRO for FT90x Wish List
- ↳ 8051 PRO Compilers
- ↳ 8051 Compilers General
- ↳ mikroC PRO for 8051
- ↳ mikroC PRO for 8051 General
- ↳ mikroC PRO for 8051 Beta Testing
- ↳ mikroC PRO for 8051 Wish List
- ↳ mikroBasic PRO compiler for 8051
- ↳ mikroBasic PRO for 8051 General
- ↳ mikroBasic PRO for 8051 Beta Testing
- ↳ mikroBasic PRO for 8051 Wish List
- ↳ mikroPascal PRO for 8051
- ↳ mikroPascal PRO for 8051 General
- ↳ mikroPascal PRO for 8051 Beta Testing
- ↳ mikroPascal PRO for 8051 Wish List
- ↳ ARM PRO Compilers
- ↳ ARM Compilers General
- ↳ mikroC PRO for ARM
- ↳ mikroC PRO for ARM General
- ↳ mikroC PRO for ARM Beta Testing
- ↳ mikroC PRO for ARM Wish List
- ↳ mikroBasic PRO for ARM
- ↳ mikroBasic PRO for ARM General
- ↳ mikroBasic PRO for ARM Beta Testing
- ↳ mikroBasic PRO for ARM Wish List
- ↳ mikroPascal PRO for ARM
- ↳ mikroPascal PRO for ARM General
- ↳ mikroPascal PRO for ARM Beta Testing
- ↳ mikroPascal PRO for ARM Wish List
- ↳ Older versions of Compilers
- ↳ Older versions of mikroC Compilers
- ↳ mikroC for PIC
- ↳ mikroC General
- ↳ mikroC Beta Testing
- ↳ mikroC Wish List
- ↳ mikroC for dsPIC30/33 and PIC24
- ↳ mikroC for dsPIC30/33 and PIC24 General
- ↳ mikroC for dsPIC30/33 and PIC24 Beta Testing
- ↳ mikroC for dsPIC30/33 and PIC24 Wish List
- ↳ RSC-4x mikroC
- ↳ RSC-4x mikroC General
- ↳ RSC-4x mikroC Wish List
- ↳ mikroC Beta testing
- ↳ Older versions of mikroBasic Compilers
- ↳ mikroBasic compiler for PIC
- ↳ mikroBasic General
- ↳ mikroBasic Beta Testing
- ↳ mikroBasic Wish List
- ↳ mikroBasic compiler for dsPIC30/33 and PIC24
- ↳ mikroBasic for dsPIC30/33 and PIC24 General
- ↳ mikroBasic for dsPIC30/33 and PIC24 Beta Testing
- ↳ mikroBasic for dsPIC30/33 and PIC24 Wish List
- ↳ mikroBasic for dsPIC30/33 and PIC24 Bug List
- ↳ Obsolete Project: mikroBasic compiler for AVR
- ↳ mikroBasic for AVR General
- ↳ mikroBasic for AVR Wish List
- ↳ mikroBasic Beta testing
- ↳ Older versions of mikroPascal Compilers
- ↳ mikroPascal compiler for PIC
- ↳ mikroPascal FAQ
- ↳ mikroPascal General
- ↳ mikroPascal Beta Testing
- ↳ mikroPascal Wish List
- ↳ mikroPascal Bug List
- ↳ mikroPascal compiler for dsPIC30/33 and PIC24
- ↳ mikroPascal for dsPIC30/33 and PIC24 General
- ↳ mikroPascal for dsPIC30/33 and PIC24 Beta Testing
- ↳ mikroPascal for dsPIC30/33 and PIC24 Wish List
- ↳ mikroPascal for dsPIC30/33 and PIC24 Bug List
- ↳ Obsolete Project: mikroPascal compiler for AVR
- ↳ mikroPascal for AVR General
- ↳ mikroPascal for AVR Wish List
- ↳ mikroPascal Beta testing
- ↳ Library Development Discussion
- ↳ Code Requests
- Additional Software
- ↳ Visual TFT Software
- ↳ Visual TFT General
- ↳ Visual TFT Beta Testing
- ↳ Visual TFT Wish List
- ↳ Visual GLCD Software
- ↳ Visual GLCD General
- ↳ Visual GLCD Beta Testing
- ↳ Visual GLCD Wish List
- ↳ Package Manager Software
- ↳ Package Manager General
- ↳ Package Manager Beta Testing
- ↳ Package Manager Wishlist
- ↳ GLCD Font Creator Software
- ↳ SpeakUp Software
- ↳ Timer Calculator
- ↳ CAN Calculator
- ↳ mikroBootloader
- Hardware
- ↳ Development Boards
- ↳ CODEGRIP programmer and debugger
- ↳ Mikromedia
- ↳ mikroProg™ programmer and debugger
- ↳ Development Boards Wishlist
- ↳ Review
- ↳ Click Boards release
- ↳ Hexiwear
- Website & Forums
- ↳ Libstock Discussion
- ↳ Product Announcements
- ↳ Website & Forums General Discussion
- ↳ Website & Forums Wishlist
- ↳ User Projects