WIZnet Developer Forum

io6Library error

Hello,

I am trying to use the io6Library with the WIZ610io and a PIC24 in MPLAB X IDE but get following error:

io6Library-master/Internet/DHCP6/dhcpv6.c:177:10: error: ‘size’ redeclared as different kind of symbol

I haven’t changed anything in the files, I only added the functions in wizchip_conf.c as described on the github page.

Can someone please help me to fix this problem?

Thank you.

I managed to fix this error by renaming “size” to “size2”.

Now I have an error saying “error: expected identifier or ‘(’ before ‘.’ token” at the struct _CS in the wizchip_conf.c file.

Found the problem, _CS was defined in another file created by MPLAB X.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.