TCPIP client with RTOS on PIC32 MAXI WEB

Started by ALFREDOSKY, August 01, 2014, 07:55:09 PM

Previous topic - Next topic

ALFREDOSKY

Hi all, i have PIC32 MAXI WEB card, this one came with FreeRTOS, and i want to run TCP socket communication and graphics interface user. I used TCPIP STACK WIZARD from microchip to configure TCPIPConfig.h to achieve GENERIC TCP CLIENT app, but when i compile i got errors related with socket initializer, particular with this part of code:

#define TCP_CONFIGURATION
ROM struct
{
BYTE vSocketPurpose;
BYTE vMemoryMedium;
WORD wTXBufferSize;
WORD wRXBufferSize;
} TCPSocketInitializer[] =
{
{TCP_PURPOSE_GENERIC_TCP_CLIENT, 1, 125, 1200},
                        //TCP_PURPOSE_GENERIC_TCP_CLIENT, TCP_PIC_RAM, 125, 1200},//LINEA DESCOMENTADA ALF

};
#define END_OF_TCP_CONFIGURATION


errors are show below
QuoteCLEAN SUCCESSFUL (total time: 3s)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/MainProgram/MainProgram.X'
make  -f nbproject/Makefile-default.mk dist/default/production/MainProgram.X.production.hex
make[2]: Entering directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/MainProgram/MainProgram.X'
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/taskIO.o.d -o build/default/production/_ext/1472/taskIO.o ../taskIO.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/taskTest.o.d -o build/default/production/_ext/1472/taskTest.o ../taskTest.c
../taskGUI.c:355:6: warning: conflicting types for 'GDDDemoGOLMsgCallback'
../taskGUI.c:348:5: note: previous implicit declaration of 'GDDDemoGOLMsgCallback' was here
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/taskGUI.o.d -o build/default/production/_ext/1472/taskGUI.o ../taskGUI.c
../taskTCPIP.c:212:6: warning: conflicting types for 'GenericTCPClient'
../taskTCPIP.c:124:9: note: previous implicit declaration of 'GenericTCPClient' was here
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/taskTCPIP.o.d -o build/default/production/_ext/1472/taskTCPIP.o ../taskTCPIP.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/taskUSBMouse.o.d -o build/default/production/_ext/1472/taskUSBMouse.o ../taskUSBMouse.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1702484533/usb_function_hid.o.d -o build/default/production/_ext/1702484533/usb_function_hid.o "../../Microchip/USB/HID Device Driver/usb_function_hid.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/713068069/usb_device.o.d -o build/default/production/_ext/713068069/usb_device.o ../../Microchip/USB/usb_device.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/usb_descriptors.o.d -o build/default/production/_ext/1472/usb_descriptors.o ../usb_descriptors.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/150527426/BSP.o.d -o build/default/production/_ext/150527426/BSP.o ../../CommonElements/BSP.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/150527426/smb380_drv.o.d -o build/default/production/_ext/150527426/smb380_drv.o ../../CommonElements/smb380_drv.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/main.o.d -o build/default/production/_ext/1472/main.o ../main.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/150527426/UartComm.o.d -o build/default/production/_ext/150527426/UartComm.o ../../CommonElements/UartComm.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/TaskControls.o.d -o build/default/production/_ext/1472/TaskControls.o ../TaskControls.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/TouchScreen.o.d -o build/default/production/_ext/1472/TouchScreen.o ../TouchScreen.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/Fonts.o.d -o build/default/production/_ext/1472/Fonts.o ../Fonts.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/rtcc.o.d -o build/default/production/_ext/1472/rtcc.o ../rtcc.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/pics.o.d -o build/default/production/_ext/1472/pics.o ../pics.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/CustomHTTPApp.o.d -o build/default/production/_ext/1472/CustomHTTPApp.o ../CustomHTTPApp.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../AdcServer -I../../FreeRTOS -I../../FreeRTOS/Source/include -I../../FreeRTOS/Source/portable/MPLAB/PIC32MX -I../../Microchip/Include "-I../../Microchip/Include/MDD File System" "-I../../TCPIP stack_lib" -I../../SDcard_lib -I../../Graphics_lib -I../../Microchip/Include/USB -MMD -MF build/default/production/_ext/1472/MPFSImg2.o.d -o build/default/production/_ext/1472/MPFSImg2.o ../MPFSImg2.c
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe"   -mprocessor=32MX795F512L  -o dist/default/production/MainProgram.X.production.elf build/default/production/_ext/1472/taskIO.o build/default/production/_ext/1472/taskTest.o build/default/production/_ext/1472/taskGUI.o build/default/production/_ext/1472/taskTCPIP.o build/default/production/_ext/1472/taskUSBMouse.o build/default/production/_ext/1702484533/usb_function_hid.o build/default/production/_ext/713068069/usb_device.o build/default/production/_ext/1472/usb_descriptors.o build/default/production/_ext/150527426/BSP.o build/default/production/_ext/150527426/smb380_drv.o build/default/production/_ext/1472/main.o build/default/production/_ext/150527426/UartComm.o build/default/production/_ext/1472/TaskControls.o build/default/production/_ext/1472/TouchScreen.o build/default/production/_ext/1472/Fonts.o build/default/production/_ext/1472/rtcc.o build/default/production/_ext/1472/pics.o build/default/production/_ext/1472/CustomHTTPApp.o build/default/production/_ext/1472/MPFSImg2.o   ..\..\AdcServer\AdcServer.X\dist\default\production\AdcServer.X.a ..\..\FreeRTOS\FreeRTOS.X\dist\default\production\FreeRTOS.X.a ..\..\Graphics_lib\Graphics_lib.X\dist\default\production\Graphics_lib.X.a ..\..\SDcard_lib\SDcard_lib.X\dist\default\production\SDcard_lib.X.a "..\..\TCPIP stack_lib\TCPIP_lib.X\dist\default\production\TCPIP_lib.X.a"    -Wl,--defsym=__MPLAB_BUILD=1,--defsym=_min_heap_size=65536,-L"C:/Program Files/Microchip/MPLAB C30/lib",-L"..",-Map="dist/default/production/MainProgram.X.production.map"
make[2]: Leaving directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/MainProgram/MainProgram.X'
build/default/production/_ext/1472/main.o:(.rodata+0x0): multiple definition of `TCPSocketInitializer'
build/default/production/_ext/1472/taskTCPIP.o:(.rodata+0x0): first defined here
build/default/production/_ext/1472/CustomHTTPApp.o:(.rodata+0x0): multiple definition of `TCPSocketInitializer'
make[1]: Leaving directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/MainProgram/MainProgram.X'
build/default/production/_ext/1472/taskTCPIP.o:(.rodata+0x0): first defined here
build/default/production/_ext/1472/MPFSImg2.o:(.rodata+0x0): multiple definition of `TCPSocketInitializer'
build/default/production/_ext/1472/taskTCPIP.o:(.rodata+0x0): first defined here
..\..\TCPIP stack_lib\TCPIP_lib.X\dist\default\production\TCPIP_lib.X.a(TCP.o):(.rodata+0x0): multiple definition of `TCPSocketInitializer'
build/default/production/_ext/1472/taskTCPIP.o:(.rodata+0x0): first defined here
c:/program files (x86)/microchip/mplabc32/v2.02/bin/../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/bin/ld.exe: Link terminated due to previous error(s).
collect2: ld returned 1 exit status
make[2]: *** [dist/default/production/MainProgram.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

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

but TCPSocketInitializer isnĀ“t declared twice or more, i do not understand it.

Also TCP_PIC_RAM is mising, this one is declared in TCPIP.h, but for some reason, the compiler do not recognize it, if anybody could help me, it would be great!  :P

Stanimir5F

Sorry for the 2 weeks delay but our company was in vacation.

As long as I see you are trying to compile it with 2.02v of C compiler. The demo on our website is compiled with XC 1.21. So my suggestion is to try again with XC 1.21.

Stan, Olimex
May the Source be with You!

ALFREDOSKY

#2
Hi Stanimir5F, thanks for reply, i tried your suggestion but i still have the same problem; seeking to solve the problem, rebuilt TCPIP_lib.x and got one error and many warnings:
LEAN SUCCESSFUL (total time: 302ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
make  -f nbproject/Makefile-default.mk dist/default/production/TCPIP_lib.X.a
make[2]: Entering directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
"C:\Program Files (x86)\Microchip\xc32\v1.30\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WF_Eint.o.d -o build/default/production/_ext/1614191091/WF_Eint.o "../../Microchip/TCPIP Stack/WiFi/WF_Eint.c"
In file included from ../../Microchip/Include/TCPIP Stack/TCPIP.h:86:0,
                 from ../../Microchip/TCPIP Stack/WiFi/WF_pbkdf2.c:26:
../TCPIPConfig.h:484:3: error: expected identifier or '(' before '}' token
../TCPIPConfig.h:484:5: warning: data definition has no type or storage class
../TCPIPConfig.h:491:25: warning: braces around scalar initializer
../TCPIPConfig.h:491:25: warning: (near initialization for 'TCPSocketInitializer[0]')
../TCPIPConfig.h:491:25: warning: excess elements in scalar initializer
../TCPIPConfig.h:491:25: warning: (near initialization for 'TCPSocketInitializer[0]')
../TCPIPConfig.h:491:25: warning: excess elements in scalar initializer
../TCPIPConfig.h:491:25: warning: (near initialization for 'TCPSocketInitializer[0]')
../TCPIPConfig.h:491:25: warning: excess elements in scalar initializer
../TCPIPConfig.h:491:25: warning: (near initialization for 'TCPSocketInitializer[0]')
../TCPIPConfig.h:492:4: warning: braces around scalar initializer
../TCPIPConfig.h:492:4: warning: (near initialization for 'TCPSocketInitializer[1]')
../TCPIPConfig.h:492:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:492:4: warning: (near initialization for 'TCPSocketInitializer[1]')
../TCPIPConfig.h:492:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:492:4: warning: (near initialization for 'TCPSocketInitializer[1]')
../TCPIPConfig.h:492:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:492:4: warning: (near initialization for 'TCPSocketInitializer[1]')
../TCPIPConfig.h:507:4: warning: braces around scalar initializer
../TCPIPConfig.h:507:4: warning: (near initialization for 'TCPSocketInitializer[2]')
../TCPIPConfig.h:507:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:507:4: warning: (near initialization for 'TCPSocketInitializer[2]')
../TCPIPConfig.h:507:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:507:4: warning: (near initialization for 'TCPSocketInitializer[2]')
../TCPIPConfig.h:507:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:507:4: warning: (near initialization for 'TCPSocketInitializer[2]')
../TCPIPConfig.h:508:4: warning: braces around scalar initializer
../TCPIPConfig.h:508:4: warning: (near initialization for 'TCPSocketInitializer[3]')
../TCPIPConfig.h:508:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:508:4: warning: (near initialization for 'TCPSocketInitializer[3]')
../TCPIPConfig.h:508:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:508:4: warning: (near initialization for 'TCPSocketInitializer[3]')
../TCPIPConfig.h:508:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:508:4: warning: (near initialization for 'TCPSocketInitializer[3]')
../TCPIPConfig.h:509:4: warning: braces around scalar initializer
../TCPIPConfig.h:509:4: warning: (near initialization for 'TCPSocketInitializer[4]')
../TCPIPConfig.h:509:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:509:4: warning: (near initialization for 'TCPSocketInitializer[4]')
../TCPIPConfig.h:509:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:509:4: warning: (near initialization for 'TCPSocketInitializer[4]')
../TCPIPConfig.h:509:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:509:4: warning: (near initialization for 'TCPSocketInitializer[4]')
../TCPIPConfig.h:510:4: warning: braces around scalar initializer
../TCPIPConfig.h:510:4: warning: (near initialization for 'TCPSocketInitializer[5]')
../TCPIPConfig.h:510:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:510:4: warning: (near initialization for 'TCPSocketInitializer[5]')
../TCPIPConfig.h:510:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:510:4: warning: (near initialization for 'TCPSocketInitializer[5]')
../TCPIPConfig.h:510:4: warning: excess elements in scalar initializer
../TCPIPConfig.h:510:4: warning: (near initialization for 'TCPSocketInitializer[5]')
make[2]: *** [build/default/production/_ext/1614191091/WF_pbkdf2.o] Error 1
"C:\Program Files (x86)\Microchip\xc32\v1.30\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WF_pbkdf2.o.d -o build/default/production/_ext/1614191091/WF_pbkdf2.o "../../Microchip/TCPIP Stack/WiFi/WF_pbkdf2.c"
make[2]: Leaving directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
make[1]: Leaving directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

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


the TCPIPConfig.h it seems never use resources define in TCP.h header. I configure sockets like:

#if defined(__TCP_C)
#define TCP_CONFIGURATION ROM struct{
BYTE vSocketPurpose;
BYTE vMemoryMedium;
WORD wTXBufferSize;
WORD wRXBufferSize;
} TCPSocketInitializer[] =
{
{TCP_PURPOSE_GENERIC_TCP_CLIENT, TCP_PIC_RAM, 125, 1200},
{TCP_PURPOSE_GENERIC_TCP_SERVER, TCP_PIC_RAM, 20, 20},
{TCP_PURPOSE_HTTP_SERVER, TCP_PIC_RAM, 1500, 1500},
{TCP_PURPOSE_HTTP_SERVER, TCP_PIC_RAM, 1500, 1500},
{TCP_PURPOSE_HTTP_SERVER, TCP_PIC_RAM, 1500, 1500},
{TCP_PURPOSE_DEFAULT, TCP_PIC_RAM, 1000, 1000},
};
#define END_OF_TCP_CONFIGURATION
#endif


but the struct block never execute, __TCP_C is define in TCP.c; i forced to execute the block, commenting the lines:
#if defined(__TCP_C)
and
#endif

as can you see, i'm very confuse  :-\

JohnS

#3
Looks like you use 1.30 instead of 1.21

Microchip habitually make changes that make it very hard to do things that should be easy.

I now avoid all their tools and use gcc (which they build theirs from) instead.  Problems solved...

John

ALFREDOSKY

an error syntax corrected, then got these errors shown below:


CLEAN SUCCESSFUL (total time: 250ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
make  -f nbproject/Makefile-default.mk dist/default/production/TCPIP_lib.X.a
make[2]: Entering directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WF_Eint.o.d -o build/default/production/_ext/1614191091/WF_Eint.o "../../Microchip/TCPIP Stack/WiFi/WF_Eint.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WF_pbkdf2.o.d -o build/default/production/_ext/1614191091/WF_pbkdf2.o "../../Microchip/TCPIP Stack/WiFi/WF_pbkdf2.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WF_Spi.o.d -o build/default/production/_ext/1614191091/WF_Spi.o "../../Microchip/TCPIP Stack/WiFi/WF_Spi.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConnectionAlgorithm.o.d -o build/default/production/_ext/1614191091/WFConnectionAlgorithm.o "../../Microchip/TCPIP Stack/WiFi/WFConnectionAlgorithm.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConnectionManager.o.d -o build/default/production/_ext/1614191091/WFConnectionManager.o "../../Microchip/TCPIP Stack/WiFi/WFConnectionManager.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConnectionProfile.o.d -o build/default/production/_ext/1614191091/WFConnectionProfile.o "../../Microchip/TCPIP Stack/WiFi/WFConnectionProfile.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsole.o.d -o build/default/production/_ext/1614191091/WFConsole.o "../../Microchip/TCPIP Stack/WiFi/WFConsole.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleIfconfig.o.d -o build/default/production/_ext/1614191091/WFConsoleIfconfig.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleIfconfig.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleIwconfig.o.d -o build/default/production/_ext/1614191091/WFConsoleIwconfig.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleIwconfig.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleIwpriv.o.d -o build/default/production/_ext/1614191091/WFConsoleIwpriv.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleIwpriv.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleMsgHandler.o.d -o build/default/production/_ext/1614191091/WFConsoleMsgHandler.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleMsgHandler.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleMsgs.o.d -o build/default/production/_ext/1614191091/WFConsoleMsgs.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleMsgs.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDataTxRx.o.d -o build/default/production/_ext/1614191091/WFDataTxRx.o "../../Microchip/TCPIP Stack/WiFi/WFDataTxRx.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDebugStrings.o.d -o build/default/production/_ext/1614191091/WFDebugStrings.o "../../Microchip/TCPIP Stack/WiFi/WFDebugStrings.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDriverCom.o.d -o build/default/production/_ext/1614191091/WFDriverCom.o "../../Microchip/TCPIP Stack/WiFi/WFDriverCom.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDriverCom_24G.o.d -o build/default/production/_ext/1614191091/WFDriverCom_24G.o "../../Microchip/TCPIP Stack/WiFi/WFDriverCom_24G.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDriverRaw.o.d -o build/default/production/_ext/1614191091/WFDriverRaw.o "../../Microchip/TCPIP Stack/WiFi/WFDriverRaw.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDriverRaw_24G.o.d -o build/default/production/_ext/1614191091/WFDriverRaw_24G.o "../../Microchip/TCPIP Stack/WiFi/WFDriverRaw_24G.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFEasyConfig.o.d -o build/default/production/_ext/1614191091/WFEasyConfig.o "../../Microchip/TCPIP Stack/WiFi/WFEasyConfig.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFEventHandler.o.d -o build/default/production/_ext/1614191091/WFEventHandler.o "../../Microchip/TCPIP Stack/WiFi/WFEventHandler.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFInit.o.d -o build/default/production/_ext/1614191091/WFInit.o "../../Microchip/TCPIP Stack/WiFi/WFInit.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMac.o.d -o build/default/production/_ext/1614191091/WFMac.o "../../Microchip/TCPIP Stack/WiFi/WFMac.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMac_24G.o.d -o build/default/production/_ext/1614191091/WFMac_24G.o "../../Microchip/TCPIP Stack/WiFi/WFMac_24G.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMgmtMsg.o.d -o build/default/production/_ext/1614191091/WFMgmtMsg.o "../../Microchip/TCPIP Stack/WiFi/WFMgmtMsg.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMgmtMsg_24G.o.d -o build/default/production/_ext/1614191091/WFMgmtMsg_24G.o "../../Microchip/TCPIP Stack/WiFi/WFMgmtMsg_24G.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMgmtMsgTest.o.d -o build/default/production/_ext/1614191091/WFMgmtMsgTest.o "../../Microchip/TCPIP Stack/WiFi/WFMgmtMsgTest.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFParamMsg.o.d -o build/default/production/_ext/1614191091/WFParamMsg.o "../../Microchip/TCPIP Stack/WiFi/WFParamMsg.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFParamMsg_24G.o.d -o build/default/production/_ext/1614191091/WFParamMsg_24G.o "../../Microchip/TCPIP Stack/WiFi/WFParamMsg_24G.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFPowerSave.o.d -o build/default/production/_ext/1614191091/WFPowerSave.o "../../Microchip/TCPIP Stack/WiFi/WFPowerSave.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFScan.o.d -o build/default/production/_ext/1614191091/WFScan.o "../../Microchip/TCPIP Stack/WiFi/WFScan.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFTxPower.o.d -o build/default/production/_ext/1614191091/WFTxPower.o "../../Microchip/TCPIP Stack/WiFi/WFTxPower.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/UDPPerformanceTest.o.d -o build/default/production/_ext/1295770447/UDPPerformanceTest.o "../../Microchip/TCPIP Stack/UDPPerformanceTest.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/Announce.o.d -o build/default/production/_ext/1295770447/Announce.o "../../Microchip/TCPIP Stack/Announce.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/ARCFOUR.o.d -o build/default/production/_ext/1295770447/ARCFOUR.o "../../Microchip/TCPIP Stack/ARCFOUR.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/ARP.o.d -o build/default/production/_ext/1295770447/ARP.o "../../Microchip/TCPIP Stack/ARP.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/AutoIP.o.d -o build/default/production/_ext/1295770447/AutoIP.o "../../Microchip/TCPIP Stack/AutoIP.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/BerkeleyAPI.o.d -o build/default/production/_ext/1295770447/BerkeleyAPI.o "../../Microchip/TCPIP Stack/BerkeleyAPI.c"
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/BigInt.o.d -o build/default/production/_ext/1295770447/BigInt.o "../../Microchip/TCPIP Stack/BigInt.c"
../TCPIPConfig.h: Assembler messages:
"C:\Program Files (x86)\Microchip\mplabc32\v2.02\bin\pic32-gcc.exe" -c -mprocessor=32MX795F512L -I.. -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/BigInt_helper_C32.o.d -o build/default/production/_ext/1295770447/BigInt_helper_C32.o "../../Microchip/TCPIP Stack/BigInt_helper_C32.S" -Wa,--defsym=__MPLAB_BUILD=1,-MD=build/default/production/_ext/1295770447/BigInt_helper_C32.o.asm.d,--gdwarf-2 -gdwarf-2
../TCPIPConfig.h:480: Error: unrecognized opcode `rom struct{'
make[2]: Leaving directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
../TCPIPConfig.h:481: Error: unrecognized opcode `byte vSocketPurpose'
make[1]: Leaving directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
../TCPIPConfig.h:482: Error: unrecognized opcode `byte vMemoryMedium'
../TCPIPConfig.h:483: Error: unrecognized opcode `word wTXBufferSize'
../TCPIPConfig.h:484: Error: unrecognized opcode `word wRXBufferSize'
../TCPIPConfig.h:485: Error: junk at end of line, first unrecognized character is `}'
../TCPIPConfig.h:486: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:492: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:493: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:508: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:509: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:510: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:511: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:514: Error: junk at end of line, first unrecognized character is `}'
make[2]: *** [build/default/production/_ext/1295770447/BigInt_helper_C32.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

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

ALFREDOSKY

#5
 HI JohnS, with older version the problem is solved? really? i will try it, thanks for your help  ;D

ALFREDOSKY

I used XC32 v1.21 and i got the same error

CLEAN SUCCESSFUL (total time: 1s)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
make  -f nbproject/Makefile-default.mk dist/default/production/TCPIP_lib.X.a
make[2]: Entering directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WF_Eint.o.d -o build/default/production/_ext/1614191091/WF_Eint.o "../../Microchip/TCPIP Stack/WiFi/WF_Eint.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WF_pbkdf2.o.d -o build/default/production/_ext/1614191091/WF_pbkdf2.o "../../Microchip/TCPIP Stack/WiFi/WF_pbkdf2.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WF_Spi.o.d -o build/default/production/_ext/1614191091/WF_Spi.o "../../Microchip/TCPIP Stack/WiFi/WF_Spi.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConnectionAlgorithm.o.d -o build/default/production/_ext/1614191091/WFConnectionAlgorithm.o "../../Microchip/TCPIP Stack/WiFi/WFConnectionAlgorithm.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConnectionManager.o.d -o build/default/production/_ext/1614191091/WFConnectionManager.o "../../Microchip/TCPIP Stack/WiFi/WFConnectionManager.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConnectionProfile.o.d -o build/default/production/_ext/1614191091/WFConnectionProfile.o "../../Microchip/TCPIP Stack/WiFi/WFConnectionProfile.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsole.o.d -o build/default/production/_ext/1614191091/WFConsole.o "../../Microchip/TCPIP Stack/WiFi/WFConsole.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleIfconfig.o.d -o build/default/production/_ext/1614191091/WFConsoleIfconfig.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleIfconfig.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleIwconfig.o.d -o build/default/production/_ext/1614191091/WFConsoleIwconfig.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleIwconfig.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleIwpriv.o.d -o build/default/production/_ext/1614191091/WFConsoleIwpriv.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleIwpriv.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleMsgHandler.o.d -o build/default/production/_ext/1614191091/WFConsoleMsgHandler.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleMsgHandler.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFConsoleMsgs.o.d -o build/default/production/_ext/1614191091/WFConsoleMsgs.o "../../Microchip/TCPIP Stack/WiFi/WFConsoleMsgs.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDataTxRx.o.d -o build/default/production/_ext/1614191091/WFDataTxRx.o "../../Microchip/TCPIP Stack/WiFi/WFDataTxRx.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDebugStrings.o.d -o build/default/production/_ext/1614191091/WFDebugStrings.o "../../Microchip/TCPIP Stack/WiFi/WFDebugStrings.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDriverCom.o.d -o build/default/production/_ext/1614191091/WFDriverCom.o "../../Microchip/TCPIP Stack/WiFi/WFDriverCom.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDriverCom_24G.o.d -o build/default/production/_ext/1614191091/WFDriverCom_24G.o "../../Microchip/TCPIP Stack/WiFi/WFDriverCom_24G.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDriverRaw.o.d -o build/default/production/_ext/1614191091/WFDriverRaw.o "../../Microchip/TCPIP Stack/WiFi/WFDriverRaw.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFDriverRaw_24G.o.d -o build/default/production/_ext/1614191091/WFDriverRaw_24G.o "../../Microchip/TCPIP Stack/WiFi/WFDriverRaw_24G.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFEasyConfig.o.d -o build/default/production/_ext/1614191091/WFEasyConfig.o "../../Microchip/TCPIP Stack/WiFi/WFEasyConfig.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFEventHandler.o.d -o build/default/production/_ext/1614191091/WFEventHandler.o "../../Microchip/TCPIP Stack/WiFi/WFEventHandler.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFInit.o.d -o build/default/production/_ext/1614191091/WFInit.o "../../Microchip/TCPIP Stack/WiFi/WFInit.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMac.o.d -o build/default/production/_ext/1614191091/WFMac.o "../../Microchip/TCPIP Stack/WiFi/WFMac.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMac_24G.o.d -o build/default/production/_ext/1614191091/WFMac_24G.o "../../Microchip/TCPIP Stack/WiFi/WFMac_24G.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMgmtMsg.o.d -o build/default/production/_ext/1614191091/WFMgmtMsg.o "../../Microchip/TCPIP Stack/WiFi/WFMgmtMsg.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMgmtMsg_24G.o.d -o build/default/production/_ext/1614191091/WFMgmtMsg_24G.o "../../Microchip/TCPIP Stack/WiFi/WFMgmtMsg_24G.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFMgmtMsgTest.o.d -o build/default/production/_ext/1614191091/WFMgmtMsgTest.o "../../Microchip/TCPIP Stack/WiFi/WFMgmtMsgTest.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFParamMsg.o.d -o build/default/production/_ext/1614191091/WFParamMsg.o "../../Microchip/TCPIP Stack/WiFi/WFParamMsg.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFParamMsg_24G.o.d -o build/default/production/_ext/1614191091/WFParamMsg_24G.o "../../Microchip/TCPIP Stack/WiFi/WFParamMsg_24G.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFPowerSave.o.d -o build/default/production/_ext/1614191091/WFPowerSave.o "../../Microchip/TCPIP Stack/WiFi/WFPowerSave.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFScan.o.d -o build/default/production/_ext/1614191091/WFScan.o "../../Microchip/TCPIP Stack/WiFi/WFScan.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1614191091/WFTxPower.o.d -o build/default/production/_ext/1614191091/WFTxPower.o "../../Microchip/TCPIP Stack/WiFi/WFTxPower.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/UDPPerformanceTest.o.d -o build/default/production/_ext/1295770447/UDPPerformanceTest.o "../../Microchip/TCPIP Stack/UDPPerformanceTest.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/Announce.o.d -o build/default/production/_ext/1295770447/Announce.o "../../Microchip/TCPIP Stack/Announce.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/ARCFOUR.o.d -o build/default/production/_ext/1295770447/ARCFOUR.o "../../Microchip/TCPIP Stack/ARCFOUR.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/ARP.o.d -o build/default/production/_ext/1295770447/ARP.o "../../Microchip/TCPIP Stack/ARP.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/AutoIP.o.d -o build/default/production/_ext/1295770447/AutoIP.o "../../Microchip/TCPIP Stack/AutoIP.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/BerkeleyAPI.o.d -o build/default/production/_ext/1295770447/BerkeleyAPI.o "../../Microchip/TCPIP Stack/BerkeleyAPI.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/BigInt.o.d -o build/default/production/_ext/1295770447/BigInt.o "../../Microchip/TCPIP Stack/BigInt.c"
"C:\Program Files (x86)\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -c -mprocessor=32MX795F512L -I.. -I.. -I../../CommonElements -I../../MainProgram -I../../Microchip/Include "-I../../Microchip/Include/TCPIP Stack" -MMD -MF build/default/production/_ext/1295770447/BigInt_helper_C32.o.d -o build/default/production/_ext/1295770447/BigInt_helper_C32.o "../../Microchip/TCPIP Stack/BigInt_helper_C32.S" -Wa,--defsym=__MPLAB_BUILD=1,-MD=build/default/production/_ext/1295770447/BigInt_helper_C32.o.asm.d,--gdwarf-2 -gdwarf-2
../TCPIPConfig.h: Assembler messages:
make[2]: Leaving directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
make[1]: Leaving directory `C:/Users/D2/Downloads/DemoSoft_PIC32-MAXI-WEB_v1_03/DemoSoft PIC32-MAXI-WEB v1.03/TCPIP stack_lib/TCPIP_lib.X'
../TCPIPConfig.h:480: Error: unrecognized opcode `rom struct{'
../TCPIPConfig.h:481: Error: unrecognized opcode `byte vSocketPurpose'
../TCPIPConfig.h:482: Error: unrecognized opcode `byte vMemoryMedium'
../TCPIPConfig.h:483: Error: unrecognized opcode `word wTXBufferSize'
../TCPIPConfig.h:484: Error: unrecognized opcode `word wRXBufferSize'
../TCPIPConfig.h:485: Error: junk at end of line, first unrecognized character is `}'
../TCPIPConfig.h:486: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:492: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:493: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:508: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:509: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:510: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:511: Error: junk at end of line, first unrecognized character is `{'
../TCPIPConfig.h:514: Error: junk at end of line, first unrecognized character is `}'
make[2]: *** [build/default/production/_ext/1295770447/BigInt_helper_C32.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

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


Does anyone has encountered a similar problem? or have any suggestions?

JohnS

Have you changed any line(s) of code?  Anything at all?

Chances are that is where your trouble is.

John

ALFREDOSKY


JohnS

There's your error, then, don't you think?

John

ALFREDOSKY

You right JohnS, it was my mistake; I redefined my TCPIPConfig.h and have no problems with 'struct', thanks for all your suggestions  8)

JohnS