I have a lot of problems to includw the libraries, but I get some sample program to compile and it worked, but when I try to compile the example for the PIC24, using MiWi P2P protocol, the compiler does not find some fuctions (for example. EE_miniflex_radio_init). I have all the libraries included (in warning). Can you could help me with this error?
Code: Select all
"C:\WorkspaceEclipse\mini_proba1\Debug\make_launcher.bat" all
C:\cygwin\bin\bash found!
MAKE_DIRECTORIES
CP crt0.s
CP p24FJ32GA004.inc
GEN ee_pic30regs.inc
DEP crt0.S
/bin/sh: /opt/mchp/pic30/bin/pic30-coff-gcc: No such file or directory
MAKE_DIRECTORIES (after a clean)
ASM crt0.s
CP p24FJ32GA004.h
GEN ee_pic30regs.h
CPP eecfg.c
CPP code.c
c:\WORKSP~1\MINI_P~1\code.c: In function 'board_init':
c:\WORKSP~1\MINI_P~1\code.c:140: warning: implicit declaration of function 'EE_miniflex_radio_init'
LOC
CPP ee_miniflex.c
CPP ee_miniflex_demoboard.c
CPP ee_hal.S
CPP ee_hal_c.c
CPP ee_alcancel.c
CPP ee_altick.c
CPP ee_alget.c
CPP ee_alsetabs.c
CPP ee_alsetrel.c
CPP ee_irqsc.c
CPP ee_rqexchg.c
CPP ee_rqinsert.c
CPP ee_schedule.c
CPP ee_thact.c
CPP ee_thendin.c
CPP ee_mutex.c
CPP ee_uart.c
CPP ee_spi.c
CPP conq.c
CPP console.c
CPP console_serial.c
CPP pic30.c
AR libee.a
LD
obj/code.o(.text+0x2c): In function `FuncTaskMiWiOP':
c:\WORKSP~1\MINI_P~1\code.c:172: undefined reference to `MiApp_MessageAvailable'
obj/code.o(.text+0x3a): In function `FuncTaskInt':
c:\WORKSP~1\MINI_P~1\code.c:178: undefined reference to `mrf24j40_isr'
obj/code.o(.text+0x260): In function `board_init':
c:\WORKSP~1\MINI_P~1\code.c:140: undefined reference to `EE_miniflex_radio_init'
obj/code.o(.text+0x386): In function `FuncTaskRec':
c:\WORKSP~1\MINI_P~1\code.c:192: undefined reference to `rxMessage'
obj/code.o(.text+0x3a2):c:\WORKSP~1\MINI_P~1\code.c:200: undefined reference to `rxMessage'
obj/code.o(.text+0x3d8):c:\WORKSP~1\MINI_P~1\code.c:210: undefined reference to `rxMessage'
obj/code.o(.text+0x3da):c:\WORKSP~1\MINI_P~1\code.c: undefined reference to `PrintChar'
obj/code.o(.text+0x3e0):c:\WORKSP~1\MINI_P~1\code.c:213: undefined reference to `rxMessage'
obj/code.o(.text+0x3fe):c:\WORKSP~1\MINI_P~1\code.c:218: undefined reference to `rxMessage'
obj/code.o(.text+0x406):c:\WORKSP~1\MINI_P~1\code.c:220: undefined reference to `rxMessage'
obj/code.o(.text+0x40a):c:\WORKSP~1\MINI_P~1\code.c: undefined reference to `PrintChar'
obj/code.o(.text+0x40c):c:\WORKSP~1\MINI_P~1\code.c:221: undefined reference to `rxMessage'
obj/code.o(.text+0x410):c:\WORKSP~1\MINI_P~1\code.c: undefined reference to `PrintChar'
obj/code.o(.text+0x41e):c:\WORKSP~1\MINI_P~1\code.c:226: undefined reference to `rxMessage'
obj/code.o(.text+0x422):c:\WORKSP~1\MINI_P~1\code.c: undefined reference to `PrintChar'
obj/code.o(.text+0x468):c:\WORKSP~1\MINI_P~1\code.c:239: undefined reference to `rxMessage'
obj/code.o(.text+0x47c):c:\WORKSP~1\MINI_P~1\code.c: undefined reference to `rxMessage'
obj/code.o(.text+0x49c):c:\WORKSP~1\MINI_P~1\code.c:247: undefined reference to `rxMessage'
obj/code.o(.text+0x4d4):c:\WORKSP~1\MINI_P~1\code.c:254: undefined reference to `rxMessage'
obj/code.o(.text+0x50c):c:\WORKSP~1\MINI_P~1\code.c:260: undefined reference to `rxMessage'
obj/code.o(.text+0x55a):c:\WORKSP~1\MINI_P~1\code.c:267: more undefined references to `rxMessage' follow
obj/code.o(.text+0x65e): In function `FuncTaskRec':
c:\WORKSP~1\MINI_P~1\code.c:299: undefined reference to `MiApp_DiscardMessage'
obj/code.o(.text+0x6c0): In function `FuncTaskSend':
c:\WORKSP~1\MINI_P~1\code.c:337: undefined reference to `TxData'
obj/code.o(.text+0x6cc):c:\WORKSP~1\MINI_P~1\code.c:340: undefined reference to `TxBuffer'
obj/code.o(.text+0x6ea):c:\WORKSP~1\MINI_P~1\code.c:341: undefined reference to `TxBuffer'
obj/code.o(.text+0x6fa):c:\WORKSP~1\MINI_P~1\code.c:344: undefined reference to `TxData'
obj/code.o(.text+0x6fe):c:\WORKSP~1\MINI_P~1\code.c:349: undefined reference to `MiApp_BroadcastPacket'
obj/code.o(.text+0x786): In function `main':
c:\WORKSP~1\MINI_P~1\code.c:406: undefined reference to `MiApp_ProtocolInit'
obj/code.o(.text+0x78a):c:\WORKSP~1\MINI_P~1\code.c:408: undefined reference to `MiApp_SetChannel'
obj/code.o(.text+0x7a2):c:\WORKSP~1\MINI_P~1\code.c:411: undefined reference to `PrintDec'
obj/code.o(.text+0x7b8):c:\WORKSP~1\MINI_P~1\code.c:426: undefined reference to `MiApp_ConnectionMode'
obj/code.o(.text+0x7e6):c:\WORKSP~1\MINI_P~1\code.c:458: undefined reference to `DumpConnection'
make: *** [pic30.cof] Error 1
Sergi